Create Zalo Order
DevelopingPOST
/v1/order/checkoutRequest
Body Params application/json
object {0}
Example
{
"userid": "1",
"items": [
{
"itemname": "Hust Musik Premium",
"itemprice": 50000,
"itemquantity": 1
},
{
"itemname": "Merch",
"itemprice": 100000,
"itemquantity": 2
}
]
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
return_code
integer
required
return_message
string
required
sub_return_code
integer
required
sub_return_message
string
required
zp_trans_token
string
required
order_url
string
required
order_token
string
required
qr_code
string
required
app_trans_id
string
required
Example
{
"return_code": 0,
"return_message": "string",
"sub_return_code": 0,
"sub_return_message": "string",
"zp_trans_token": "string",
"order_url": "string",
"order_token": "string",
"qr_code": "string",
"app_trans_id": "string"
}
Last modified: 20 days ago