Get Intent
Get a payment intent by ID.
Supports expand parameter:
- expand=checkout_attempt: Include full checkout attempt details (checkout attempt, card checkout attempt, processor attempts, state transitions)
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Query parameters
Response
Merchant-facing status label derived from internal state + creation context. Render this in UIs — never the raw status. A settled refund replaces it with “Refunded”, “Partially refunded” or “Refunded out-of-band” on API reads; payment_intent.* webhooks carry no refund totals and keep the payment’s own status.
Explicit key the frontend maps to tooltip copy (Decision Q4). None where no tooltip is shown (SUCCEEDED, EXCEPTION, the refund statuses).
The refund status display_status shows once a refund settled (refunded, partially_refunded, refunded_out_of_band); null without one. A key to branch on rather than the display copy. The refunded total includes chargebacks, so a charged-back payment reads refunded.
Write-once provenance: how this payment intent was created (checkout, checkout_setup, invoice, api, migration).
Why a cancelled payment intent was cancelled (hold_released, expired, payment_cancelled). None unless the intent was cancelled.
Total amount of refunds that are in progress (requested but not yet settled by the processor — RefundStatus pending/requires_action). amount_atom_refunded only moves once a refund settles, which can take 30+ minutes; this exposes the in-flight amount so the UI can show a ‘Refund in progress’ indicator in the meantime.
When the latest successful refund happened (None if never refunded)
Whether any succeeded refund on this payment was recorded out-of-band — refunded on the processor’s own dashboard rather than through PaymentKit. Only surfaces to merchants when the payment is FULLY refunded, where the status reads ‘Refunded out-of-band’ instead of ‘Refunded’.
Payment method used (from latest attempt)
Payment processor used (from latest attempt)
Machine-readable failure code from the latest failed attempt (e.g. ‘currency_unsupported’). Lets the UI render a specific, localizable reason. None when no coded failure is available.
Card BIN/IIN — the issuer prefix of the card number, 6 or 8 digits depending on the network. Sourced from the card itself, so it is the same value for a given card regardless of which processor handled the payment, and is present on declined payments too. Exposed for CSV export; not shown in the in-app payments table. None for non-card methods, or for cards saved before this data was captured.
Whether this is a merchant-initiated transaction (MIT). False = customer-initiated (CIT). None = unknown/legacy.
The payment method type the buyer chose at checkout when no payment method was saved. Populated today for the BNPL providers only (klarna, afterpay, affirm): their PaymentMethod is created once the provider approves, so a cancelled or declined BNPL checkout has payment_method null but this set, and a list can still show which method was tried. None whenever payment_method is present, and for card and wallet checkouts.