# Going live

Live keys and production webhooks are not a side effect of verification. They need an active organization and a production API grant from Payezy.


## Checklist

- [ ] Your organization (or platform) is **active**: verification approved.
- [ ] Payezy staff granted **production API access**. Ask your Payezy contact; it needs two approvers on Payezy's side and is recorded in the audit log.
- [ ] Production keys are created per system, with only the scopes each needs, an **IP allowlist** and an expiry you will rotate before.
- [ ] Keys live in a secrets manager. None ship in a mobile or web app.
- [ ] A production webhook endpoint is registered, and you **verify every signature** and reject timestamps older than five minutes.
- [ ] Every money-moving request sends a unique `Idempotency-Key`, stored with your own record.
- [ ] You handle `pending_approval`, `failed` and `returned` payment statuses, not just `completed`.
- [ ] You branch on error `code`, show limits to people before they submit, and log `request_id`.
- [ ] Platforms: you send customers' KYC/KYB with every required document, attest the account agreement only after the customer accepted it, and listen for `platform_customer.updated`.

## What the grant changes

| | Before the grant | After |
| --- | --- | --- |
| Create `pz_live_` keys | `api_access_revoked` | Allowed |
| Calls with existing live keys | `403 api_access_revoked` | Allowed, within each key's scopes |
| Register or re-enable production webhooks | Refused | Allowed |

If your organization is later restricted, suspended or closed, live keys fail the same way until it is active again. Returning to `active` resumes the existing grant.

> **Payezy is not a money transmitter. Custody and money movement happen at regulated partners. Approval policies, limits and screening apply to every API call exactly as they do in the app.**
