# Going live

Your integration is ready when all of these hold.

## Creating pay-ins

- [ ] Pay-ins are created **from your server**. The secret key never reaches a browser or app.
- [ ] Each deposit has its own `orderId`, and a timed-out create call is retried with the **same** `orderId`.
- [ ] `transactionId` is stored with your order.
- [ ] The user is redirected to `paymentUrl` in the browser they'll pay from, and nothing else opens it first.

## Webhooks

- [ ] `webhookUrl` is HTTPS, on the public internet, and answers 2xx within 8 seconds.
- [ ] Every webhook's **signature is checked** with the signing key, over the raw body, and old timestamps (over 5 minutes) are refused.
- [ ] Crediting happens **once**, only on `approved`, keyed on `transactionId`, after checking `orderId`, `userId` and `amount`.
- [ ] `rejected` and `cancelled` are shown to the user, who can start a new deposit.

## Reconciling

- [ ] Deposits still in `progress` or `pending` after an hour are checked with [Pay-in status](https://docs.royalpe.site/payins/status).
- [ ] Your support team can [submit a UTR](https://docs.royalpe.site/payins/manual-utr) a user sends them.

## Keys

- [ ] Keys are kept in a secret store or environment variables, not in code.
- [ ] You know how to rotate the secret key (merchant portal → **Rotate keys**).

---

Source: https://docs.royalpe.site/going-live · All docs: https://docs.royalpe.site/llms-full.txt · Updated 2026-11-30
