Create Invoice
This API is used to create orders for customers
POST
https://wallet-api.xaigate.com/api/v1/invoice/create
Parameter content type: application/json
Request Body
Name | Type | Description |
---|---|---|
apiKey* | String | fdda9f03-6409-43eb-a6ef-e1f6cea71c2e |
orderId* | String | 10 |
currency* | Stirng | USD |
amount* | String | 10 |
email* | String | examplate@hotmail.com |
shopName | String | My Store |
notifyUrl | String | http://yourdomain.com/notify-url |
failUrl | String | http://yourdomain.com/fail-url |
successUrl | String | http://yourdomain.com/success-url |
description | String | 3 Coffee |
Request Parameter
Parameter | Type | Sample Value |
apiKey (required) | String | |
orderId (required) | String | |
amount (required) | String | |
currency (required) | String | USD, EUR |
email (required) | String | |
shopName | String | |
description | String | |
successUrl | String | |
failUrl | String | |
notifyUrl | String |
Example Value
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 |
payUrl | String | https://wallet.xaigate.com/pay/INV2167234232?lang=en |
currency | String | USD |
shopName | String | |
orderId | String | |
createdAt | String | |
updatedAt | String |
Example Value
Last updated