Yapper Docs
Api reference
GET
/billing/receipts

Owner or admin API keys only. Supports billing history after cancellation. Amounts are in the currency's minor unit. A short page can still have a nextCursor.

Authorization

bearerAuth billing:read
AuthorizationBearer <token>

In: header

Scope: billing:read

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
cursor?string

Opaque pagination cursor — pass the nextCursor from the previous page verbatim. nextCursor is null on the last page.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/billing/receipts"
{  "data": [    {      "id": "string",      "currency": "string",      "amountPaid": 0,      "createdAt": "2019-08-24T14:15:22Z",      "amountRefunded": 0,      "receiptUrl": "http://example.com"    }  ],  "nextCursor": "string"}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}