Retrieve a PaymentIntent

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

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

Client-side retrieval using a publishable key is allowed when the client_secret is provided in the query string.

When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the payment intent object reference for more details.

Request Params

KeyDatatypeRequiredDescription
client_secretstringThe client secret of the PaymentIntent. Required if a publishable key is used 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