> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Checkout Node

> Automate purchases from Amazon and Shopify using digital money

The Crossmint Checkout node enables you to automate purchasing physical products using digital money like USDC. This is a two-step process: first create an order, then pay for it.

## Operations

### Create Order

Creates a purchase order for a product from Amazon or Shopify.

**Parameters:**

* **Platform** — `amazon` or `shopify`
* **Product Identifier** — Product URL or ASIN/ID (e.g., Amazon URL or `B01DFSADS2`)
* **Recipient Email** — For order confirmation
* **Recipient Name** — Full name for shipping
* **Address Line 1/2** — Street address
* **City** — City name
* **State** — State/province (optional)
* **Postal Code** — ZIP/postal code
* **Country** — Country code
* **Environment** — Staging or Production
* **Payment Method** — Blockchain network (e.g., `solana`)
* **Payment Currency** — Token to use (e.g., `usdc`)
* **Payer Address** — Wallet address that will pay for the order

**Response:**

The response includes a `serializedTransaction` that you'll need for the next step.

### Pay Order

Completes the payment for a previously created order using a wallet's private key.

**Parameters:**

* **Serialized Transaction** — From the Create Order response
* **Payment Chain** — Network for payment (e.g., `solana`)
* **Payer Wallet Address** — Address of the paying wallet
* **Private Key** — Private key to authorize the payment

**Response:**

Returns the payment status and transaction details.

## Complete Workflow Example

Here's a typical workflow for purchasing an item:

<Steps>
  <Step title="Create Order">
    Use the **Create Order** operation with:

    * Product URL or ID
    * Shipping details
    * Payment method and payer wallet
  </Step>

  <Step title="Extract Transaction">
    From the Create Order response, extract the `serializedTransaction` field
  </Step>

  <Step title="Pay Order">
    Use the **Pay Order** operation with:

    * The serialized transaction
    * The payer wallet's private key
    * Payment chain information
  </Step>

  <Step title="Verify Completion">
    Check the response to confirm the payment was successful
  </Step>
</Steps>

## Supported Platforms

### Amazon

Purchase any product available on Amazon using cryptocurrency.

**Product Identifier Formats:**

* Full Amazon URL: `https://www.amazon.com/dp/B08N5WRWNW`
* ASIN only: `B08N5WRWNW`

### Shopify

Purchase products from Shopify-powered stores.

**Product Identifier Formats:**

* Product URL from the Shopify store

## Payment Methods

Currently supported:

* **Solana** — Pay with USDC or other SPL tokens on Solana

## Testing

<Callout type="info">
  Always test your checkout workflows in the **Staging** environment before moving to production. Use test USDC from the [Circle Faucet](https://faucet.circle.com/).
</Callout>

## Security Considerations

<Callout type="warning">
  <b>Private Key Security</b>

  The Pay Order operation requires a private key to sign transactions. Follow these security practices:

  1. Store private keys in n8n environment variables, never hardcode them
  2. Use different keys for staging vs production
  3. Only use keys with the minimum required balance
  4. Monitor wallet activity regularly
  5. Never share private keys or expose them in logs
</Callout>

## Example Use Cases

* **AI Shopping Assistants** — Build chatbots that can purchase items on behalf of users
* **Automated Reordering** — Set up workflows that automatically reorder supplies when inventory is low
* **Reward Systems** — Create systems that automatically purchase and ship rewards to users
* **Subscription Boxes** — Automate recurring purchases and deliveries

## Next Steps

<CardGroup cols={2}>
  <Card title="Wallets Node" icon="wallet" href="/solutions/n8n/nodes/wallets">
    Learn about managing wallets for payments
  </Card>

  <Card title="Example Workflows" icon="diagram-project" href="/solutions/n8n/example-workflows">
    See the Checkout node in action with complete examples
  </Card>

  <Card title="Source Code" icon="github" href="https://github.com/crossmint/n8n-nodes-crossmint">
    Browse source code
  </Card>

  <Card title="Ask ChatGPT" icon="comments" href="https://chatgpt.com/g/g-68d13ccc81ac8191a0c3716ce980faff-n8n-crossmint-expert" rel="noopener noreferrer">
    Ask Crossmint Expert GPT for n8n guidance
  </Card>
</CardGroup>
