Get Payment
Get a payment by ID.
Scopes: payments:read
Documentation Index
Fetch the complete documentation index at: https://docs.spairehq.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
The payment ID.
Response
Successful Response
- CardPayment
- GenericPayment
Schema of a payment with a card payment method.
Creation timestamp of the object.
Last modification timestamp of the object.
The ID of the object.
The payment processor.
stripe "stripe"
The payment status.
pending, succeeded, failed "succeeded"
The payment amount in cents.
1000
The payment currency. Currently, only usd is supported.
"usd"
The payment method used.
"card""card"
Error code, if the payment was declined.
"insufficient_funds"
Human-reasable error message, if the payment was declined.
"Your card has insufficient funds."
The ID of the organization that owns the payment.
"1dbfc517-0bbf-4301-9ba8-555ca42b9737"
The ID of the checkout session associated with this payment.
"e4b478fa-cd25-4253-9f1f-8a41e6370ede"
The ID of the order associated with this payment.
"e4b478fa-cd25-4253-9f1f-8a41e6370ede"
Additional metadata for the card payment method.
Additional metadata from the payment processor for internal use.

