Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

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

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
charges
object[]
required