Choose the task before choosing a provider
A research agent buying a company report needs a different integration from a shop accepting an agent-created order. The first starts with a payable endpoint and an authorized signer. The second starts with catalog information, an order and a supported checkout. Both need a reliable way to connect the payment to what the buyer receives.
Suppose your research agent needs one report costing $0.05. This is an illustrative price, not a provider quote. Write down the seller, the requested report, the permitted maximum and the result format. Those details help you choose a route more effectively than a list of protocol logos.
The payment stack
- Authority
The user permits one report from the selected seller within a stated maximum.
- Wallet or credential
The payment component signs or supplies an appropriately scoped credential.
- Payment route
The accepted payment method carries value to the seller.
- Seller
The API checks the payment outcome and prepares the report.
- Receipt and result
The buyer records the payment reference and checks the delivered report.
Match the missing layer to the right guide
A wallet holds assets or provides access to a signing capability. A payment protocol describes an exchange between participants. A merchant integration decides what happens after a charge is accepted. A receipt helps connect these actions to a particular purchase. Treating those roles separately makes a failed purchase easier to investigate.
For HTTP resources, x402 keeps a payment request within the API interaction. Coinbase documents a facilitator that verifies and settles payments. AP2 v0.2 covers signed authority for checkout and payment through linked mandates; it does not define the commerce catalog itself. These are different jobs, and a system may need more than one of them. [1] [2]
If your agent has funds but cannot buy the report, investigate the accepted payment method and seller interface. If it can pay but exceeds its budget, inspect authorization and limit enforcement. If funds move and the report never arrives, inspect fulfillment and recovery. Changing the wallet does not automatically fix the other layers.
Find a practical next step
Use the paths below to choose one focused guide. Buying a paid API leads to resource discovery and an x402 exchange. Selling an API leads to server verification and delivery. Merchant checkout belongs to the commerce path. Spending controls lead to authority, budget reservations and approval.
Choose your task
Keep evidence from the first purchase
For the report example, keep the accepted offer, authorization decision, payment reference and delivered report reference together. Your system should explain why the purchase was allowed and whether the promised result arrived. Avoid marking a task successful simply because a payment tool returned without an error.
Before expanding to more sellers, define how the agent handles an expired offer, a rejected payment and a timeout after payment. An understandable integration gives you a better starting point for those cases than a broad provider list with unclear responsibilities. The stack selector collects these decisions into a downloadable local summary; it does not open a wallet or spend money.