{
"additionalInfo": {
"channel": "EMONEY_OVO_SNAP"
},
"originalPartnerReferenceNo": "INV-0001",
"originalExternalId": "REQ-0001",
"refundAmount": {
"value": "10000.00",
"currency": "IDR"
},
"reason": "Request by Customer",
"partnerRefundNo": "INV-REF-0001"
}
curl --location --request POST '/direct-debit/core/v1/debit/refund' \
--header 'X-TIMESTAMP;' \
--header 'X-SIGNATURE;' \
--header 'X-PARTNER-ID;' \
--header 'X-EXTERNAL-ID;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"additionalInfo": {
"channel": "EMONEY_OVO_SNAP"
},
"originalPartnerReferenceNo": "INV-0001",
"originalExternalId": "REQ-0001",
"refundAmount": {
"value": "10000.00",
"currency": "IDR"
},
"reason": "Request by Customer",
"partnerRefundNo": "INV-REF-0001"
}'
{
"responseCode": "2000700",
"responseMessage": "Successfull",
"refundAmount": {
"value": "10000.00",
"currency": "IDR"
},
"originalPartnerReferenceNo": "Ra7o1bLJAh2oV9eb33129stQc5xFm5s7",
"originalReferenceNo": "Ra7o1bLJAh2oV9eb33129stQc5xFm5s7",
"refundNo": "Ra7o1bLJAh2oV9eb33129stQc5xFm5s7",
"partnerRefundNo": "Ra7o1bLJAh2oV9eb33129stQc5xFm5s7",
"refundTime": "2024-01-01T09:09:00.123"
}