Authentication
All requests to the Chipdeals API must be authenticated via an API key. Include your API key in every request you send to the API.
Requests made without authentication will fail with status code 401:UNAUTHORIZED
. All requests must be made over HTTPS.
Secure your secret key
Example of an authenticated request
- HTTP
- Curl
- NodeJs
- Laravel
- php
GET https://apis.chipdeals.me/momo/balance?apikey=test_FOdigzgSopV8GZggZa89 HTTP/1.1
curl 'https://apis.chipdeals.me/momo/balance?apikey=test_FOdigzgSopV8GZggZa89'
const momo = require("@chipdeals/momo-api");momo.setApiKey("test_FOdigzgSopV8GZggZa89");
<?php$momo = new \Chipdeals\MomoApi\Momo();$momo->setApiKey("test_FOdigzgSopV8GZggZa89");
<?phprequire_once("path/to/chipdeals-mobile-money-api.php");$momo = new Momo();$momo->setApiKey("test_FOdigzgSopV8GZggZa89");