{
"additionalInfo": {
"channel": "EMONEY_SHOPEE_PAY_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_SHOPEE_PAY_SNAP"
},
"originalPartnerReferenceNo": "INV-0001",
"originalExternalId": "REQ-0001",
"refundAmount": {
"value": "10000.00",
"currency": "IDR"
},
"reason": "Request by Customer",
"partnerRefundNo": "INV-REF-0001"
}'
{
"responseCode": "2000700",
"responseMessage": "Successful",
"refundAmount": {
"value": "10000.00",
"currency": "IDR"
},
"refundTime": "2024-01-01T09:09:00.123",
"additionalInfo": {
"transactionType": 15,
"latestTransactionStatus": "00",
"createTime": "2024-01-01T09:09:00.123"
}
}