Authorization: Bearer ********************
{
"partnerReferenceNo": "CPTS2110240001",
"chargeToken": "9360011100202777889",
"otp": "12345678",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"additionalInfo": {
"channel": "KARTU_KREDIT_INDONESIA",
"customer": {
"customerId": "merchantDoku",
"customerName": "merchantDoku",
"postalCode": 15222
},
"lineItems": [
{
"name": "T-Shirt Red",
"price": "10000.00",
"quantity": 1
}
]
}
}
curl --location --request POST '/direct-debit/core/v1/debit/payment-host-to-host' \
--header 'Content-Type: application/json' \
--data-raw '{
"partnerReferenceNo": "CPTS2110240001",
"chargeToken": "9360011100202777889",
"otp": "12345678",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"additionalInfo": {
"channel": "KARTU_KREDIT_INDONESIA",
"customer": {
"customerId": "merchantDoku",
"customerName": "merchantDoku",
"postalCode": 15222
},
"lineItems": [
{
"name": "T-Shirt Red",
"price": "10000.00",
"quantity": 1
}
]
}
}'
{}