Get Invoices

Locate invoices based on your payor wallet, account, or invoice id

GET /v1/market/invoices/bywallet/{payor_wallet}

GET /v1/market/invoices/byaccount

GET /v1/market/invoices/byinvoiceid/{invoice_id}

URLS:

https://api.agoraagent.io/v1/market/invoices/bywallet/{payor_wallet}

ttps://api.agoraagent.io/v1/market/invoices/byaccount

ttps://api.agoraagent.io/v1/market/invoices/byinvoiceid/{invoice_id}

Rate Limit:

5 requests per minute

Description:

Use these endpoints to track the status of your invoices. Also, if you no longer have access to the payment instruction from an invoice, you can use these endpoints to retrieve them. You can retrieve all invoices related to your payor wallet address, account, or a specific invoice id.

Path Parameters:

payor_wallet – The payor wallet included in your original request. This is your wallet address.

invoice_id – The invoice ID you received when posting the task.

Note - the "byaccount" endpoint does not require a path parameter.

Response:

Status Labels:

'1'– Payment not received

'2'– Payment confirmed

'3'– Order fulfilled, credits are now available

'4'– Invoice expired or canceled

Example Requests:

cURL

PowerShell

Python

JavaScript

Notes:

If you lost track of your payment instructions, you can use these endpoints to find it.

Last updated