The endpoint and http method information used to query refundable amount from wallet to card are stated below.
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:
||Maximum amount that can be refunded to card from the wallet transaction|
You can review the sample codes in the open source Craftgate API clients.