The agentic finance platform
.png)
Let your agent buy anything online
Let agents make purchases for users with just a few lines of code.
Let's Chat [Read the Docs
Built in partnership with global leaders:
Enable agentic commerce with one integration.
We manage credentials, payments, merchant integrations, and compliance — so you can focus entirely on the user experience.
Flexible Payment Methods
Credit & Debit Cards
Support for all card networks. Cards tokenized and stored securely by Crossmint and Basis Theory.
Purchases enabled using Visa Intelligence Commerce or Mastercard Agent Pay.
Stablecoins
Native support for stablecoins like USDC
Contact us [Read the Docs
Shop over a billion products
No seller onboarding. No platform restrictions. Just shop.
Supported Websites
All products on Amazon, Shopify stores and any other website with guest checkout
Contact us [Read the Docs
How it works
Give your agent a card
Users enter credit or debit card details directly in your app's interface — no redirects, no extra steps.
Security & compliance
Crossmint securely stores credentials, so you never handle sensitive payment data or worry about PCI compliance.
Make a purchase
When a user signals intent to buy, your agent calls our API and Crossmint executes the payment instantly at any merchant.
Manage your order
A receipt is delivered to the buyer's inbox and order information can be surfaced in the app's interface
All these tools are one API away
Retrieve Credentials](/content/products/agentic-checkout#w-tabs-0-data-w-pane-0/index.html)
Tokenize Card](/content/products/agentic-checkout#w-tabs-0-data-w-pane-1/index.html)
Create an order](/content/products/agentic-checkout#w-tabs-0-data-w-pane-2/index.html)
Complete Order](/content/products/agentic-checkout#w-tabs-0-data-w-pane-3/index.html)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| consttokenizeSetup=awaitfetch('https://staging.crossmint.com/api/unstable/setupTokenizeCard',{ | |
| method: "GET", | |
| }) |
view raw AF-retrieve-credentials.js hosted with ❤ by GitHub
| "use client"; | |
| importReact,{useRef,useState,FormEvent}from"react"; | |
| import{ | |
| BasisTheoryProvider, | |
| useBasisTheory, | |
| CardElement, | |
| CardNumberElement, | |
| CardExpirationDateElement, | |
| CardVerificationCodeElement, | |
| }from"@basis-theory/basis-theory-react"; | |
| // Obtained from Step 1 | |
| constPUBLIC_KEY=process.env.NEXT_PUBLIC_BT_PUBLIC_KEY!; | |
| exportdefaultfunctionCheckoutPage(){ | |
| // Initialize with your API key using the hook | |
| const{ bt }=useBasisTheory(PUBLIC_KEY,{elements: true}); | |
| if(!bt){ | |
| return Loading... ; |
|
| } | |
| return( | |
| <BasisTheoryProviderbt={bt}> | |
| ); | |
| } |
view raw AF-tokenize-card.js hosted with ❤ by GitHub
| constorderRequest=awaitfetch('https://staging.crossmint.com/api/2022-06-09/orders',{ | |
| method: "POST", | |
| headers: { | |
| "x-api-key": "your_api_key_here", | |
| "Content-Type": "application/json" | |
| }, | |
| body: { | |
| "recipient": { | |
| "email": "john.d@example.com", | |
| "physicalAddress": { | |
| "name": "John D", | |
| "line1": "123 ABC Street", | |
| "city": "New York City", | |
| "state": "NY", | |
| "postalCode": "10007", | |
| "country": "US" | |
| } | |
| }, | |
| "locale": "en-US", | |
| "payment": { | |
| "receiptEmail": "john.d@example.com", | |
| "method": "card-token" | |
| }, | |
| "lineItems": { | |
| "productLocator": "url:https://www.nike.com/t/maverick-valor-course-tint-sunglasses-1TrBw8KB/IF0969X-021" | |
| } | |
| } | |
| }); |
view raw AF-create-order.js hosted with ❤ by GitHub
constprocessPayment=awaitfetch(https://staging.crossmint.com/api/unstable/orders/${orderId}/payment,{ |
|
| method: "POST", | |
| headers: { | |
| "x-api-key": "your_api_key_here", | |
| "Content-Type": "application/json" | |
| }, | |
| body: { | |
| "token": "9f243106-d4a4-4327-a7cb-e3ec22031ed2" | |
// If VIC, token:vic:${paymentIntent} |
|
| } | |
| }); |
view raw AF-complete-order.js hosted with ❤ by GitHub
Get started in minutes Scale without limits
Contact us [Read the Docs