- A platform key that can create buyers (
org.tenants.write). Request access to get one. Save it asSAPIOM_PLATFORM_KEY. - An agent client that can connect to remote MCP servers. The examples use Claude Code.
1
Create a buyer
A buyer represents one of your users. Use your own ID for that user as Save the
externalId:id from the response as BUYER_ID.2
Create a key for the buyer
plainKey from the response as SAPIOM_BUYER_KEY. It is shown only once.3
Save a card for the buyer
Create a setup link with the buyer’s key:Open the
url from the response and save a card. In production, you send this link to your user instead.4
Connect your agent as the buyer
5
Check a merchant
Ask your agent: “Can Sapiom buy from shop.example?”, with a real store’s domain. The answer is
supported, unsupported or unknown. supported means the store offers UCP checkout.Next steps
Authorize a transaction
Send a merchant checkout and get the buyer’s approval.
Manage buyers
Set up buyers for real users in production.