Create Order
Create a new order
POST
/v1/order
Create an order with the amount and product code.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <idToken>
Body
Name
Type
Description
Required
amount
number
Amount of the order
Yes
productCode
string
Product Code
Yes
Response
{
"statusCode": 201,
"statusMessage": "OK",
"id": "aa3d771b...",
"code": "7B5V...",
"codeFormatted": "7B5V-...",
"amount": 100,
"voucheramount": "90.00",
"createdAt": "2024-10-21T05:58:39.549Z",
"updatedAt": "2024-10-21T05:58:39.549Z",
"status": "Issue"
}
Last updated