Skip to main content

Getting Started

Chimoney is a platform that enables seamless, secure, and scalable payment operations. This guide will walk you through setting up the Chimoney API from authentication to making your first API call.

API User Requirements

To use this API, you need the following:

  • A SandBox developer account where you will get your API Key.
  • An API key to access to the endpoints

API Base URL

You need to know the base URL for the different environment to start making your request:

Sandbox Environment (For testing): json https://api-v2-sandbox.chimoney.io/v0.2.4

Production Environment (For live transactions): json https://api-v2.chimoney.io/v0.2.4

Note

Remember to always test your requests in the Sandbox environment before moving to production

Authentication

The Chimoney API can be called using an API Key, which can be obtained from the Chimoney developer dashboard

Generate API Key

The Chimoney API can be used for Business and developer for testing purpose, and you need an API key for both.

  1. For Business Integrating with the API

  2. For Developers Tesing the API

    You need to set up your Sandbox Environment

    • Sign up for your sandbox environment here json Account is funded with $1000(10000 Chimoney) of test amount
    • Click on the Organizations tab on the dashboard
    • Create an Organization/Team
    • Finally, click on the Developers tab to create an app and use the API key generated to access the sandbox endpoints.
sandbox

Required Headers for a Request

To make an API request, you need to set the following headers:

Header NameNamePurpose
json Content-Typejson application/jsonSpecifies the format for the request
json X-API-KEYjson your_api_keyAPI key to make request

Testing API

To test the API endpoints directly on the docs, follow these steps:

  • Copy your API-Key from the Developers tab and paste it on the Authorization Header

    test
  • Switch the Base URL to the sandbox version and click the Try it! button

    run endpoint

You can also make a sample request using CURL command. For example,

  • Request to get beneficiaries for an account
curl --request GET \
--url https://api-v2-sandbox.chimoney.io/v0.2.4/beneficiary \
--header 'X-API-KEY: your_api_key' \
--header 'accept: application/json'

Here's the response, but the data field is empty because the system doesnot have any beneficiaries yet:

{
"status": "success",
"message": "Beneficiaries retrieved successfully",
"data": []
}

Congratulations! 🥳 You just made your first successful request. You can go ahead and explore other endpoints.