Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

A merchant secret key (sk_…) sent as Authorization: Bearer <key>.

Headers

Ionic-Account
string

Merchant ID when an authorized Platform acts for a connected Merchant. Omit when authenticating directly as that Merchant.

Pattern: ^mer_[0-9A-Za-z]{14}$

Path Parameters

id
string
required

The payment intent id (pi_…).

Query Parameters

client_secret
string

Required when authenticating with a publishable key; ignored for secret keys.

Response

The payment intent and, for secret-key requests, its Charge history. Publishable-key requests return an empty charges array.

A PaymentIntent and the Charge records created by its confirmation attempts.

payment_intent
object
required

A request to collect a payment from a customer, tracking the payment through its attempts until it succeeds or is canceled.

charges
object[]
required

The charges created by the PaymentIntent's confirmation attempts.