Retrieve Payment by ID
This request enables you to retrieve details of payments based on their id, which needs to be provided in the request path.
transactions in this response is an array containing every transaction of the payment. In webhook payloads the same field name carries a single object — the transaction that triggered the event — with the full list under transactions_history. See Webhook object and examples.
/payments/{payment_id}Path Parameters
Query Parameters
When true, includes the provider raw response in the output (default false).
When true, includes the transactions history in the response (default false).
Response
200
Show payment properties
Show amount properties
Show checkout properties
Show payment_method properties
Show payment_method_detail properties
Show bank_transfer properties
Masked bank account number associated with the bank transfer (for example, ****6789). This is account data, not mandate data.
Direct debit mandate details, for bank transfer methods that operate with mandates (for example, ACH, SEPA, BACS, PAD).
Show mandate properties
Mandate identifier, as provided by the payment provider.
Free-text mandate information.
Provider status indicating whether the mandate was received. Forwarded as provided by the payment provider.
Provider status of the existing mandate. Forwarded as provided by the payment provider.
Date and time when the mandate was created (ISO 8601).
Date and time when the mandate was last updated (ISO 8601).
Show customer_payer properties
Show browser_info properties
Show document properties
Show phone properties
Show billing_address properties
Show shipping_address properties
Show transactions properties
Show payment_method properties
Show detail properties
Show bank_transfer properties
Masked bank account number associated with the bank transfer (for example, ****6789). This is account data, not mandate data.
Direct debit mandate details, for bank transfer methods that operate with mandates (for example, ACH, SEPA, BACS, PAD).
Show mandate properties
Mandate identifier, as provided by the payment provider.
Free-text mandate information.
Provider status indicating whether the mandate was received. Forwarded as provided by the payment provider.
Provider status of the existing mandate. Forwarded as provided by the payment provider.
Date and time when the mandate was created (ISO 8601).
Date and time when the mandate was last updated (ISO 8601).
Show provider_data properties
Obfuscated copy of the request WHITELABEL sent to the provider. Only returned for allowlisted organizations.
Show raw_response properties
Show data properties
Show payment_method properties
Show extra properties
Show shipping_address properties
The subscription’s plan when this payment was created. Present only on payments created with subscription.plan_id and on their renewals; absent otherwise.
When the plan was assigned to the subscription (UTC, ISO 8601). Present only on payments that carry plan_id.
400
401
403