PaymentSessionResult
Enriched response payload shared by /pay/ and /verify/. Legacy flat fields (order_number, verification_url, error, retry_allowed) are preserved for backward compatibility.
- Properties: 1adapterType:
- amountType: string | null
Fixed 2-decimal string, e.g. "79.00"
- createdType: string | nullFormat: date-time
_at Transaction creation timestamp (UTC, ISO-8601)
- currencyType: string | null
ISO 4217 currency code
- errorType: string | null
Legacy human-readable decline message. Prefer
error_details. - errorType:
_details Properties: 4Populated only for declined/failed outcomes
- Properties: 1leadType:
- linesType:Properties: 19
The order's lines. Present only for storefront sessions (orders placed through a store checkout or a store upsell); absent for every other session.
- livemodeType: boolean
True only for a live payment — a non-test-mode gateway in production. Always false when payment_gateway.test_mode is true; the two are never contradictory.
- objectType: string
Resource type discriminator
- Properties: 3orderType:
- orderType: string | null
_number Legacy. Prefer
order.order_number. - Properties: 4paymentType:
_gateway - Properties: 6paymentType:
_method - processedType: string | nullFormat: date-time
_at When the gateway processed the transaction
- retryType: boolean | null
_allowed Whether the customer can submit another payment attempt
- Properties: 3sepaType:
- sessionType: string
_token - statusType: stringenumvaluescompletedawaiting_verificationprocessingdeclinedfailed
- subscriptionType:Properties: 4
Null for one-off purchases
- subscriptionsType:Properties: 6
Every subscription created by this order, oldest first. Present only for storefront sessions.
- Properties: 6transactionType:
- verificationType: string | null
_url Mandate verification URL (only when status is awaiting_verification)