Going live
What you need for live keys, and how to switch.
What you need
-
A business at verification level 2 or higher. Level 1 is a confirmed phone number and level 2 adds an approved ID document, both done in the live console. Then:
- a verified business can give a live key any permission, and
- until your business is verified, a live key can hold only
collections.read,collections.writeandevents.read.
This is checked when you create the key and again every time it is exchanged for a token, so a live key stops working if your business drops below level 2 or loses its verification.
-
A tested integration. Your code should handle every status, including
in_reviewandheld, and treat unknown ones as in progress, duplicate webhooks and429.
What you may move depends on your verification level. The console shows your limits. GET /v1/limits returns them too.
Switch to live
- Create an account in the live console and verify your business there. Nothing carries over from test: set up your business profile, settlement accounts and webhook endpoints again in live.
- Create a live key in the live console.
- Register your webhook endpoint in live. Live endpoints and secrets are separate from test.
- In your production config, replace the test client ID and secret with the live ones.
- Replace the test base URL,
https://stgdeveloper-api.ismartghana.com, with the live one,https://api.ismartghana.com. - Make one small collection. Check it end to end, including the webhook.
Do not mix them. A test key against the live base URL, or the reverse, is rejected with 403 environment_mismatch.
Keep the test key
Leave the test key in your staging setup. You can keep testing there after you go live.