curl --location --request POST 'https://dev-api.inwantaiwan.com/api/apps/v2/digital-order/prepaid/confirmation' \
--header 'x-os-type;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"customer_id": "12345678901",
"product_code": "haxis10000",
"voucher_id": null,
"use_point": false,
"payment_method_id": "ecpay",
"ecpay_cvs_code": "IBON"
}'{
"data": {
"product_name": "Pulsa AXIS",
"product_icon": null,
"category_name": "Telecommunication",
"product_item_meta": {
"product_code": "haxis10000",
"product_description": "AXIS",
"product_nominal": "10000",
"product_details": "-",
"product_price": 11000,
"product_type": "pulsa",
"active_period": "15",
"status": "active",
"icon_url": "https://cdn.mobilepulsa.net/img/logo/pulsa/small/axis.png",
"product_category": "pulsa"
},
"customer_data": {
"customer_id": "12345678901"
},
"price": 22,
"admin_fee": 35,
"voucher_discount": 0,
"voucher": {
"error": "The voucher has reached its usage quota.",
"id": 39,
"name": "nye nye nye",
"code": "KODEGRATIS2"
},
"total_payment": 57
}
}