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
Key | Datatype | Required | Description |
---|---|---|---|
client_secret | string | The client secret of the PaymentIntent. We require it if you use a publishable key to retrieve the source. | |
expand[0] | string | Specifies which fields in the response should be expanded. | |
expand[1] | string | Specifies which fields in the response should be expanded. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |