Get an invoice status (GET)
REQUEST
The query is an HTTP GET request where your provided api key will be used as an http header.
API-KEY (Use the api key we’ve sent to you here).
“API-KEY: 0d8d8e89a6cdcd”
Parameter name
Example
Info
id
185
The invoice ID sent through the callback
RESPONSE
Our service will return a JSON object.
Example :
{ “errorCode”: 50002, “errorMessage” : “id required” }Example :
{
“errorCode”: 0,
"invoice":{"id":"1689","devise":"USD","amount":"4","status":"invoice:created"}
}Note: If an invoice remains in the CREATED or OPENED status for more than 14 days, it will automatically transition to the EXPIRED (invoice:expired) status.
Last updated