AWS Builder Center
Amazon Bedrock AgentCore Payments: How AI Agents Can Discover, Access, and Pay for Digital Services

Amazon Bedrock AgentCore Payments: How AI Agents Can Discover, Access, and Pay for Digital Services

Understand how AWS AgentCore Payments enables autonomous AI agents to access paid APIs and MCP servers using digital wallets, stablecoins, x402, and Machine Payments Protocol (MPP), with built-in spending controls and observability

AI agents are evolving beyond answering questions and invoking predefined tools. They can now discover services, interact with APIs and MCP servers, and execute multi-step tasks with increasing autonomy. But there is an important challenge. What happens when an AI agent discovers a service that requires payment before it can access the requested information?
Imagine building an AI-powered financial research assistant. A user asks
Analyse the latest financial performance of a company and prepare a research report To complete this task, the agent may need access to premium financial data, paid research APIs, or specialized MCP servers. Some service providers offer subscriptions, while others are moving towards pay-per-use pricing, where customers pay for individual API requests, content access, or service execution. A subscription makes sense for regular usage. However, when an agent dynamically discovers multiple services and needs each one only for a specific task, paying for individual resources can be more practical.
This introduces a new requirement- agents need a way to make payments programmatically without interrupting their execution workflow. This is the problem Amazon Bedrock AgentCore Payments addresses.
What is Amazon Bedrock AgentCore Payments? Amazon Bedrock AgentCore Payments is a managed payment capability within Amazon Bedrock AgentCore that enables AI agents to autonomously pay for digital resources such as paid APIs, MCP servers, and web content. Developed in collaboration with Coinbase and Stripe, it provides wallet integration, payment orchestration, spending governance, and observability. It was initially announced in preview in May 2026 and became generally available on August 18, 2026. The important distinction is that AgentCore Payments is not another conventional payment gateway. It provides the infrastructure required for an AI agent to handle compatible machine-to-machine payment transactions.
Why do AI agents need a payment capability? Let's continue with our financial research assistant. Suppose the agent discovers a premium financial data API. The provider charges for each request rather than requiring a monthly subscription. When the agent invokes the API, the provider responds with HTTP 402 – Payment Required
The agent now needs to understand the payment requirement, authorize the transaction, obtain payment proof, and retry the original request. Traditionally, developers would need to implement this payment handling logic, integrate wallet providers, securely manage credentials, track spending, and handle transaction failures. This becomes particularly challenging when agents dynamically access multiple independent paid services. There is also an economic consideration. Traditional payment systems have minimum transaction costs, making very small payments, particularly those below $0.01, inefficient. Stablecoin-based payment mechanisms provide an alternative for these micropayment scenarios. AgentCore Payments provides a managed approach to these requirements.
Understanding the key components Before looking at the payment workflow, let's understand the main building blocks.


AgentCore Payments currently supports wallet integrations with Coinbase CDP and Stripe Privy.
The end user must fund the wallet and explicitly grant the agent permission to transact on their behalf. Supported wallet funding methods include USDC and, subject to geographical availability, traditional methods such as cards and other supported payment options.
Unlike conventional payment systems that use UPI, credit cards, or debit cards, AgentCore Payments uses embedded digital wallets provided by Coinbase CDP and Stripe Privy. These wallets enable agents to make authorized digital payments using supported blockchain networks and assets such as USDC.

Traditional payment vs. AgentCore Payments



What is an embedded crypto wallet?

An embedded wallet is a digital wallet integrated into an application or platform.
For example
  • Coinbase CDP provides wallet infrastructure.
  • Stripe Privy provides embedded wallet infrastructure.
  • The wallet can hold digital assets such as USDC (a stablecoin).
  • AgentCore Payments coordinates authorized transactions through these wallets.
The agent does not directly access or manage the wallet’s private keys. The wallet provider handles transaction signing.

How does AgentCore Payments work?



The steps are
  1. The agent invokes a paid API or MCP server.
  1. The merchant responds with HTTP  402 Payment Required , providing payment details such as the amount, recipient, asset, and network.
  1. AgentCore Payments checks whether the transaction is within the configured session spending limit.
  1. It securely retrieves the required authentication credentials through AgentCore Identity and coordinates transaction signing through the configured wallet provider.
  1. The agent retries the original request with the signed payment proof.
  1. The merchant verifies the payment, completes settlement, and returns the requested resource.
AgentCore also updates the session spending record and makes payment activity available through its observability capabilities.


What are x402 and Machine Payments Protocol (MPP)?

AgentCore Payments supports two HTTP-native payment protocols.
1. x402
x402 uses the HTTP  402 Payment Required  response to initiate programmatic payments.
The merchant returns a payment payload. The agent obtains a signed payment proof through AgentCore Payments and retries the request using the  X-PAYMENT  header.
2. Machine Payments Protocol (MPP)
MPP uses an HTTP authentication challenge mechanism.
The merchant sends a payment challenge through the  WWW-Authenticate  header. AgentCore Payments processes the challenge and returns a payment credential, which the agent sends through the  Authorization  header when retrying the request.
Both protocols allow compatible service providers and AI agents to communicate payment requirements using standardized HTTP mechanisms.


Security and governance: How do we control agent spending?

Giving an autonomous agent access to a wallet introduces an important responsibility-ensuring that it cannot spend beyond the permissions granted to it.
AgentCore Payments provides several controls
  • Explicit authorization: The end user must grant the agent permission to use the wallet.
  • Session-level spending limits: Developers configure the maximum spending amount for an agent interaction.
  • Session expiry: Payment permissions are restricted to a defined time period.
  • Credential protection: AgentCore Identity and AWS Secrets Manager securely manage external wallet credentials. Raw provider credentials are not exposed directly to the agent.
  • Observability: AgentCore Observability provides payment logs, metrics, traces, and dashboards for monitoring transaction activity.
An important architectural detail is that spending-limit checks happen at the infrastructure layer before transaction signing. This provides a deterministic control rather than relying only on the agent’s instructions or reasoning.


Why should solution architects care?

AgentCore Payments introduces an interesting architectural possibility - agents can dynamically discover, access, and pay for compatible digital services without requiring a separate manual payment workflow for every interaction.
Consider some potential applications
  • Financial research agents: Accessing premium market data and research services.
  • Coding agents: Purchasing access to specialized developer APIs and tools.
  • Browser agents: Accessing paywalled web content.
  • AI model routing: Paying for individual model inference requests based on usage.
  • Agent-to-agent commerce: Enabling agents to pay other agents for specialized services.
AWS has already highlighted applications involving pay-per-inference, research services, premium web content, and travel booking through MCP integrations.
One important limitation -AgentCore Payments does not automatically enable payments to every existing API or website. The service provider must support a compatible payment protocol, such as x402 or MPP.
It is also not a replacement for traditional payment gateways or banking systems such as UPI, NEFT, or IMPS. It addresses a different requirement - programmatic payments initiated by autonomous agents using supported wallet infrastructure.

Final thoughts

AI agents are evolving from systems that simply consume digital services into systems that can independently discover and pay for the resources required to complete a task.
Amazon Bedrock AgentCore Payments provides the managed payment infrastructure to make this possible, combining wallet integration, payment orchestration, spending governance, and observability.
The next evolution of agentic AI is not just about building agents that know which tools to use. It is about enabling them to securely access and pay for the resources they need, within boundaries defined by us.
That is an important building block for the emerging agentic economy.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article