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

# Fees and limits

> What each card sale and withdrawal costs, your own fees on top, and the limits that apply to your workspace.

Pocketsflow's fees are fixed by your agreement. They're shown, read-only,
in **Settings > Fees**, and no one in your workspace can change them. Your
own fees, per sale and per withdrawal, are yours to set there. Sellers see
one fee: ours plus yours.

## Card checkout

| | Default |
| - | - |
| Pocketsflow | 1% of each card sale (fixed) |
| Your fee per sale | 0%, set by you from 0 to 20% |
| Sellers pay | Pocketsflow + your fee, plus card processing |

Card processing is charged on top by the payments partner and itemized on
each order.

### Your fee per sale

Owners set it in **Settings > Fees**, or over the API:

```bash theme={"system"}
curl -X PUT https://api.pocketsflow.com/v1/enterprise/settings/fees \
  -H "Authorization: Bearer ek_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "tenantMarkupRate": 0.02 }'
```

With 2%, a $100 sale pays $3.00: $1.00 to Pocketsflow and $2.00 to you. A
change applies from the next checkout, never to a sale already paid. Your part
accrues in [Earnings](https://docs.pocketsflow.com/enterprise/earnings.md) and is settled to you.

## Bank withdrawals

Pocketsflow's fee is \*\*1% of the amount or $5, whichever is lower**: $5 is a
cap, reached at \$500.

| Withdrawal | Pocketsflow's fee |
| - | - |
| \$100 | \$1.00 |
| \$500 | \$5.00 |
| \$1,000 | \$5.00 |
| \$2,000 | \$5.00 |

### Your own withdrawal fee

On top of ours, you can charge sellers your own fee on each withdrawal: a rate
(0 to 10%) and a fixed amount ($0 to $100). Owners set it in **Settings >
Fees**, or over the API with `PUT /v1/enterprise/settings/fees`:

```bash theme={"system"}
curl -X PUT https://api.pocketsflow.com/v1/enterprise/settings/fees \
  -H "Authorization: Bearer ek_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "tenantWithdrawalRate": 0.005, "tenantWithdrawalFixedUsd": 1 }'
```

Rates are fractions: `0.005` is 0.5%. With that setting, a $1,000 withdrawal
pays $11.00: $5.00 to Pocketsflow and $6.00 to you. Sellers see one fee.

| Withdrawal | Pocketsflow | You (0.5% + \$1) | Seller pays |
| - | - | - | - |
| \$100 | \$1.00 | \$1.50 | \$2.50 |
| \$500 | \$5.00 | \$3.50 | \$8.50 |
| \$1,000 | \$5.00 | \$6.00 | \$11.00 |

The fee is shown on each withdrawal request, split in two, before you approve
it. Your part goes to [Earnings](https://docs.pocketsflow.com/enterprise/earnings.md) (kind
`withdrawal_fee`) when the withdrawal is paid. A change applies to the next
withdrawal request, never to one already waiting.

## Show your pricing on your own site

Your site's public settings carry what your sellers pay, ours and yours
added together (never the split), so your marketing pages can show it
without a key:

```bash theme={"system"}
curl "https://api.pocketsflow.com/enterprise/tenant?host=app.acmepay.com"
```

```json theme={"system"}
"pricing": {
  "currency": "USD",
  "sale": { "rate": 0.03 },
  "withdrawal": { "rate": 0.01, "flatUsd": 5, "rule": "lower", "plusRate": 0.005, "plusFixedUsd": 1 },
  "examples": [{ "amountUsd": 100, "saleFeeUsd": "3.00", "withdrawalFeeUsd": "2.50" }]
}
```

A seller pays `sale.rate` of each card sale, plus card processing. A
withdrawal pays `rate` × amount or `flatUsd`, whichever is `rule`, plus
`plusRate` × amount + `plusFixedUsd`. Cache it for a few minutes. It
follows your **Settings > Fees** within a minute.

## Limits

| What | Limit |
| - | - |
| Enterprise API | 200 requests a minute per IP |
| Payments partner API | 120 calls a minute per key |
| API keys | 20 active per workspace |
| Admin passwords | 12 characters or more; sessions last 12 hours |
| Seller passwords | 10 characters or more |
| Seller sign-in | 10 a minute per IP |
| Seller sign-up | 5 a minute per IP |
| Email codes | 3 a minute per email; valid 10 minutes, 5 tries |
| Favicon | 1 MB; PNG, SVG, ICO or WebP |
| SEO | Title 70 characters, description 160 |
| Button text contrast | 4.5:1 or more |
| Account prefix | 2 to 12 characters, A-Z and 0-9 |


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