The endpoint and http method information used to inquiry wallet refund transaction that is made to card wallet are stated below.
HTTP Method | URL |
---|---|
GET |
/payment/v1/wallet-transactions/:walletTransactionId/refunds |
Parameters returned as a result of inquiry wallet refund transaction that is made to card are also subject to the rules specified in the Response Formats section of the API documentation home page. In the absence of a systematic or fictional error, the sub-parameters of the object returned in the data
parameter are as follows:
Parameter Name | Type | Description |
---|---|---|
id |
number |
ID of the wallet refund transaction |
createdDate |
date |
The date that the refund is created |
refundStatus |
Status |
The refund status. See: Refund Status |
refundPrice |
decimal |
The amount that refunded |
authCode |
string |
authCode value retrived from bank for the payment |
hostReference |
string |
hostReference value retrived from bank for the payment |
transId |
string |
transId value retrived from bank for the payment |
transactionId |
number |
ID value of the transaction that refund to the wallet than transferred to card from member's wallet |
transactionType |
string |
Type of the transaction that refund to the wallet than transferred to card from member's wallet PAYMENT : Payment Refund, PAYMENT_TX : Refund of Payment Transaction |
paymentError |
PaymentError |
Error that occured while refund of wallet transaction see: Payment Error Info |
walletTransactionId |
number |
ID of the wallet transaction that refunded to card |
You can review the sample codes in the open source Craftgate API clients.