CoinPay
Invoices

List invoices

Lists recent invoices for the authenticated merchant (up to 100). API keys only see invoices in their own environment.

GET
/v1/invoices

Lists recent invoices for the authenticated merchant (up to 100). API keys only see invoices in their own environment.

Authorization

bearerAuth
AuthorizationBearer <token>

Merchant API key (test_... or live_...)

In: header

Response Body

application/json

curl -X GET "https://example.com/v1/invoices"
{  "invoices": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "status": "CREATED",      "environment": "test",      "token": "string",      "amount": "string",      "amountReceived": "string",      "referenceId": "string",      "checkoutUrl": "http://example.com",      "expiresAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}