Search a refund transaction
POST
/v1/retrievalRefund
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.your-api-server.com/v1/retrievalRefund' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'merchant_id=701001' \
--data-urlencode 'account_id=701001010' \
--data-urlencode 'encryption_data=3fc421f36e1d23db6982aa58779506a3ff17c7dcfa86421719aa69e5e0575168'
Response Response Example
{
"account_id": "701001010",
"refund_orders": [
{
"transaction_id": "1379868670095785984",
"order_no": "1726891254563",
"amount": "10.36",
"refund_status": "1",
"payment_status": "4100",
"refund_amount": "10.36",
"refund_reference": "",
"currency": "USD",
"refund_reason": "test",
"refund_reference_id": "1379868670095785984-01",
"refund_date": "20241113063528",
"refund_processing_date": ""
}
],
"encryption_data": "3fc421f36e1d23db6982aa58779506a3ff17c7dcfa86421719aa69e5e0575168",
"return_status": "1",
"return_message": "OK",
"merchant_id": "701001"
}
Request
Header Params
Content-Type
string
required
Example:
application/x-www-form-urlencoded
Body Params application/x-www-form-urlencoded
merchant_id
string
required
<= 7 characters
Example:
701001
account_id
string
required
<= 10 characters
Example:
701001010
refund_orders
string
optional
<= 1000 characters
Example:
1726891254563
refund_references
string
optional
<= 1000 characters
merchant_refunds
string
optional
<= 1000 characters
encryption_data
string
required
encryption_data=sha256(merchant_id + account_id + sign_key);
<= 64 characters
Example:
3fc421f36e1d23db6982aa58779506a3ff17c7dcfa86421719aa69e5e0575168