Retrieve Payment
URL
The endpoint and http method information to inquiry payment in detail are stated below.
Request Parameters
Payment inquiry can only be made using the payment id value.
Payment ID value to be retrieved
Response Parameters
The parameters returned as a result of the payment are also subject to the rules specified in the Response Formats section of the API documentation home page. The object structure in the response is as follows:
ID of the payment
The date that payment created
Total amount of the payment
Total amount paid by the buyer. The amount also included in collected from wallet for payments that fully or partially collected from the wallet. Müşterinin ödediği toplam tahsilat tutarı.
The amount collected from wallet
Payment currency See: Currencies
Buyer member ID related to payment
Installment number of the payment
conversationId
value that sent in payment request by merchant
externalId
value that sent in payment request by merchant
See: Payment Types
See: Payment Status
paymentChannel
value sent by the merchant in the payment request
Indicates whether the payment is 3D Secure payment
Interest rate to calculate paid price that buyer will pay
Interest amount. Equal to the difference between paidPrice
and price
values
Bank commission rate
Bank commission rate amount
Indicates whether the payment was made with a stored card
Exist for the payments fully or partially collected from the card. First 8 digits of the card
Exist for the payments fully or partially collected from the card. Last 4 digits of the card
authCode value retrieved from bank related to the payment
hostReference value retrieved from bank related to the payment
transId value retrieved from bank related to the payment
orderId value retrieved from bank related to the payment
Type of the card. Exist for the payments fully or partially collected from the card (See: Card Types)
Card association. Exist for the payments fully or partially collected from the card
Brand of card. Exist for the payments fully or partially collected from the card
Card holder name surname
Card holder name surname retrieved from bank
Name of card issuer bank
Payment status retrieved from bank for 3D secure payment
Retry count while payment is done
Refundable amount
Status of refund see: Payment Refund Status
Detail info of buyer, if the buyer info sent in payment request.
POS info that payment is received.
Loyalty info that used in payment.
Detail information of the error, if the payment received an error.
It contains detailed information about the refund if there is refund information for the payment.
Sample Codes
You can review the sample codes in the open source Craftgate API clients.