Skip to main content

Get Card on File Charge Options

GET 

/api/sales-orders/:salesOrder/charge-stored-method

What is needed to charge the order customer's saved cards: every saved Stripe and Authorize.net card with whether it can be charged from this order (and why not), the connected card processors, open Authorize.net authorizations, what is still chargeable and the card surcharge policy.

Required scope: orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token (PAT). Requires permission: sales_orders.manage_payments

Response fields:

  • payment_methods[] — the customer's saved cards (no processor tokens), each with processor_label, chargeable, unavailable_reason (expired, account disconnected, saved on another account, currency not accepted), integration_instance_id, integration_name, supports_authorize (Authorize.net cards) and default_mode (capture, or authorize when the Authorize.net account captures on fulfillment).
  • stripe_connected (kept for older clients) and any_processor_connected (Stripe or Authorize.net can take a charge).
  • processors[] — connected accounts: processor, label, integration_instance_id, name, card_entry_ready, supports_authorize_capture, capture_mode (Authorize.net) and currencies (empty = any).
  • open_authorizations[] — open Authorize.net authorizations on the order.
  • amount_due — chargeable now: outstanding_balance − settling_total (bank payments settling + open authorizations). open_authorization_total is the authorized part.
  • currency_code, surcharge {enabled, percentage, label, disclosure}.

Request​

Responses​

OK

Response Headers
    Content-Type