Open Dimi7 opened 4 years ago
found the actual working sample in the API reference
{
"payment_type": "echannel",
"transaction_details": {
"order_id": "1388",
"gross_amount": 95000
},
"item_details": [
{
"id": "a1",
"price": 50000,
"quantity": 2,
"name": "Apel"
},
{
"id": "a2",
"price": 45000,
"quantity": 1,
"name": "Jeruk"
}
],
"echannel" : {
"bill_info1" : "Payment For:",
"bill_info2" : "debt"
}
}
Hi @Dimi7 thanks for reporting, looks like the sample JSON param is incomplete/invalid. We'll fix it soon.
found the actual working sample in the API reference
{ "payment_type": "echannel", "transaction_details": { "order_id": "1388", "gross_amount": 95000 }, "item_details": [ { "id": "a1", "price": 50000, "quantity": 2, "name": "Apel" }, { "id": "a2", "price": 45000, "quantity": 1, "name": "Jeruk" } ], "echannel" : { "bill_info1" : "Payment For:", "bill_info2" : "debt" } }
You safe my life
the current documentation sample for calling Charge API Request, in the Mandiri tab:
returns the following response:
perhaps the post body requires "echannel" parameter ?