Get Invoice
This API is used to get information about a specific invoice.
POST
https://wallet-api.xaigate.com/api/v1/invoice/info
Parameter content type: application/json
Request Body
Name
Type
Description
apiKey*
String
fdda9f03-6409-43eb-a6ef-e1f6cea71c2e
invoiceNo*
String
INV2167234232
Request Parameter
Parameter
Type
Sample Value
apiKey (required)
String
invoiceNo (required)
String
Example Value
{
"apiKey": "fdda9f03-6409-43eb-a6ef-e1f6cea71c2e",
"invoiceNo": "INV2167234232"
}
Response (200 Ok - https status code)
Response
Type
Sample Value
invoiceNo
String
amount
String
paidAmount
String
toEmail
String
toName
String
expiry
Int
default: 60 mins
description
String
status
String
Pending, Expired, Paid, PaidPartial, Deleted
payUrl
String
https://wallet.xaigate.com/pay/INV2167234232?lang=en
currency
String
USD
shopName
String
orderId
String
createdAt
String
updatedAt
String
Example Value
{
"invoiceNo": "INV2167234232",
"amount": "10",
"paidAmount": "0",
"toEmail": "example@hotmail.com",
"toName": "My Store",
"expiry": 60,
"description": "3 Coffee",
"status": "Paid",
"payUrl": "https://wallet.xaigate.com/pay/INV2167234232?lang=en",
"currency": "USD",
"shopName": "My Store",
"orderId": "10",
"createdAt": "2023-12-07T09:03:07.976520Z",
"updatedAt": "2023-12-07T09:03:07.976523Z"
....
}
Last updated