Skip to content
Guides
Payments & FinanceBilling
billing:read

List billing history

Lists paid billing checkout sessions for the current organization, newest first.

GET/v1/billing/current/history

Lists paid billing checkout sessions for the current organization, newest first.

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Query Parameters

limit?integer

Maximum number of results to return.

Formatint32
cursor?string

Opaque cursor from the previous response. Omit it on the first page.

search?string

Free-text filter. Which fields it covers depends on the resource.

sortBy?string

Field to sort by. Accepted values depend on the resource.

sortDirection?string

Sort direction: asc or desc.

Value in

  • "asc"
  • "desc"

Header Parameters

Authorization*string

OAuth 2.0 bearer token.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/billing/current/history" \  -H "Authorization: Bearer <token>"
{  "data": [    {      "id": "7204558912004325301",      "kind": "planPurchase",      "description": "Example description.",      "amount": 1,      "currencyCode": "PEN",      "status": "pending",      "paymentProvider": "example",      "createdOn": "2026-08-01T15:30:00Z",      "paidOn": "2026-08-01T15:30:00Z",      "providerPaymentId": "7204558912004325301",      "receiptUrl": "https://example.com/resource"    }  ],  "hasNextPage": false,  "nextCursor": "example",  "totalCount": 1}