---
name: doordash.x402.fi
description: doordash.x402.fi is a single-purpose payment endpoint that processes a fixed $50 USDC purchase on Solana mainnet to acquire a DoorDash $50 gift card or store credit. It implements the x402 paywall protocol with an exact-amount scheme and a 5-minute settlement window. No other denominations, networks, or merchants are supported.
host: doordash.x402.fi
---

# doordash.x402.fi

This host serves agents that need to programmatically buy a DoorDash $50 gift card using USDC on Solana mainnet via the x402 protocol. It is narrowly scoped: one merchant, one denomination, one network. It is not a general gift card marketplace or a multi-chain payment router — it is a direct checkout endpoint for this specific product.

## When to use this host

Use this host when an agent needs to purchase exactly a $50 DoorDash gift card or store credit and can pay 50 USDC on Solana mainnet. Do not use it for any other amount (e.g., $25 or $100 DoorDash cards), for other food delivery platforms (Uber Eats, Grubhub), for non-Solana networks (Ethereum, Base, etc.), or for variable-amount or partial payments. If the agent needs a general gift card purchasing service across multiple merchants or denominations, a broader gift card API host should be used instead. Callers must supply a valid Solana fee payer address and a recognized apiId in the extra fields.

## Capabilities

### DoorDash Gift Card Purchase

Submits an exact 50 USDC payment on Solana mainnet through the x402 protocol to purchase a DoorDash $50 gift card or store credit, returning a transaction signature on success.

- **`purchase-doordash-50-gift`** — Submits a $50 USDC payment on Solana mainnet to purchase a DoorDash $50 gift or store credit, using an exact-amount x402 paywall scheme with a 5-minute settlement window.

## Skill reference

### `purchase-doordash-50-gift`

**DoorDash $50 Solana Checkout** — Submits a $50 USDC payment on Solana mainnet to purchase a DoorDash $50 gift or store credit, using an exact-amount x402 paywall scheme with a 5-minute settlement window.

*Use when:* Use when an agent needs to programmatically purchase a $50 DoorDash gift card or store credit by paying exactly 50 USDC on Solana mainnet via the x402 protocol.

*Not for:* Do not use for partial payments, variable amounts, or non-DoorDash purchases. Not suitable for networks other than Solana mainnet (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp).

**Inputs:**

- `asset` (string, required) — SPL token mint address for the payment asset. Must be USDC on Solana mainnet.
- `payTo` (string, required) — Solana wallet address that receives the payment.
- `amount` (string, required) — Exact payment amount in USDC atomic units (6 decimals). Must be exactly 50000000 (= $50.00).
- `scheme` (string, required) — Payment scheme. Must be 'exact' — no partial or approximate amounts accepted.
- `network` (string, required) — Target blockchain network identifier.
- `maxTimeoutSeconds` (integer, required) — Maximum seconds allowed for payment settlement. Fixed at 300 (5 minutes).
- `extra.feePayer` (string) — Optional Solana address to designate as the transaction fee payer.
- `extra.apiId` (string) — API identifier for this store listing, used internally by the x402 host.

**Returns:** Returns a success flag and, on successful settlement, a Solana transaction signature confirming the exact 50 USDC transfer to the DoorDash store wallet.

**Example:** `{"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","payTo":"Ak3Zw57WFjq94FGuX4sWNetqiCpbWQgmLoNmfRzEsadx","amount":"50000000","scheme":"exact","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","maxTimeoutSeconds":300,"extra":{"apiId":"1773826800742","feePayer":"4x4ZhcqiT1FnirM8Ne97iVupkN4NcQgc2YYbE2jDZbZn","features":{"xSettlementAccountSupported":true}}}`

---
