AI agents on AgentCore can now pay AWS Marketplace x402 sellers through the AWS bill
AgentCore payments adds AWS Billing, so agents can buy x402 APIs and data on AWS Marketplace in USD, with per-session spending caps and no stablecoin wallet.

TL;DR
- AgentCore payments adds AWS Billing as a payment option for x402-enabled AWS Marketplace sellers, charged in USD on the AWS bill [1].
- Developers can create a payment session with a spending limit for each task; a payment fails without charge once the budget is used up [1].
- At launch, AWS Billing supports the x402 exact scheme, where the seller quotes a fixed price per request [1].
AWS announced on 19 November 2026 that agents built on Amazon Bedrock AgentCore can buy x402-enabled software, APIs, data and content on AWS Marketplace [1]. The launch adds AWS Billing as a payment option in AgentCore payments, so the agent pays in USD and the charge lands on the developer’s AWS bill [1]. No stablecoin wallet or API key is needed [1].
Why it matters
x402 is an open protocol that uses the HTTP 402 Payment Required status to let a client pay per request [1]. AgentCore payments has supported paid APIs, MCP servers and web content over protocols such as x402 and MPP since it became generally available in August 2026 [1]. The new part is that purchases now settle through normal AWS accounts on both sides, which AWS says gives enterprises the security and auditability they expect [1]. In AWS’s walkthrough, a research agent finds a paid search tool and pays for one request with nothing set up in advance with that seller [1].
How a purchase works
The agent calls a seller’s endpoint with no payment and gets back HTTP 402 with a signed quote in the PAYMENT-REQUIRED header [1]. AWS Marketplace checks that signature against the seller’s registered key, so a quote with a changed price is rejected [1]. The agent passes the quote to the ProcessPayment API with the type AWS_BILLING_X402 [1]. If the session still has budget, AgentCore payments returns a payment token; if not, the call fails and nothing is charged [1]. The agent then retries the request with the token in the PAYMENT-SIGNATURE header and receives the content [1]. Tokens are valid for about five minutes [1].
The first purchase from a seller creates an agreement between the AWS account and that seller, and later purchases are tracked against it as AWS Marketplace line items [1]. Settlement runs asynchronously and appears on the monthly AWS bill [1].
Controls and discovery
Developers create a Payment Manager with an AWS Billing connector, which needs the service-linked role AWSServiceRoleForMarketplaceAgenticCommerce [1]. Spending limits and approved sellers are set with AgentCore policy, and transactions appear in AWS CloudTrail and AWS Cost Explorer [1]. Organizations using Private Marketplace limit agents to the products it allows [1]. An optional AWS Marketplace connector in AgentCore Gateway helps agents find listings and their endpoints [1].
Limits
At launch, AWS Billing supports the x402 exact scheme, in which the seller quotes a fixed price per request [1]. In AWS’s sample, a research agent paid $0.01 for one Tavily search, with a session budget of $0.05 and a per-request cap of $0.02 [1]. The sample code is in the agentcore-samples GitHub repository [1].
Sources
Written and checked by AI from the sources below
Fact-checked by gpt-6.1-sol on · Editorial policy



