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
| Key | Datatype | Required | Description |
|---|---|---|---|
client_secret | string | The client secret of the PaymentIntent. Required if a publishable key is used 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 |