All past successful or unsuccessful payments can be queried using the Craftgate API.
The endpoint and http method information to query payment are stated below.
Payment inquiry can only be made using ID.
ID of the payment
Parameters returned as a result of payment inquiry 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 stated in Response Parameters page.
You can review the sample codes in the open source Craftgate API clients.