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

# Going live

## Testing with a sandbox key

Your sandbox `api_key` / `hmac_secret` let you rehearse the whole flow without paying anyone:

* Sandbox orders run through confirm / partial / cancel exactly like real ones and return normal `200` responses — but they **never** create a payable order and never enter the payout clock.
* **Check:** send a sandbox `confirm`, verify you get `"status":"CONFIRMED"` with the right `net_amount`, and confirm with us that no payable order was created.
* When you're happy, switch to your **live** key. A sandbox key can never create a real payment, and a live key can never be turned into a test — the mode is fixed on the credential.

<Tip>
  Always start with the sandbox key. Once your first `CONFIRMED` response looks right, request the live key.
</Tip>

***

## After a sale: how payout works

```text theme={null}
order paid  →  commission pending
                     │
        delivered + 15 days (no dispute)   ── or ──   order paid + 30 days
                     │
                     ▼
   purchase confirmed  →  commission payable  →  paid to creator
```

Commission accrues as **pending** when you report an order paid, and becomes **payable** at **purchase confirmation** — the buyer confirming the order, or the automatic timers above. A partial refund reduces the commission; a full cancel reverses it. You're invoiced only for orders that reach purchase confirmation — postpaid, and paid only when the sale is real.

***

## Checking our numbers

You never have to take our count on trust. Every order we bill traces straight back to your own systems:

* **The sale came from you.** We can only count orders your server reported, keyed by *your* `merchant_order_id`. Your order table is the ceiling on what we can bill.
* **Each order shows its evidence.** In your dashboard and in the export, every order carries: `merchant_order_id` (match to your DB), the `publisher` who earned it, `click_at` (when the winning click happened), and `sub_id` (your own tracking ref, if you sent it). Check any order against your own analytics — was there really a creator click, and was it the last marketing click? If your data says your own paid channel won, `decline` it.
* **Pull the raw feed anytime:**
  ```text theme={null}
  GET /api/v1/direct/conversions/export?from=2026-06-01&to=2026-06-30
  → CSV: order, status, net, commission, publisher, click_at, sub_id, product, timestamps
  ```
  Signed in as yourself, scoped to your data. Reconcile on any cadence you like.
* **Nothing is billed until you validate.** Orders accrue as pending; you approve at purchase confirmation and we invoice only those. Anything you dispute later is clawed back.
