Go-live checklist
Work through this in the sandbox before you switch to production.
Keys and secrets #
- A new key pair for production. Never reuse the sandbox key.
- Private key outside the web root, readable only by your app (
chmod 600), or in a KMS / secrets manager. - Private key never committed to git, never logged, never sent to a browser or app.
- AegisPay's production public key pinned in config (not fetched on every request), and compared with the dashboard.
- Key rotation tried once in the sandbox.
Requests #
- Server clock synced with NTP.
- A new random nonce for every request, including retries.
- An Idempotency-Key on every POST, reused when retrying the same operation.
- JSON serialised once: the signed bytes are the sent bytes.
- Every response's signature verified before you act on it.
- Timeouts and 5xx retried with backoff and the same Idempotency-Key.
Payments and webhooks #
- One
merchant_referenceper order. - Orders fulfilled only from a verified webhook or a verified
GET /v1/payments/{id}, never from the return redirect. - Webhook signature verified on the raw body; events de-duplicated by ID; amount and currency checked.
- Late
payment.succeededafterpayment.expiredhandled. - Webhook endpoint answers within 10 seconds.
- A test payment completed end to end in the sandbox, including the webhook.
Your account #
- Every dashboard user has their own login with 2FA. No shared accounts.
- Your payout bank account is submitted and verified (dashboard → Payouts).
- Roles: give developers
developer, accounts stafffinance. Only owners can change the payout account.
When you're ready, contact AegisPay or your agent for your production merchant ID and dashboard. See also the changelog.