The endpoint and http method information used to query refundable amount from wallet are stated below.
HTTP Method | URL |
---|---|
GET |
/payment/v1/wallet-transactions/:walletTransactionId/refundable-amount |
Parameters returned as a result of query refundable amount 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 |
---|---|---|
refundableAmount |
decimal |
Maximum amount that can be refunded from the wallet transaction |
You can review the sample codes in the open source Craftgate API clients.