Skip to main content
GET
/
api
/
workspace
/
{workspaceId}
/
billing
/
invoices
List invoices
curl --request GET \
  --url https://app.alana.shopping/api/workspace/{workspaceId}/billing/invoices \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "invoice_number": "<string>",
      "date": "2023-11-07T05:31:56Z",
      "amount": 123,
      "status": "paid",
      "pdf_url": "<string>"
    }
  ],
  "pagination": {
    "limit": 123,
    "cursor": "<string>",
    "has_more": true
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>

Path Parameters

workspaceId
string
required

The workspace ID

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 100
cursor
string

Response

Invoices retrieved successfully

data
object[]
pagination
object