NFT - 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).

Parameter name
Example
Info

id

185

The invoice ID sent through the callback


RESPONSE

Our service will return a JSON object.

For errors
  • 50001 : API-KEY required

  • 50002 : id required

  • 50007 : invalid API-KEY

  • 50010 : No IP is linked to your account. Please enter them in your profile page and API block

  • 50011 : This invoice belongs to another merchant

Example :

{ “errorCode”: 50002, “errorMessage” : “id required” }
On a success response
  • 0

    • "invoice":{"id":"1689","devise":"USD","amount":"4","status":"invoice: created"}

Example :

{
 “errorCode”: 0,
 "invoice":{"id":"1689","devise":"USD","amount":"4","status":"invoice:created"}
}

Last updated