Retrieve a payment intent
List payment intents
Query parameters
Number of payment intents per page. Defaults to 15, maximum 100.
Opaque cursor for the next page. Pass the value from
meta.next_cursor of the previous
response. Omit to start from the first page.Filter by customer public id.
Filter by intent status:
pending, completed, failed, expired, partially_refunded,
or refunded.Return intents created on or after this date (ISO 8601, e.g.
2024-01-01).Return intents created on or before this date (ISO 8601, e.g.
2024-01-31).Response envelope
Array of payment intent objects.
Pagination is cursor-based — offset pagination is not supported. To iterate all intents,
follow
meta.next_cursor until it is null.Polling for final status
If you cannot receive webhooks, poll the retrieve endpoint untilstatus reaches a terminal
value (completed, failed, expired, refunded, or partially_refunded). Use an
exponential back-off and stop after a reasonable timeout.
PHP (SDK)