SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Invoices

Download my invoice

GET/api/v1/invoices/me/download/:id

Returns the invoice's PDF download link.

Requires Authorization
Session

Path parameters

idstringrequired
Must belong to the signed-in seller.
Request
curl --request GET \
  --url https://api.swiftgoma.com/api/v1/invoices/me/download/:id \
  --header 'Authorization: Bearer <access_token>'
200Example response
{
  "success": true,
  "data": {
    "id": "inv_1a2b3c",
    "sellerProfileId": "sp_2b3c4d",
    "number": "SWG-INV-2026-0042",
    "amount": "10.00",
    "currency": "USD",
    "issuedAt": "2026-02-01T09:05:00.000Z",
    "pdfUrl": "https://res.cloudinary.com/dx3wclabo/image/upload/v1/invoices/swg-inv-2026-0042.pdf"
  }
}