{
"partnerReferenceNo": "INV-0001",
"feeType": "OUR",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"payOptionDetails": [
{
"payMethod": "CASH",
"transAmount": {
"value": "10000.00",
"currency": "IDR"
},
"feeAmount": {
"value": "10000.00",
"currency": "IDR"
}
}
],
"additionalInfo": {
"channel": "EMONEY_OVO_SNAP",
"successPaymentUrl": "www.merchant.com/success",
"failedPaymentUrl": "www.merchant.com/failed",
"paymentType": "SALE/RECURRING"
}
}
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",
"feeType": "OUR",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"payOptionDetails": [
{
"payMethod": "CASH",
"transAmount": {
"value": "10000.00",
"currency": "IDR"
},
"feeAmount": {
"value": "10000.00",
"currency": "IDR"
}
}
],
"additionalInfo": {
"channel": "EMONEY_OVO_SNAP",
"successPaymentUrl": "www.merchant.com/success",
"failedPaymentUrl": "www.merchant.com/failed",
"paymentType": "SALE/RECURRING"
}
}'
{
"responseCode": "2005400",
"responseMessage": "Successfull",
"webRedirectUrl": "https://app-uat.doku.com/link/283702597342040",
"partnerReferenceNo": "INV-0001"
}