{
"originalPartnerReferenceNo":"2020102900000000000001",
"originalReferenceNo":"2020102977770000000009",
"originalExternalId":"30443786930722726463280097920912",
"serviceCode":"55",
"transactionDate":"2020-12-21T14:56:11+07:00",
"amount":{
"value":"12345678.00",
"currency":"IDR"
},
"merchantId":"23489182303312",
"subMerchantId":"23489182303312",
"externalStoreId":"183908924912387",
"additionalInfo":{
"deviceId":"12345679237",
"channel":"mobilephone"
}
}
curl --location --request POST '' \
--header 'X-TIMESTAMP: 2020-12-21T14:56:11+07:00' \
--header 'X-SIGNATURE: ieNOENDdN4MnectGytx5UvmOfASZ2oGWMCJ8gVqkw3tB98ofgY9cbxSeY4IYoYeoKs+0QP4h8BTBhemlfeXp1w==' \
--header 'X-PARTNER-ID: 82150823919040624621823174737537' \
--header 'X-EXTERNAL-ID: 41807553358950093184162180797837' \
--header 'Authorization: bearer gp9HjjEj813Y9JGoqwOeOPWbnt4CUpvIJbU1mMU4a11MNDZ7Sg5u9a"' \
--header 'Content type: application/ json' \
--header 'Content-Type: application/json' \
--data-raw '{
"originalPartnerReferenceNo":"2020102900000000000001",
"originalReferenceNo":"2020102977770000000009",
"originalExternalId":"30443786930722726463280097920912",
"serviceCode":"55",
"transactionDate":"2020-12-21T14:56:11+07:00",
"amount":{
"value":"12345678.00",
"currency":"IDR"
},
"merchantId":"23489182303312",
"subMerchantId":"23489182303312",
"externalStoreId":"183908924912387",
"additionalInfo":{
"deviceId":"12345679237",
"channel":"mobilephone"
}
}'
{
"responseCode": "2005500",
"responseMessage": "Request has been processed successfully",
"originalPartnerReferenceNo": "2020102900000000000001",
"originalReferenceNo": "2020102977770000000009",
"approvalCode": "201039000200",
"originalExternalId": "30443786930722726463280097920912",
"serviceCode": "55",
"latestTransactionStatus": "00",
"transactionStatusDesc": "success",
"originalResponseCode": "2005500",
"originalResponseMessage": "Request has been processed successfully",
"sessionId": "883737GHY8839",
"requestID": "3763773",
"refundHistory": [
{
"refundNo": "96194816941239812",
"partnerReferenceNo": "239850918204981205970",
"refundAmount": {
"value": "12345678.00",
"currency": "IDR"
},
"refundStatus": "00",
"refundDate": "2020-12-23T07:44:16+07:00",
"reason": "Customer Complain"
},
{
"refundNo": "96194123981251341",
"partnerReferenceNo": "2398509123131981205970",
"refundAmount": {
"value": "112345678.00",
"currency": "IDR"
},
"refundStatus": "00",
"refundDate": "2020-12-23T07:54:16+07:00",
"reason": "Customer Complain"
}
],
"transAmount": {
"value": "112345678.00",
"currency": "IDR"
},
"feeAmount": {
"value": "112345678.00",
"currency": "IDR"
},
"paidTime": "2020-12-21T14:56:11+07:00",
"additionalInfo": {
"deviceId": "12345679237",
"channel": "mobilephone"
}
}