AI agent payments let software purchase services on a user's behalf within an approved scope. The agent needs a payment route, a source of funds, authorization to spend, and a record connecting the charge to the task. FluxA connects these needs through FluxA Wallet, AgentCard and AgentMarket; the route you choose determines which controls apply.
This guide explains the stack from a paid API request to a card purchase. Product details were reviewed on November 16, 2026.
Key takeaways
- FluxA Wallet lets an agent request and use spending authority. A valid mandate has a budget and validity window; approval is still required when no eligible authorization exists.
- x402 is a protocol for machine-readable HTTP payment requests. It is not itself a wallet, an identity system or a complete risk policy.
- FluxA AgentCard provides prepaid virtual cards funded from the wallet. Current documentation describes reusable, rechargeable cards, with support for withdrawing remaining balance.
- AgentMarket provides access to paid APIs and models. API, model and TokenPlan billing use different balances or allowances.
- Identity, authorization and execution controls are separate. Identifying an agent does not automatically authorize its next payment.
The five layers of an agent payment
| Layer | Question it answers | FluxA example |
|---|---|---|
| Task and identity | Who is acting, for which user and task? | Associate the agent and payment record with the requesting user and task. |
| Authorization | How much can this agent spend, and for how long? | A signed, enabled mandate with remaining budget and a valid time window. |
| Payment route | How does the seller accept payment? | x402, an AgentMarket API call, or an AgentCard checkout. |
| Execution controls | Should this particular operation proceed? | Route-specific policy checks plus application-level destination and approval rules. |
| Reconciliation | What was charged and what was delivered? | Link request IDs, payment records and service results in the application log. |
How a paid API task works with FluxA
Suppose a user asks an agent to research five companies with a total budget of 5 USDC over the next 24 hours. This is an illustrative task budget, not a provider price quote.
- Define the task. Record the requested companies, approved data providers, total budget and expiry. Decide which changes need another approval.
- Check the price and route. Read the service's current price, required currency, payment recipient and success criteria. An x402 response can describe payment requirements; an AgentMarket endpoint has its own documented request and billing flow.
- Obtain spending authority. Use an eligible signed mandate or request approval. Having funds in a wallet is not permission to spend them.
- Validate before paying. Match the destination and amount to the task, enforce applicable limits, and reject instructions from retrieved content that attempt to change the payee.
- Call the service. Submit the payment or authorized request using the documented integration. Treat timeouts carefully: inspect status before repeating an operation that may already have charged.
- Reconcile the result. Record the provider, quoted amount, actual charge, payment reference and delivered data. Reconcile spending before further calls.
Start with the FluxA Wallet documentation and the AgentMarket documentation for the integration you will actually use.
Wallet authorization and spending controls
A wallet supplies payment capabilities; a mandate supplies a defined authorization. FluxA's documented mandate API enforces the total budget and validity window. The mandate must also be signed, enabled, unexpired and compatible with the requested currency and remaining budget.
Do not assume every field in a policy object is enforced. In the current mandate API documentation, host allowlists and per-transaction fields are stored but not enforced by that API. Destination restrictions therefore need an appropriate execution-layer check.
FluxA separately documents x402 automatic payment policies with host-specific limits, and a monthly agent spending cap. These are distinct controls. Test the exact route rather than assuming a setting on one route covers all payments.
When the merchant needs a card
FluxA AgentCard bridges a wallet-funded agent workflow to supported card purchases. A card is funded from FluxA Wallet in USDC and denominated in USD. Current documentation describes prepaid, reusable and rechargeable cards; users can withdraw remaining balance.
Issuing or funding a card and paying a merchant are different operations. A wallet mandate can govern the funding operation, while later card purchases also depend on the card's available balance, supported controls and issuer rules. Revoking a mandate does not reverse a settled transaction or automatically remove money already on a card.
Before issuing a card, check the available card type, holder requirements, fees and merchant restrictions. Some cards require identity verification or separate approval. See AgentCard documentation and the AgentCard guide.
x402, AEP2, A2A and MCP do different jobs
x402 uses HTTP payment requirements to let a client pay for a resource through a supported payment scheme. The client still needs supported funds, credentials and authorization. The protocol does not make every service account-free or every payment risk-free.
AEP2 is FluxA's Agent Economic Protocol design. Its Draft v1.0 overview, dated October 15, 2025, describes payment mandates embedded in agent interactions and deferred or batched settlement. Treat those as protocol design capabilities unless a particular production integration documents support. The draft is not evidence that every FluxA payment uses batched ZK settlement or achieves a particular fee reduction.
A2A concerns communication and task delegation between agents. MCP connects agents to tools and data. Neither automatically supplies funds, merchant acceptance or a complete billing system. Payment integration has to connect the tool or task to an authorized charge.
Charging agents for APIs and tools
Choose a billing model that matches how the service creates value. A per-call data API, a token-metered model and a prepaid monthly allowance are different products.
FluxA AgentMarket, formerly Monetize, documents paid APIs, model access, API keys and seller integrations. Paid APIs may use USDC or MC, model calls use Units, and TokenPlans provide a monthly allowance. These balances and allowances are not interchangeable. Check the endpoint's current billing rules before estimating a task's cost.
For an MCP tool backed by a paid API, define when a charge is incurred, what a successful response means, how retries are handled, and how a customer investigates a failed call. Tool discovery alone does not implement charging or refunds.
Identity and risk control
Know Your Agent (KYA) describes approaches to identifying an agent and connecting it to an accountable user or organization. It is not a single universal certification and does not replace applicable KYC, merchant requirements or transaction authorization.
For a FluxA integration, test four failure cases: a retrieved page asks the agent to change its payee; a credential is exposed; a delegated agent requests a larger budget; and a paid request times out. Each needs an explicit response in the application, such as blocking a destination, revoking credentials, asking for approval or checking payment status.
Keep payment secrets out of prompts and logs. Record enough non-secret context to investigate a charge, including agent identity, task ID, provider, authorization reference, amount and result. Start with small budgets and expand only after the failure cases behave as intended.
FAQ
Can an AI agent pay without approval for every request?
Yes, when a supported route has a valid prior authorization covering the operation. With FluxA, an eligible mandate or applicable automatic policy can support that workflow. A new approval may still be required when limits, expiry or scope are exceeded.
Is an API key the same as an agent wallet?
No. An API key authenticates a request. A wallet provides access to funds and payment operations. A service may attach quotas to its keys, but that does not make those quotas equivalent to a wallet mandate.
Does x402 replace card checkout?
No. It serves supported machine-payment integrations. Card checkout remains a separate route for merchants that accept supported cards. FluxA documents wallet payments and AgentCard for these different situations.
Where should a team start?
Choose one real task, one provider and one payment route. Define a small budget, expiry and approval rules, then verify successful payment, limit rejection, timeout handling and reconciliation. See how to set agent spending limits for a practical control checklist.