Payment
The Payment object represents a single attempt to move money into your account. Checkout confirmation is the most common way to create Payment.
- idType: stringrequired
Unique identifier for the transaction
- createdType: stringFormat: date-timerequired
Unix timestamp when payment was created
- amountType: integerFormat: int64required
Amount charged in smallest currency unit
- currencyType: CurrencyrequiredProperties: 2
Three-letter ISO currency code
- statusType: "failed" or "pending" or "succeeded"enumrequired
The status of the payment is either
succeeded,pending, orfailed. - metadata
Metadata attached to the Payment. For Payments created from a Payment Intent or Checkout Session, this starts as the initial metadata snapshot copied at Payment creation time.
- propertyadditionalPropertyType: string
Name
- balanceType: BalanceTransaction
_transaction Properties: 7Balance transactions represent funds moving through your account.
- formattedType: string
_amount Human-readable amount in the currency's standard unit format. This represents the actual monetary value that would be displayed to end users (e.g., "20.00" for $20.00 USD, "2000" for ¥2000 JPY, "2000" for 2000 HUF). Use this for display purposes; use the 'amount' field for calculations and API requests.
- amountType: integerFormat: int64
_captured Amount in cents (or local equivalent) captured (can be less than the amount attribute on the payment if a partial capture was made).
- amountType: integerFormat: int64
_refunded Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the payment if a partial refund was issued).
- latestType: string
_status requiredLatest status of the payment
- capturedType: boolean
If the payment was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.
- updatedType: stringFormat: date-time
When the transaction was last updated
- outcomeType: payment_outcomenullableProperties: 5
Details about whether the payment was accepted, and why.
- failureType: string | null
_code max length:5000Failure code, only set if status is
failed. - failureType: string | null
_message max length:5000Detailed failure message, only set if status is
failed. - paidType: boolean
trueif the charge succeeded, or was successfully authorized for later capture. - paymentType: string
_method Payment method used
- paymentType: payment_method_details
_method _details Properties: 1Details about the payment method at the time of the payment.
- customer
ID of the customer this charge is for if one exists.
- Type: Customer IDmax length:100
ID of the customer this charge is for if one exists.
- payment
_intent ID of the PaymentIntent associated with this charge, if one exists.
- Type: IntentIdmax length:100
ID of the PaymentIntent associated with this charge, if one exists.
- checkoutType: string | null
_id ID of the checkout that created this transaction
- accountType: string
_id deprecatedAccount ID
- accountType: AccountnullabledeprecatedProperties: 18
Details about the account that is holding the funds.
- merchantType: string
_account _id deprecatedMerchant account ID
- latestType: string
_operation The most recent operation performed on this payment.
- refundedType: boolean
Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
- disputedType: boolean
Whether the charge has been disputed.
- fraudType: payment_fraud_detailsnullable
_details Properties: 2Information on fraud assessments for the payment.
- clientType: string | null
_reference _id max length:100A unique string to reference the Checkout Session. This can be a customer ID, a cart ID, or similar, and can be used to reconcile the Session with your internal systems.
- statementType: string | null
_descriptor max length:100For a non-card payment, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor.
- feeType: integerFormat: int64
Fees (in cents) paid for this transaction. Represented as a positive integer when assessed.
- feeType: array of Fee
_details Properties: 13Detailed breakdown of fees (in cents (or local equivalent)) paid for this transaction.
- livemodeType: booleanrequired
Has the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode.

