curl --location --request POST 'https://dev-api.inwantaiwan.com/api/apps/v1/order/confirmation' \
--header 'Content-Type: application/json' \
--data-raw '{
"voucher_id": "number",
"use_point": "boolean",
"products": [
{
"variant_id": "number",
"quantity": "number"
}
],
"address_id": "number",
"payment_method_id": "string"
}'
{
"data": {
"product_total": 0,
"delivery_fee": 0,
"service_fee": 0,
"discount": [
{
"type": "string",
"amount": 0
}
],
"grand_total": 0,
"voucher": {
"error": "string",
"id": 0,
"name": "string",
"code": "string"
},
"order_error": "string",
"grand_total_rupiah": "string"
}
}