NFT - Get invoice infos (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.

chevron-rightFor errorshashtag
  • 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” }

chevron-rightOn a success responsehashtag
  • 0 :

    • "merchant_id": "1",

      "invoice_id": "1689",

      "data":

      { "status": "invoice:paid", "id": 1736, "devise": "USD", "amount": 5, "description": "Payment of the invoice has been made successfully", "callbackJson": null, "fiat_amount": 409.71, "fiat_currency": "INR", "totalAmount": 4, “totalCurrency” : “USDC”, "datetime": "2023-04-12 19:09:48" }

Example :


SAMPLE REQUEST CODE

Last updated