{
"partnerReferenceNo": "INV-0001",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"additionalInfo": {
"channel": "DIRECT_DEBIT_BRI_SNAP",
"successPaymentUrl": "www.merchant.com/success",
"failedPaymentUrl": "www.merchant.com/failed",
"paymentType": "SALE"
}
}
curl --location --request POST '/direct-debit/core/v1/debit/payment-host-to-host' \
--header 'X-TIMESTAMP;' \
--header 'X-SIGNATURE;' \
--header 'X-PARTNER-ID;' \
--header 'X-EXTERNAL-ID;' \
--header 'Authorization-customer;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"partnerReferenceNo": "INV-0001",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"additionalInfo": {
"channel": "DIRECT_DEBIT_BRI_SNAP",
"successPaymentUrl": "www.merchant.com/success",
"failedPaymentUrl": "www.merchant.com/failed",
"paymentType": "SALE"
}
}'
{
"responseCode": "2005400",
"responseMessage": "Successful",
"webRedirectUrl": "https://app-uat.doku.com/link/283702597342040",
"partnerReferenceNo": "INV-0001"
}