Create Order
Create Order with the given data. The order will be created with a draft status.
post/v1/orders
Request
- Base URLhttps://api.hit-pay.com
- URLhttps://api.hit-pay.com/v1/orders
- Authnone declared. Required headers: X-BUSINESS-API-KEY
Headers
X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d
Request body
Example request
{
"amount": 100,
"currency": "sgd",
"remark": "Order Remark HitPay",
"location_id": "9ae46141-c930-4613-b5a0-241206b9c215",
"customer_id": "9ae46141-c930-4613-b5a0-241206b9c215",
"customer_pickup": true,
"channel": "point_of_sale",
"business_user_id": "34",
"discount_reason": "Discount Reason",
"discount_amount": 10,
"version": "1.0"
}Response
201
Changes
No recorded changes to this operation across all 8 revisions of this API.