RecipesGoing live
Going live
Production readiness checklist before switching from sandbox to production credentials.
Before switching from sandbox to production credentials, work through this checklist. Every item exists because we have seen it cause an incident.
Authentication
Section titled “Authentication”- Production credentials are scoped to your tenant. Never share them across environments.
- Rotate the
clientSecretimmediately if it leaks. Token refresh continues to work for in-flight tokens until they expire. - Validate that your access token caching honours
expiresInand refreshes ahead of expiry, not after.
See Authentication.
Webhooks
Section titled “Webhooks”- Register your production webhook URL through the dashboard before the first production transaction. Sandbox URLs are not auto-promoted.
- Configure a
secretKeyon the webhook so deliveries arrive signed. Verify thesignaturefield on every request before processing the transaction data. - Make your endpoint idempotent: a single
(eventType, transaction.id)may be delivered more than once. - Respond
2xxwithin 10 seconds. Defer heavy work to a queue. - Handle unknown
eventTypevalues defensively — the platform adds new events without major version bumps.
See Webhooks.
Error handling
Section titled “Error handling”- Branch on the response
code(ortype), not ondetail. Thedetailwording can change. - On
5xxresponses: retry with exponential backoff. Start at 1 second, double on each attempt, cap at 32 seconds, give up after 5 attempts. - On
429 tooManyRequests: respect any rate-limit headers and back off. - Capture the
traceIdon every error response and surface it in your support tooling.
See Errors.
Compliance
Section titled “Compliance”- Maintain a
Customerrecord per end user. Auto-created customers default toBASICand need to be promoted as documentation is approved. - Subscribe to
payment.requiresReviewand surface the required document upload to your operator dashboard within minutes — every blocked payment delays settlement. - Subscribe to
customer.levelChangedso your dashboard reflects when a customer transitions to “documented” and the review gate stops applying. - Document review thresholds and minimum amounts before launch. Confirm the configured values for your account by emailing hola@conomyhq.com.
See Compliance.
Observability
Section titled “Observability”- Log the
traceIdfrom every API response. - Log the full webhook payload before processing — invaluable when reconstructing incidents.
- Monitor your settlement webhook backlog; an unhealthy consumer surfaces here first.
Switching environments
Section titled “Switching environments”https://api.conomyhq.com/sandboxhttps://api.conomyhq.comKeep sandbox running in parallel for at least one full settlement cycle so you can compare behaviour side by side.
Final checks
Section titled “Final checks”- Production credentials provisioned and rotated post-issuance.
- Webhook URL registered with
secretKeyconfigured. - Webhook handler is idempotent and responds within 10 seconds.
- Error handler retries
5xxwith exponential backoff and surfacestraceId. - Customer + document flow tested in sandbox end to end.
-
payment.requiresReviewreaches your operator dashboard. - Settlement and refund flows tested in sandbox.
- Observability dashboards include the production tenant.