curl --location --request POST '/4a1804fc-6b77-4b04-9af1-98024d9ca861/winpay' \
--header 'Content-Type: application/json' \
--data-raw '{
"channel": "BSIVA",
"name": "alvinnanda25",
"amount": 22000,
"ref_code": "INV423424234edaq",
"items": [
{
"name": "Topup Saldo",
"sku": "NO",
"qty": 1,
"unit_price": 20000,
"desc": "-"
},
{
"name": "Biaya Layanan",
"sku": "NO",
"qty": 1,
"unit_price": 2000,
"desc": "-"
}
]
}'
{
"data": {
"fee_admin": 0,
"payment_code": "175280980781",
"payment_method": "BSI Virtual Account",
"payment_method_code": "BSIVA",
"payment_status_url": "http://localhost/index.php/payment/guide/INV423424234edaq",
"ref_code": "INV423424234edaq",
"total_amount": 24000
},
"message": "Payment request successful"
}