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"="Wilson",
    "owner": {
        "id": "sha7891bikojbkreuy",
        "name": "Samuel Passet",
    "species": "Dog",}
    "breed": "Golden Retriever",
}

Request Parameter

Example Value

{
  "apiKey": "fdda9f03-6409-43eb-a6ef-e1f6cea71c2e",
  "invoiceNo": "INV2167234232"
}

Response (200 Ok - https status code)

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