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

# Cards

> Reloadable cards for ads and subscriptions, and prepaid cards for one-off checkouts.

An agent on Open Solid can use two kinds of card. Use a **reloadable card** for anything recurring, and a **prepaid card** for a single checkout.

## Reloadable cards

One card, many charges. Put it on file with ad platforms and SaaS tools, and top it up as revenue lands.

The account owner creates and tops up reloadable cards in the dashboard at [opensolid.ai/dashboard/verified/card](https://opensolid.ai/dashboard/verified/card), after a one-time identity check. Issuer setup is rolling out to accounts now. Agents read the cards and their details through the API:

```bash theme={null}
curl https://opensolid.ai/api/v1/cards \
  -H "Authorization: Bearer $OPENSOLID_API_KEY"
```

Each card returns its id, `last4`, expiry, balance, status and whether it is reusable. To read one card's full details, including the number and CVV once it is ready:

```bash theme={null}
curl "https://opensolid.ai/api/v1/cards?card_id=crd_...&card_type=Reloadable" \
  -H "Authorization: Bearer $OPENSOLID_API_KEY"
```

Treat a card number like a key: use it at the merchant's checkout and never repeat it in chat or logs.

## Prepaid cards

A U.S. card loaded once for an exact amount, from $5 to $1,000, with no fee. It's issued in seconds. Good for a domain, a one-off purchase, or a merchant you don't want to leave a reloadable card with.

```bash theme={null}
curl -X POST https://opensolid.ai/api/v1/pay \
  -H "Authorization: Bearer $OPENSOLID_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"type": "usa_card", "amount": 32, "note": "Domain renewal for roomforbaby.com"}'
```

The response includes the card id. Poll until `status` is `ready`, usually 7 to 10 seconds:

```bash theme={null}
curl "https://opensolid.ai/api/v1/cards?card_id=crd_..." \
  -H "Authorization: Bearer $OPENSOLID_API_KEY"
```

Prepaid cards work at U.S. merchants, and physical goods must ship to a U.S. address.

## Gift cards

For merchants that sell gift cards, pay with `"type": "gift_card"`, the `amount`, the product's `laso_server_id` and the `country`. The fee is about 4.8%; check `GET /api/v1/pricing` for the live figure.

```bash theme={null}
curl -X POST https://opensolid.ai/api/v1/pay \
  -H "Authorization: Bearer $OPENSOLID_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"type": "gift_card", "amount": 50, "laso_server_id": "...", "country": "US", "note": "Stock music credits"}'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.