The endpoint and http method information used to query refundable amount from wallet 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 from the wallet transaction|
You can review the sample codes in the open source Craftgate API clients.