Refund Object
Each object has the following structure:
Param | Type | Description |
---|---|---|
refundId | String | Refund transaction code on AppotaPay's side |
attemptId | String | Identifier for the corresponding successful payment attempt of cycle to be refunded. It's returned in cycle callback |
refundRefId | String | Partner's refund transaction reference code |
amount | Integer | The refunded amount |
currency | String | Currency unit |
reason | String | Reason for refund - FRAUDULENT: Fraudulent - DUPLICATE: Duplicate - REQUESTED_BY_CUSTOMER: Requested by customer - CANCELLATION: Cancellation - OTHER: Others |
status | String | Refund status |
createdAt | String | Transaction execution time (ISO 8601) |
updatedAt | String | Transaction update time (ISO 8601) |
Example
{
"refundId": "4c1016c7-74fc-4856-aff0-8754a1a20482",
"attemptId": "01HY2TRW9EBTPWGPJDGPD9JMA9",
"refundRefId": "ASKJLKALK20398139",
"amount": 1000,
"currency": "VND",
"reason": "REQUESTED_BY_CUSTOMER",
"status": "success",
"createdAt": "2024-06-18T18:21:24+07:00",
"updatedAt": "2024-06-18T19:21:24+07:00"
}