.png)

# Let your agent buy anything online

Let agents make purchases for users with just a few lines of code.

[Let's Chat](/content/contact/sales/index.html) [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](/content/contact/sales/index.html) [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](/content/contact/sales/index.html) [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)

[JavaScript](/content/products/agentic-checkout#w-tabs-1-data-w-pane-0/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](https://github.co/hiddenchars)

[Show hidden characters](/content/products/agentic-checkout/index.html)

|     |     |
| --- | --- |
|  | consttokenizeSetup=awaitfetch('https://staging.crossmint.com/api/unstable/setupTokenizeCard',{ |
|  | method: "GET", |
|  | }) |

[view raw](https://gist.github.com/jose-paella/167184a6682baebcaf08ed1d25e865a7/raw/b18d90e607e41087778aadba3c04e50381424116/AF-retrieve-credentials.js) [AF-retrieve-credentials.js](https://gist.github.com/jose-paella/167184a6682baebcaf08ed1d25e865a7#file-af-retrieve-credentials-js)
hosted with ❤ by [GitHub](https://github.com/)

[JavaScript](/content/products/agentic-checkout#w-tabs-2-data-w-pane-0/index.html)

[Show hidden characters](/content/products/agentic-checkout/index.html)

|     |     |
| --- | --- |
|  | "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<div>Loading...</div>; |
|  | } |
|  | return( |
|  | <BasisTheoryProviderbt={bt}> |
|  | <PaymentForm/> |
|  | </BasisTheoryProvider> |
|  | ); |
|  | } |

[view raw](https://gist.github.com/jose-paella/80874efcc689c473f70b5351cec8ff66/raw/4f08b720cfc6a9612534ce7166037106eceae69e/AF-tokenize-card.js) [AF-tokenize-card.js](https://gist.github.com/jose-paella/80874efcc689c473f70b5351cec8ff66#file-af-tokenize-card-js)
hosted with ❤ by [GitHub](https://github.com/)

[JavaScript](/content/products/agentic-checkout#w-tabs-3-data-w-pane-0/index.html)

[Show hidden characters](/content/products/agentic-checkout/index.html)

|     |     |
| --- | --- |
|  | 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](https://gist.github.com/jose-paella/1509d5a0f25054cf8968d382d6f56a3c/raw/fa0c6132cbf37390cb20556840294f783985031c/AF-create-order.js) [AF-create-order.js](https://gist.github.com/jose-paella/1509d5a0f25054cf8968d382d6f56a3c#file-af-create-order-js)
hosted with ❤ by [GitHub](https://github.com/)

[JavaScript](/content/products/agentic-checkout#w-tabs-4-data-w-pane-0/index.html)

[Show hidden characters](/content/products/agentic-checkout/index.html)

|     |     |
| --- | --- |
|  | 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](https://gist.github.com/jose-paella/dcbc8aa5baf6817a02548b269fb516f0/raw/8f7f6b46ae267e57d9298160a323c4fb28189366/AF-complete-order.js) [AF-complete-order.js](https://gist.github.com/jose-paella/dcbc8aa5baf6817a02548b269fb516f0#file-af-complete-order-js)
hosted with ❤ by [GitHub](https://github.com/)

## Get started in minutes Scale without limits

[Contact us](/content/contact/sales/index.html) [Read the Docs
