Last updated 29 days ago
POST /v1/order
POST
/v1/order
Create an order with the amount and product code.
Headers
Body
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" }
{ "error": "Invalid request" }
Content-Type
application/json
Authorization
Bearer <idToken>
amount
number
Amount of the order
Yes
productCode
string
Product Code