---
title: "Deploy arispay-x402-seller-template"
description: "Deploy a no-signup x402 seller on Base mainnet with ArisPay."
category: "Starters"
url: https://railway.com/deploy/arispay-x402-seller-template
---

# Deploy arispay-x402-seller-template

Deploy a no-signup x402 seller on Base mainnet with ArisPay.

**[Deploy arispay-x402-seller-template on Railway](https://railway.com/template/arispay-x402-seller-template)**

- **Creator:** Steve Milton's Projects
- **Category:** Starters
- **Total deploys:** 1

## Template content

### x402-seller

- **Source:** https://github.com/arispay-inc/arispay-x402
- **Start command:** `npm start`
- **Health check:** /health
- **Public domain:** Yes

## Documentation

# Deploy and Host ArisPay x402 Seller

Deploy a no-signup x402 v2 seller that charges $0.01 USDC on Base mainnet and
uses `https://facilitator.arispay.app`.

## About Hosting ArisPay x402 Seller

The template runs one Express service with:

- `GET /health` for an unpaid health check.
- `GET /api/paid` for an x402-protected resource.
- Base mainnet (`eip155:8453`) and USDC.
- x402 v2 Bazaar discovery metadata.

There is no ArisPay account, API key, database, custody, or application secret.
The only required value is `PAY_TO_ADDRESS`, the public EVM address that
receives settled USDC.

## Why Deploy ArisPay x402 Seller

Use this template to move an x402 test project to a public Base mainnet seller
without creating a facilitator account or managing a facilitator credential.
The deployed service is a small, inspectable starting point backed by public
source.

## Common Use Cases

- Verify a wallet or agent can discover an x402 v2 payment requirement.
- Publish a minimal paid API endpoint on Base mainnet.
- Test Bazaar discovery metadata.
- Start from a working seller before adding application-specific logic.

## Dependencies for ArisPay x402 Seller

The template uses Node.js, Express, `@x402/express`, and `@x402/evm`.

### Deployment Dependencies

Set `PAY_TO_ADDRESS` to the public `0x` EVM address that should receive USDC.
`FACILITATOR_URL` is optional and defaults to
`https://facilitator.arispay.app`.

Do not add an ArisPay key or a wallet private key. This seller template needs
neither.

After Railway reports the service healthy and assigns its HTTPS domain, run:

```bash
export SELLER_URL=https://YOUR-SERVICE.up.railway.app

curl --fail --silent --show-error "$SELLER_URL/health"
npm exec --yes --package=paygate@5.5.0 -- paygate doctor "$SELLER_URL/api/paid"
```

The doctor command is read-only. It sends no payment or authorization header
and makes no payment.


## Similar templates

- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [caring-vibrancy](https://railway.com/deploy/caring-vibrancy) — Deploy and Host caring-vibrancy with Railway
- [Appsmith](https://railway.com/deploy/appsmith-1) — Low-code platform for internal tools, dashboards, and admin panels.

Open this page in a browser: https://railway.com/deploy/arispay-x402-seller-template
