Checking access…

Skip to main content
Version: v2
Audience: Consumers, CCG Platform Engineers

Payments

Payments API Β· V2

Create and manage payments from your server

Use this section when your server creates a payment directly. Find the right flow, follow its status, and manage the result.

Choose a payment flow
Using the checkout UI?

For a Hosted popup or Embedded widget, create a session and follow the UI integration guide.

Make a Payment via UI

Merchant-scoped operations such as capture and cancel can also apply to eligible payments created through a widget session.

Choose a payment flow​

  • πŸ‘› Pay with a saved payment method β†’ Make a Payment from Wallet β€” use a stored paymentMethodId in a single allocation.
  • πŸ†• Pay with a new method, with or without saving it β†’ One-Time Pay & Pay and Save β€” inline entry requires the merchant-pci flow.
  • 🏦 Pay with a bank account β†’ Make an ACH Payment β€” account for consent and asynchronous settlement.
  • βœ‚οΈ Split a payment across two cards β†’ Split Tender β€” configure two allocations and handle the combined result.
  • πŸ₯ Submit an IIAS payment β†’ IIAS Payments β€” supply the information required for eligible HSA/FSA card transactions.

The merchant-scoped Create Payment operation documents CARD and BANK_ACCOUNT payment method types. HSA/FSA card rules and digital wallet presentation are separate concerns; see IIAS Payments and Express Checkout with Digital Wallets. Choose the applicable API scope before using a stored method or entering a new one inline.

After payment​

How a payment progresses​

  1. CreateCreate the payment with POST /v2/payments, or through a widget session. A 202 Accepted response supplies a paymentId; it does not mean processing is complete.
  2. TrackCheck the status with Look Up a Payment or payment webhooks. Check the current status before acting on a webhook, especially when retries remain.
  3. CompleteFor a sale, wait for its terminal result. An ACH payment can remain ACCEPTED while settlement is pending. For a card authorization-only flow, wait for AUTHORIZED, then capture or cancel it and track the final result.

See Payment Lifecycle for status meanings and eligible capture or cancel states. For response shapes and allocation-level outcomes, see the Payment β€” Status & Response Reference β€” covering both single-allocation and split-tender payments.

A payment request may reuse its merchantTransactionId for four retries after the initial attempt (five total attempts), subject to the request contract. See Retry Mechanisms for payment-method and session-mode behavior.