Products

Gateway

Abazi Gateway, the payments gateway. One agent request becomes one policy decision, one reservation, one signed payment on the right rail and one receipt.

View as .mdUpdated

Abazi Gateway is the payments gateway at the center of Abazi: the world's first unified agentic payments gateway. Cards, stablecoins and on-chain proof run under one mandate, one policy engine and one API.

Agents decide. Abazi pays. The agent asks once, and Abazi Gateway does the pricing, the policy decision, the reservation, the signing, the settlement and the receipt.

The problem it removes

An agent that can pay on its own usually needs a wallet key or a card number, and then it can spend whatever that credential allows. Abazi Gateway removes the credential from the agent. The agent holds only an Abazi credential and calls one tool; none of its tools signs, moves funds or changes rules.

Who uses it

WhoHow
AgentsCall request_purchase over MCP, or create a payment intent over REST, with an Abazi credential.
Agent developersHandle the result: a receipt, a pending approval, or a denial with a reason code and a next action.
OwnersSee every intent in the Console with its decision trace, rail, network and receipt.

How it works

  1. Intent. The agent names a service from the Catalog, or a URL that answers with a 402 response, plus an idempotency key. Repeating the same key returns the same intent; a different body under the same key is refused.
  2. Quote. Abazi prices the purchase from the Catalog or from the merchant's live 402 response, never from a number the agent supplies.
  3. Decision. Abazi Shield screens the text and the merchant, and the policy engine returns ALLOW, REQUIRE APPROVAL or DENY with a reason code. See Mandates and policy.
  4. Reservation. On ALLOW, the amount is reserved at organization, team and agent level in one transaction.
  5. Signing. A durable workflow hands the payment to Abazi's signer, which rechecks the pause switch, the mandate, the reservation and the purchase fingerprint before it signs.
  6. Settlement. The rail pays the merchant on chain or through the card issuer, and Abazi waits for confirmation. If the outcome is unknown, the money stays reserved and the payment goes to reconciliation instead of being retried blindly.
  7. Receipt. On confirmation the reservation commits, the ledger posts, and a signed, hash-chained receipt is issued and anchored on Solana.

Payment lifecycle

What happens between a request and a receipt, including denials and approvals?

Scenario
Step 1 of 8
  1. Request
  2. Quote
  3. Decision
  4. Reservation
  5. Signing
  6. Submitted
  7. Settled
  8. Receipt

Request · step 1 of 8

The agent calls one tool with what it wants and an idempotency key. Abazi creates one payment intent.

Payment state

  • current state: created
  • awaiting_approval
  • reserved
  • signing
  • submitted
  • reconciling
  • confirmed
  • failed
  • denied
  • refunded

Path: created

Text description

A payment moves through eight stages: request, quote, decision, reservation, signing, submitted, settled and receipt. Its recorded state follows the payment state machine: created, then awaiting_approval or reserved or denied, then signing, submitted, and confirmed or failed; an unclear outcome goes to reconciling until the network answers.

Allowed

  1. Request (state created): The agent calls one tool with what it wants and an idempotency key. Abazi creates one payment intent.
  2. Quote: Abazi quotes the price and payout address from the Catalog, never from the agent, and Shield screens the purchase.
  3. Decision: The policy engine runs its fixed order. Nothing hits, so the decision is ALLOW. Reason code WITHIN_POLICY.
  4. Reservation (state reserved): The amount is reserved at organization, team and agent level in one transaction.
  5. Signing (state signing): The signer rechecks the pause switch, the mandate, the held reservation and the purchase fingerprint, then signs once.
  6. Submitted (state submitted): The rail adapter sends the payment. Abazi records the settlement reference and polls the network.
  7. Settled (state confirmed): The network confirms. The reservation is committed and the double-entry ledger posts.
  8. Receipt: A signed, hash-chained receipt is issued and its hash is anchored on Solana. Anyone with the link can verify it.

Needs approval

  1. Request (state created): The agent calls one tool with what it wants and an idempotency key. Abazi creates one payment intent.
  2. Quote: Abazi quotes the price and payout address from the Catalog, never from the agent, and Shield screens the purchase.
  3. Decision (state awaiting_approval): The amount is above the auto-approve limit, so the decision is REQUIRE APPROVAL. Approvers get a one-time link; nothing is reserved yet. Reason code ABOVE_AUTO_THRESHOLD.
  4. Decision: An approver approves with a passkey before the link expires (10 minutes). The policy runs again: the approval clears steps 5 to 7 only, every deny step still runs. Reason code WITHIN_POLICY.
  5. Reservation (state reserved): Only now is the amount reserved at organization, team and agent level.
  6. Signing (state signing): The signer rechecks the pause switch, the mandate, the held reservation and the purchase fingerprint, then signs once.
  7. Submitted (state submitted): The rail adapter sends the payment. Abazi records the settlement reference and polls the network.
  8. Settled (state confirmed): The network confirms. The reservation is committed and the double-entry ledger posts.
  9. Receipt: A signed, hash-chained receipt is issued and its hash is anchored on Solana. Anyone with the link can verify it.

Denied

  1. Request (state created): The agent calls one tool with what it wants and an idempotency key. Abazi creates one payment intent.
  2. Quote: Abazi quotes the price and payout address from the Catalog, never from the agent, and Shield screens the purchase.
  3. Decision (state denied): The amount is above the per-purchase hard cap. The decision is DENY with a reason code the agent can act on. Reason code HARD_CAP_EXCEEDED.
  4. Decision: Nothing is reserved and nothing is signed. The decision and its step-by-step trace are stored; the agent receives the code, the message and the next action.

Unknown outcome

  1. Request (state created): The agent calls one tool with what it wants and an idempotency key. Abazi creates one payment intent.
  2. Quote: Abazi quotes the price and payout address from the Catalog, never from the agent, and Shield screens the purchase.
  3. Decision: The policy engine allows the purchase. Reason code WITHIN_POLICY.
  4. Reservation (state reserved): The amount is reserved at all three levels.
  5. Signing (state signing): The signer rechecks the pause switch, the mandate, the held reservation and the purchase fingerprint, then signs once.
  6. Submitted (state reconciling): The send times out after the payment may have left. Abazi never signs twice: the intent moves to reconciling and the funds stay held.
  7. Settled (state confirmed): Reconciliation reads the network. Here the payment did land, so the intent is confirmed, the reservation committed and the ledger posted. Had it not landed, the intent would fail and the reservation would be released.
  8. Receipt: A signed, hash-chained receipt is issued and its hash is anchored on Solana. Anyone with the link can verify it.

Rails it pays on

The same intent pays over stablecoins on x402, direct USDT transfers through Tether WDK, or a per-agent virtual card:

RailSolanaBasePolygonAvalancheEthereumTronCard networks
Stablecoins over x402
x402 v2, exact scheme
USDCUSDCUSDCUSDC···
Direct USDT
Direct transfer, Tether WDK
····USDTUSDT·
Virtual cards
Card issuing with real-time authorization decisions
······USD

Abazi picks the first network in its order that the mandate allows and that has funds; if none has, the purchase is denied with NO_FUNDED_CHAIN. See Supported rails and Rails and networks.

Screens

Payments table with decisions and reason codes
Activity: every payment intent with its decision, reason code, rail and network.Captured 2026-11-16

Boundaries

  • Abazi Gateway never pays a price or an address that differs from the Catalog listing: a mismatch is denied at step 2.
  • A purchase that needs approval does not reserve or sign anything until a person approves.
  • An agent credential can request a purchase; it cannot sign, move funds or change a rule.

API

The Payment intents operations in the API reference, each with its parameters, responses and code samples:

Next steps

On this page