Retrieve a PaymentIntent

GET {{baseUrl}}/v1/payment_intents/:intent

Retrieves the details of a PaymentIntent that has previously been created.

You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string.

If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the payment intent object reference for more details.

Request Params

KeyDatatypeRequiredDescription
client_secretstringThe client secret of the PaymentIntent. We require it if you use a publishable key to retrieve the source.
expand[0]stringSpecifies which fields in the response should be expanded.
expand[1]stringSpecifies which fields in the response should be expanded.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring