Endpoints
The Payment object
string
Object type identifier. Always
"payment" for Payment objects.string
required
Unique identifier (UUID) for this payment.
string
required
Human-readable payment number (e.g.,
#ABC123DEF456). Used for reference in invoices and support.string
required
Type of payment. Possible values:
one_time, subscription_initial, subscription_update, subscription_interval, subscription_extra, claim_freestring
required
Current payment status. Possible values:
PENDING, PAID, FAILED, UNPAID, CANCELLED, REFUNDED, PARTIALLY_REFUNDED, EXPIREDinteger
Payment amount in the smallest currency unit (e.g., cents for USD). Includes tax but excludes fees. Defaults to
0.integer
Tax amount in the smallest currency unit. Included in the total value. Defaults to
0.integer
Processing fee in the smallest currency unit. This is deducted from your payout. Defaults to
0.string | null
Three-letter ISO 4217 currency code (e.g.,
"USD", "EUR", "GBP").integer | null
Number of decimal places for this currency (e.g.,
2 for USD, 0 for JPY).integer
Unix timestamp (milliseconds) when the payment was created.
User | null
Expanded User object with basic information about the payer.
string | null
UUID of the associated Order. For subscription payments, this links to the initial order.
string | null
Human-readable order number of the associated order.
Order | null
Expanded Order object with basic information.
string | null
Subscription identifier if this is a subscription-related payment.
Subscription | null
Expanded Subscription object with status and ID.
Discount | null
Applied Discount object if a discount code or sale was used.
string | null
Invoice number for completed payments. Only available for
PAID, REFUNDED, or PARTIALLY_REFUNDED statuses.string | null
URL to download the invoice PDF. Only available for completed payments with generated invoices.
array | null
Array of charge attempts for this payment.
Example response
Related resources
Orders
Orders associated with payments
Users
Customers who made payments
Subscriptions
Recurring subscription payments
Discounts
Discounts applied to payments