# Accept

How a merchant turns an HTTP endpoint into one any x402 client can pay, with requirements taken from the Catalog and delivery reported back.

<ShortProductTruth>**Get paid by agents. No sign-up.** Accept answers an unpaid request with a standard x402 402 response and returns the resource once the payment settles.</ShortProductTruth>


## The problem it removes [#the-problem-it-removes]

An agent can only pay what a merchant asks for in a form it can read. Without a standard answer, every merchant invents its own checkout and every agent needs custom code for each one. Abazi Accept gives the merchant that standard answer: an x402 (version 2, exact scheme) 402 response listing the price, asset, networks and payout address. Any x402 client can pay it, whether or not the merchant ever registered with Abazi.

## Who uses it [#who-uses-it]

| Who | How |
| --- | --- |
| Merchant developers | Wrap a route with the Accept middleware, or point Abazi's hosted endpoint at an existing service with no code. |
| Merchants | List services and prices, and see payments, deliveries and payouts in the Merchant area. |
| Agents | Call the endpoint, read the 402, and let Abazi pay and retry with the payment attached. |

## How it works [#how-it-works]

1. **List the service.** Price, asset, accepted networks, a payout address per network and the URL go into the [Catalog](/docs/products/catalog).
2. **Unpaid request, 402 response.** The middleware answers with payment requirements built from that listing, so what the agent reads is exactly what Abazi checks against.
3. **Paid retry.** With a payment attached, the middleware verifies and settles it through an x402 facilitator, moving to the next one where two cover the network, and returns the resource.
4. **Direct USDT.** For USDT on Ethereum and Tron, the 402 also lists a direct-transfer option. The merchant releases the resource once Abazi confirms the transfer reached its payout address.
5. **Delivery report.** After each paid request the middleware reports the request as delivered or failed, so owners can tell paid from delivered.

The middleware talks to Abazi and the facilitators over HTTP only. It never reads Abazi's database, so a merchant can run it beside its own service.

## Merchant tier [#merchant-tier]

A merchant that never registered starts in the UNKNOWN tier. Buyers' mandates cap purchases there at the unknown-merchant limit (<Limit name="unknownMerchantLimit" /> in the example mandate); above it, a person must approve. Payments from several organizations can raise a merchant to KNOWN, and signatures plus an on-chain attestation raise it to VERIFIED. A change of payout address or domain resets it to UNKNOWN. See [Merchant trust tiers](/docs/concepts/merchant-trust-tiers).

## Screens [#screens]

<Screenshot id="merchant-checkout" />

<Screenshot id="merchant-services" />

## Boundaries [#boundaries]

| Case | What happens |
| --- | --- |
| The live 402 names a different payout address than the Catalog | The buyer's purchase is denied with <ReasonCode code="PAYTO_MISMATCH" />. |
| The live 402 asks a different price than the listing | Denied with <ReasonCode code="AMOUNT_MISMATCH" />. |
| The live 402 offers a network the listing does not | Denied with <ReasonCode code="NETWORK_MISMATCH" />. |
| The delivery report fails to send | It is logged; the payment is not undone. The buyer can still open a [dispute](/docs/products/disputes). |

Abazi Accept supports the x402 exact scheme, plus the direct USDT option, on the networks listed in [Supported rails](/docs/platform/supported-rails).

## API [#api]

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

<ApiOperationList ids={['getMyMerchant', 'updateMyMerchant', 'listMerchantServices', 'createMerchantService', 'updateMerchantService', 'archiveMerchantService', 'listMerchantPayments', 'getAcceptSetup']} />

## Next steps [#next-steps]

<Cards>
  <Card title="Accept agent payments" href="/docs/guides/accept-agent-payments" description="Walk through a 402 response, a paid retry and a delivery report." />
  <Card title="Merchant trust tiers" href="/docs/concepts/merchant-trust-tiers" description="See how a merchant moves from UNKNOWN to VERIFIED and what each tier unlocks." />
  <Card title="Catalog" href="/docs/products/catalog" description="Learn where the price and payout address in every 402 come from." />
</Cards>

