Manage Invoice
Overview
As a Merchant, you can manage your invoices by fetching lists and getting detailed information.
List Invoice
Request :
Endpoint : /v1/invoices
HTTP Method : GET
Header :
Authorization: Basic ENCODED_KEY
ENCODED_KEY
value is result of Base64Encode("apiKey"+":"+"secretKey"
)
Params :
page
: Current Page (Default : 1 )
perPage
: Limit on Per Page (Default : 10)
Response :
Sample Success Response :
HTTP Status Code : 200
Response JSON Details :
Property | Description |
---|---|
| Invoice ID |
| Reference ID |
| A type of invoice between |
| Unique identifier for your invoice |
| Expired date of invoice |
| Customer email |
| Payment Currency |
| Amount Invoice in fiat (IDR, USD) |
| Amount Invoice in Crypto |
| Date invoice created |
| status of invoice |
Detail Invoice
Request :
Endpoint : /v1/invoices/:id
HTTP Method : GET
Header :
Authorization: Basic ENCODED_KEY
ENCODED_KEY
value is result of Base64Encode("apiKey"+":"+"secretKey"
)
Response :
Sample Success Response :
HTTP Status Code : 200
Response JSON Body Details :
Property | Description |
---|---|
| Invoice ID |
| Reference ID |
| Type indicates source of invoice created |
| Unique Identifier for your invoice |
| invoice example description |
| Expired date of invoice |
| Next date of amount updated, it can be |
| Customer's email |
| Payment Currency (Ex: ETH, TRX, zUSD, etc) |
| Checkout Page URL |
| Customer's phone number |
| Merchant's Base Currency (Ex: IDR, USD) |
| Amount Invoice in Crypto |
| Merchant's Payment Method |
| Fee of Invoice |
| Date of invoice is paid by customer it can be nullable if invoice is not already paid |
| Date of invoice already in merchant's balance it can be nullable if invoice is not already in balance |
| Date of invoice created |
| Amount Invoice in Fiat |
| Date of invoice last updated |
| Status of invoice |
| QR Code Payload |
| Detail of |
| Detail of payment address |
Last updated