logoAccess

List my invoices

GET
/api/v1/customers/portal/me/invoices

List the customer's invoices.

Authorization

portalToken
headerAuthorizationBearer <token>

Portal session token. Obtain via POST /v1/portal/sessions.

Query Parameters

cursor?string

Pagination cursor from the previous response's next_cursor

limit?number

Number of records to return per page (1–100)

Range1 <= value <= 100
Default20
status?string

Filter by invoice status. One of: PENDING, PAID, OVERDUE, VOIDED

Header Parameters

x-api-key*string

API key for authentication

Length1 <= length

Response Body

Response for status 200

application/json
  1. response
data*array<>
has_more*boolean
next_cursor*string|null
curl -X GET 'https://api.tryaccess.xyz/api/v1/customers/portal/me/invoices' \  -H 'x-api-key: string'
{  "data": [    {      "id": "string",      "amount": 0,      "status": "string",      "paid_at": "string",      "due_date": "string",      "currency": "string",      "issued_at": "string",      "created_at": "string",      "payment_method": "string"    }  ],  "has_more": true,  "next_cursor": "string"}

How is this guide?