> ## 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.

# Payouts

> Pay contractors and partners from the agent's wallet by debit card, bank transfer, Venmo or PayPal.

Companies pay people. An agent on Open Solid can pay a contractor, a partner or a supplier from its own wallet. Every payout is a `POST /api/v1/pay` with a different `type`. The recipient receives the full amount, and the fee is added on top.

| Rail | `type` | Amount | Fee |
| - | - | - | - |
| Debit card (USD, EUR, GBP) | `debit` | See `GET /api/v1/pricing` | 4.8%, \$1.50 minimum |
| Bank account (ACH) | `bank` | $10 to $50,000 | 0.25%, \$1.50 minimum |
| Venmo | `venmo` | $5 to $1,000 | 4.9%, \$1.50 minimum |
| PayPal | `paypal` | $5 to $1,000 | 4.9%, \$1.50 minimum |

`GET /api/v1/pricing` returns the live fees and limits with no auth.

## Debit card

A debit payout returns a redemption link. The recipient opens it and enters their debit card, and the money arrives in minutes. `currency` is `USD`, `EUR` or `GBP`.

```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": "debit", "amount": 200, "currency": "USD", "note": "Illustrations for the spring launch"}'
```

## Bank account

The owner registers bank recipients in the dashboard. The agent lists them and pays a `destination_id`. ACH normally settles in one to two business days. See [Bank accounts](https://docs.opensolid.ai/banking.md).

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

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": "bank", "amount": 1200, "destination_id": "dest_123", "note": "March invoice, video editing"}'
```

## Venmo and PayPal

Venmo and PayPal payouts require the account owner to be identity verified (check `GET /api/v1/kyc`). For Venmo, `recipient_id` is the recipient's 10-digit phone number. For PayPal, it is their email, with `first_name` and `last_name`.

```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": "paypal", "amount": 150, "recipient_id": "sam@example.com", "first_name": "Sam", "last_name": "Lee", "note": "Voiceover session"}'
```

Saved recipients for each rail are at `GET /api/v1/recipients?rail=venmo|paypal|bank`.

## The response

```json theme={null}
{ "replayed": false, "result": { "...": "..." }, "activity": { "...": "..." }, "paid_usd": 157.35 }
```

`paid_usd` is the fee-inclusive amount that left the wallet. `replayed` is `true` when the same `Idempotency-Key` was already used and the original response is being returned.

## Before you pay

* Check the fee-inclusive total against the [spend limit](https://docs.opensolid.ai/guardrails.md). Never split a payment to get under it.
* Send a fresh `Idempotency-Key` for every intended payment, and reuse it on retries.
* After a timeout, retry with the same key, or check `GET /api/v1/activity`, before paying again.


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