API Reference

Authentication

To start with CargoWALLET, you must create an account and obtain an API key. Once you have your API key, you can start using the API to make and receive payments.

Please reach out to our technical support at support@cargoai.co to get your API key for the dev environment which allows you to develop and test your integration.

Please also contact our technical support when you will be ready to roll out to production to get a second key.

When transitioning from the development environment to production, it is critical to update all references to the API URLs by removing the .dev suffix.

Instructions:

Development Environment:
In the development environment, you may be using URLs like:
<https://api.dev.cargo-wallet.com/transactions

Production Environment:
When moving to production, ensure that you update the URL by removing the .dev suffix. The URL should look like this:
<https://api.cargo-wallet.com/transactions
Failure to update the URLs will result in continued use of the development environment, which may cause data discrepancies and performance issues in the production environment. Always ensure your URLs are correctly pointed to the production server before going live.