Reverse Detail
EndPoint
GET
/credit-card/reversal/:creditCardReversalId
Header Params
{
Content-Type: "application/json",
X-APPOTAPAY-AUTH: "your_auth_token",
Language: "vi", // option vi | en, default vi
X-Request-ID: "your_request_id" // optional - easy to debug request
}
Request Params
URL Parameter
Tham số | Yêu cầu | Kiểu dữ liệu | Mô tả | Lưu ý |
---|---|---|---|---|
creditCardReversalId | required | String | Mã giao dịch huỷ uỷ quyền AppotaPay trả về khi merchant khởi tạo yêu cầu huỷ uỷ quyền thành công hoặc Reference ID được gửi trong yêu cầu từ merchant |
Query Parameter
Tham số | Yêu cầu | Kiểu dữ liệu | Mô tả | Lưu ý |
---|---|---|---|---|
referenceType | optional | String | - APPOTAPAY_REFERENCE_ID nếu sử dụng mã giao dịch được tạo bởi AppotaPay, trả trong phần phản hồi khi gửi yêu cầu uỷ quyền thành công (giá trị mặc định) - MERCHANT_REFERENCE_ID nếu sử dụng mã tham chiếu merchant gửi trong yêu cầu huỷ uỷ quyền |
Response Params
{
"reversalId": "01HQHS26CFK4CEGE2QW0PATV5B",
"authorizationId": "01HQHRZQNJE4BWRB8P9P5Z8BE7",
"merchantRefId": "MufRIHgy11",
"amount": 1000000,
"currency": "VND",
"status": "success",
"createdAt": "2024-02-26T10:59:13+07:00",
"updatedAt": "2024-02-26T10:59:15+07:00",
"reversedAt": "2024-02-26T10:59:14+07:00"
}
Thành công
Http Status Code
200
-OK
Response giống với API Reverse Authorization
Thất bại
HTTP Status Code !=
200