Bridge API DocsBridge API Docs
Bridge API Docs

API Reference

Detailed information on all available API endpoints

API Reference

Bridge Developer API endpoints use JSON over HTTPS. All requests require authentication.

Base URL

https://api.bridgeagw.com

Available Endpoints

Payment Processing

Airtime and bills

Account Management

Communication

Common Request Headers

Authorization: Basic <base64_encoded_credentials>
Content-Type: application/json

Responses

Bodies are JSON with response_message and response_code (and sometimes response_data or redirect_url). Many async operations return 202 when the request is queued. Full code list: Response Codes.

Rate limits

About 100 requests/minute per API key and 20 requests/second burst. Over limit → 429 Too Many Requests.

Errors

Typical HTTP statuses: 400 invalid input, 401 auth failed, 429 rate limited, 500 server error. See Response Codes for response_code values.

Sandbox testing

All sandbox requests use the same base URL, endpoint paths, and Authorization header as production. Only your credentials and test input values differ. See the Introduction for the integration journey overview.

MSISDN allowlist

Mobile money, airtime, SMS, and payout endpoints only accept the numbers below in sandbox mode. Any other number — including real customer numbers — returns an error.

Networknw valueLocal formatInternational formatSuffixes
MTNMTN0244XXXXXX233244XXXXXX000000000009
Vodafone / TelecelVOD or TEL0200XXXXXX233200XXXXXX000000000009
AirtelTigoAIR or TIG0270XXXXXX233270XXXXXX000000000009

Last-digit outcome rule: The last digit of the MSISDN controls the simulated result.

Last digitOutcome
08Success path — payment 202 + callback, name lookup returns a name, SMS delivers
9Failure path — payment 015 (no callback), name lookup returns null, SMS REFUNDED

Universal rules

ScenarioDetailsresponse_code
Wrong or real MSISDNNot on allowlist (e.g. 0541840988)019 (payments), 228 (lookup), S002 (SMS)
Amount too highamount > 10000 on any payment016
Duplicate transactionSame transaction_id reused219
Card PANsOnly four test values accepted (see Card Payment)019 for any other PAN
Bill pay accounts12-digit sandbox account numbers only; MSISDNs not accepted (see Bill Payments)019 for wrong input

Each endpoint page below includes a Sandbox testing section with copy-paste examples for that specific route.

Testing

Import the Postman collection or use the cURL examples on each endpoint page.

Support

Email support@thebridgesolutions.com for integration help.