Refund transaction detail
Endpoint: /api/v1/transaction/refund/{refundId}
Method: GET
Header: How to generate JWT_TOKEN
{ "X-APPOTAPAY-AUTH": Bearer JWT_TOKEN, "Content-Type": "application/json"}
#
HTTP Request:Params | Type | Required | Description |
---|---|---|---|
refundId | √ | String | Partner refund id |
#
Dữ liệu trả vềTham số | Kiểu dữ liệu | Mô tả |
---|---|---|
appotapayTransId | String | AppotaPay transaction id |
refundId | String | AppotaPay refund id |
refundOriginalId | String | Partner refund id |
amount | Integer | Refund amount |
reason | String | Refund reason |
status | String | Status |
transactionTs | Integer | Payment time |
#
Example#
Response{ "errorCode": 0, "message": "Thành công", "data": { "appotapayTransId": "AP211364332963", "refundId": "57bd2769-3827-42a4-be47-aab498496a46", "refundOriginalId": "237052c887614019bedfd1851a287d9c", "amount": 10000, "reason": "Test refund", "status": "processing", "transactionTs": 1638180805 },}
#
Error{ "errorCode": int, "message": error message}