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: 1
  • Fixed 2-decimal string, e.g. "79.00"

  • Transaction creation timestamp (UTC, ISO-8601)

  • ISO 4217 currency code

  • Legacy human-readable decline message. Prefer error_details.

  • Populated only for declined/failed outcomes

    Properties: 4
  • Properties: 1
  • The order's lines. Present only for storefront sessions (orders placed through a store checkout or a store upsell); absent for every other session.

    Properties: 19
  • 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.

  • Resource type discriminator

  • Properties: 3
  • Legacy. Prefer order.order_number.

  • Properties: 4
  • Properties: 6
  • When the gateway processed the transaction

  • Whether the customer can submit another payment attempt

  • Properties: 3
  • values
    completedawaiting_verificationprocessingdeclinedfailed
  • Null for one-off purchases

    Properties: 4
  • Every subscription created by this order, oldest first. Present only for storefront sessions.

    Properties: 6
  • Properties: 6
  • Mandate verification URL (only when status is awaiting_verification)