CoinPay
Invoices

Get invoice status

Lightweight status for polling.

GET
/v1/invoices/{id}/status

Lightweight status for polling.

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/invoices/497f6eca-6276-4993-bfeb-53cbbbba6f08/status"
{  "status": "CREATED",  "amount": "string",  "amountReceived": "string",  "expiresAt": "2019-08-24T14:15:22Z"}
{  "error": {    "code": "string",    "message": "string"  }}