Environments
Klump makes use of a single base API endpoint for both sandbox/development and production environment. The major difference here is the keys you use to communicate with the APIs and widgets.
Environment | Purpose | Base URL |
---|---|---|
Sandbox/development | The sandbox/development environment is used majorly during the product development phase. Note - every single transaction that happens via the sandbox will not. involve real money. No actual value will be spent. | https://api.useklump.com |
Production | The production environment is used when the product is about to go live and ready to be used by the general public. | https://api.useklump.com |
Please note.
During development, go to your Klump merchant dashboard and change the application state to 'TEST.' This way, you can test using the public and secret keys of the test credentials.
When you're ready to go live and start accepting real time transactions, please change your application state to βLIVEβ and use your live keys.We recommend storing these credentials in environment variables or using a key management tool to keep track of them. You could use one of the following: AWS Secret Manager, HashiCorp Vault, Azure Secret Manager, and so on.
Updated over 2 years ago