Retrieve Payment
All past successful or unsuccessful payments can be queried using the Craftgate API.
URL
The endpoint and http method information to query payment are stated below.
GET/payment/v1/card-payments/:id
Request Parameters
Payment inquiry can only be made using ID.
id
number
required
ID of the payment
Response Parameters
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.
Sample Codes
You can review the sample codes in the open source Craftgate API clients.