# Billing

Manage Shredstream credit and invoices, SWQoS payment arrangements, rebates and payout wallets

Source: https://zerocopy.sh/docs/account/billing

SWQoS tips are paid in SOL, or in USDC, USDT or WSOL at their SOL value
([tips in tokens](/docs/swqos/tips#tip-in-tokens)). Shredstream uses prepaid credit in the console.
Adding prepaid credit does not settle a declared tip invoice.

## Credit and invoices [#credit]

Open **Billing** in the [console](https://console.zerocopy.sh) to review your team's
credit balance, current spending and credit history. Add credit through the payment
form, and use the payment method controls to manage the card and billing details.

You can set a low credit threshold and enable automatic top up with a fixed amount
and an optional monthly limit. Automatic top up requires a saved card and acceptance
of the applicable terms. Keep enough usable credit for delivery to continue while
payments are processed.

The **Invoices** tab lists Stripe invoices with their amount, due date and status.
Use a row's menu to open the hosted invoice or download its PDF when available.
These invoices are separate from SWQoS declared tip invoices.

## Shredstream billing [#shredstream]

Shredstream is billed per IP-day from prepaid credit. An IP-day is one receiver IPv4
address in one metro with delivery on during a UTC day. More ports on the same IP in
the same metro cost nothing more; the same IP in another metro counts again. The
[pricing page](https://zerocopy.sh/pricing) has the current rate. The per-day rate
shown in the console is approximate: charges use the full 30-IP-day price divided by 30.

Billing starts on the day a receiver becomes active and follows ZeroCopy's delivery
records. The number of packets your application processes does not change the charge.

When prepaid credit runs out, delivery stops until a top up provides enough usable
credit. SWQoS sending does not need this credit and keeps working. Usage already
under way can take the balance below
zero, and that amount comes off your next credit purchase
([Terms 4.3](https://zerocopy.sh/terms#fees-3)).

### Delivery periods [#delivery-periods]

Your team's **Shredstream** page lists the last 30 days of delivery for each receiver,
with its metro, IP, start, end and duration. IP-days are counted from these periods.
Changing an active receiver's address or metro starts a new period.

### Billed days [#billed-days]

The **Usage** tab shows measured IP-days for the last 30 UTC days. Before a day is
reported for billing, its cost is an estimate. After reporting, the amount uses the
reported quantity. A reported day is not itself an invoice.

For packet rates and delivery errors, see [Shredstream monitoring](/docs/shredstream/monitoring).

## SWQoS declared tips [#declared-tips]

Declared tips are off by default. Use [Requests in the console](https://console.zerocopy.sh) to ask us to enable
your key and arrange payment before using them. They are separate from prepaid
Shredstream credit and from rebates. See [tips](/docs/swqos/tips#declared-tips) for choosing
between a transfer inside your transaction and a declared amount.

An overdue payment can suspend submissions with the key. They return
[`payment_required`](/docs/reference/errors#payment_required), while queries remain available.
Resolve the outstanding payment through your agreed billing setup or contact support.
Adding a transfer inside the transaction does not bypass a payment suspension.

## Rebates [#rebates]

Rebates return a discretionary share of SWQoS tips, in SOL, to your team's registered
wallet. Tips paid in USDC or USDT count at the SOL their conversion yields; ZeroCopy
converts them to SOL shortly after they land. WSOL counts 1:1. Credits are calculated each
Solana epoch and become claimable after at least 24 hours. No rebate rate, amount or
continued rebate program is guaranteed. See [Terms 4.5](https://zerocopy.sh/terms#fees-5).

### Rebate ownership [#identity]

Rebates belong to your team. Keep access to the payout wallet: you need it to approve later wallet changes.

### Choose a wallet [#wallet-setup]

A team admin opens **Settings > Payout wallet** in the [console](https://console.zerocopy.sh).
Partners can also use the payout wallet panel on **White label > Overview**.

To set up the wallet:

1. Enter a Solana address you control, or choose **Connect wallet** to fill in the connected wallet's address.
2. Choose **Save address**.
3. Wait while the panel shows **Setting up**. Rebates start once setup is complete; you can still change the saved address while setup is pending.

Initial setup does not ask the wallet to sign a transfer.

#### Change the wallet [#change-wallet]

1. Choose **Change wallet**.
2. Connect the current payout wallet and enter the new address.
3. Choose **Review change**, then **Approve in wallet**. The current wallet signs the change and pays the network fee.
4. Wait for confirmation before disconnecting.

All unpaid rebates go to the new wallet, including amounts already earned. If you lose access to the current wallet, ask for help on [Discord](https://discord.gg/zerocopy); entering a new address cannot approve a change.

If the panel says the saved wallet is out of date, use **Save wallet** to synchronize it with the confirmed destination. This does not change the payout wallet again.

### Rebate amounts [#credits]

Figures in the console are read from the rebate account on chain:

| Amount | Meaning |
| --- | --- |
| Ready for automatic payout | Credit eligible for payout but not yet transferred to your wallet |
| Unclaimed | All credited SOL not yet paid, including pending credit |
| Total credited | Total SOL credited to the rebate account |
| Claimed to date | Total SOL paid to the payout wallet |
| Pending | Credit that is not yet claimable, shown with its **Matures** time |
| Most recent credit | Amount of the last credit to the account, which may be from an earlier epoch |

New credit waits at least 24 hours before it becomes claimable. Additional credit can
extend the wait for amounts still pending, but does not delay amounts already claimable.

### Receiving payment [#payouts]

Rebates are paid to the registered wallet automatically. You do not need to submit a claim or send another tip. Credit becoming claimable does not mean it has been transferred or guarantee a payout time.

Keep the wallet panel up to date. If setup, a wallet change or a payout needs attention, ask for help on [Discord](https://discord.gg/zerocopy). Closing a team stops new earnings; earlier earnings remain payable under your terms.
