Skip to main content

Settlement modes

Set settlement_mode at credential issuance (POST /api/issue). It cannot be changed after creation. GET /api/pay/{code}/prepare and settle responses include settlement_mode so payers and agents know which path applies.

How custodial settlement works

When an agent makes a custodial payment, settlement is automatic:
  1. Payment authorized: deducted from the card’s balance instantly
  2. Queued for settlement: the transaction enters the settlement pipeline
  3. Settled on-chain: USDC or pathUSD is transferred to the merchant
  4. Confirmed: the transaction status is updated with the on-chain hash

Fees

Example: A 10.00 token payment (USDC/pathUSD) costs 0.051 tokens: merchant receives 9.949 tokens.

Check settlement status

Settlement states

Timing

  • Authorization: Instant
  • Instant Settlement: Triggers immediately for network-fee efficient transactions.
  • Batch Settlement: Transactions that are not currently fee-efficient are grouped and settled rapidly in batches to optimize network costs.
  • On-chain confirmation: A few seconds on Base, Solana, and Tempo.
Custodial settlement runs automatically. You do not need to trigger it: check status when you need confirmation.

DIRECT settlement

DIRECT credentials do not use the custodial ledger for receives. Value is the on-chain balance of the funding asset at holder_address.
  • Membership quota meters DIRECT settles per calendar month (Membership).
  • Over-quota settles debit the prepaid MAG3NT fee meter (Fee meter).
  • Register the ERC-20 first (Project tokens).
If the plan is expired or quota is exhausted (and the fee meter cannot cover overage), DIRECT prepare/discover returns unavailable.