Authorization: Bearer ********************
{
"debit_bank": "MF1-0001",
"debit_account": "0000000016-01",
"amount": 600,
"description": "Payment merchant",
"merchant_description": "Payment from client 001 752000",
"merchant_reference": "752001",
"redirect_uri": "https://myredirecturi.com/payments",
"payment_product_id": null,
"pin_code": "1234"
}
curl --location --request POST 'http://127.0.0.1:8081/api/v2/payments/bill-init/' \
--header 'Content-Type: application/json' \
--data-raw '{
"debit_bank": "MF1-0001",
"debit_account": "0000000016-01",
"amount": 600,
"description": "Payment merchant",
"merchant_description": "Payment from client 001 752000",
"merchant_reference": "752001",
"redirect_uri": "https://myredirecturi.com/payments",
"payment_product_id": null,
"pin_code": "1234"
}'
{
"response_code": "00",
"response_data": {
"code": "CODE-20230321-9E29QH1",
"reference": null
},
"response_message": "Payment bill successfully created. The client has to validate it to complete the payment. Code : CODE-20230321-9E29QH1",
"success": true
}