Skip to content

Get Payment

You query the authoritative status and detail of a payment. The result carried to the buyer’s returnUrl after the 3D return (whether the channel is web (browser 303) or mobile (WebView)) is not authoritative; you always learn the definitive result from this endpoint (or from a webhook). There are two forms.

GET /v1/payments/{paymentCode}
Authorization: Bearer ptk_live_…

You can also query by your own partnerTxCode (e.g., to check status before a webhook arrives):

GET /v1/payments?partnerTxCode=ORD-2026-8841
Authorization: Bearer ptk_live_…

200 OK:

{
"paymentCode": "pay_7Hq2bL",
"partnerTxCode": "ORD-2026-8841",
"status": "captured",
"amount": 125050,
"currency": "try",
"installmentCount": 3,
"maskedPan": "4242 42** **** 4242",
"cardFamily": "credit",
"cardBank": "Example Bank",
"appliedRateBps": 250,
"appliedFixedFee": 25,
"commissionAmount": 3151,
"netToPartner": 121899,
"expectedValueDate": "2026-06-16",
"refunds": [],
"createdAt": "2026-06-14T12:00:00Z",
"updatedAt": "2026-06-14T12:05:11Z"
}
FieldDescription
paymentCodePaytalya payment id.
partnerTxCodeYour own transaction reference.
statusCustomer-visible status. See Payment Lifecycle.
amountSale amount (kuruş).
currencyCurrency.
installmentCountNumber of installments (1 for single payment).
maskedPanMasked card number; the full PAN is never returned. null if not yet determined.
cardFamilyCard family (if known; otherwise null).
cardBankIssuing bank (if known; otherwise null).
appliedRateBpsApplied commission rate, integer basis points (2.5% → 250). null if not yet computed.
appliedFixedFeeApplied fixed fee (kuruş; if any).
commissionAmountCalculated commission amount (kuruş; if any).
netToPartnerNet amount payable to you after commission (kuruş; if any).
expectedValueDateExpected value (settlement) date (if any).
refundsList of refund items; each item has refundId, amount (kuruş) and status. Empty list ([]) when there are no refunds.
createdAt / updatedAtTimestamps (UTC).