Get started

Make your first API request

Connect your server to Strongmb and understand the response before making a purchase.

Your first integration, at a glance
  1. Get your key

    Create an account and open Developers.

  2. Send a request

    Start with an authenticated account request.

  3. Build your flow

    Choose a service and follow its purchase guide.

Step 1: Create your Strongmb account

Start by creating an account. Use contact details you can access, complete the signup prompts, then sign in to your dashboard. Already have an account? Continue to step 2.

Create an account

The video loads when you press play. Watch on YouTube

Step 2: Get your API key

Open the Developer section of your dashboard and copy the key for your chosen environment. Keep sandbox and production configuration separate. Set the key in your backend environment before running the examples below.

Shell
export STRONGMB_API_KEY="YOUR_API_KEY"

Step 3: Send your first request

Server-side HTTP request
curl --request GET \
  --url "https://api.strongmb.ng/v1/user" \
  --header "Authorization: Bearer $STRONGMB_API_KEY" \
  --header "Accept: application/json"
Part What it does
/v1/user Identifies the authenticated account endpoint.
Authorization: Bearer Supplies the secret key. Include a space before the key.
Accept: application/json Requests a JSON response.

Step 4: Understand the response

Inspect status, message, data and metadata. Save the trace ID when diagnosing a failure. An authenticated account request does not guarantee a later purchase will succeed.

Step 5: Build your first purchase flow

Fetch products first. Do not assume example product codes or prices are currently available. Confirm the recipient and price before purchasing.

Step 6: Test before going live

Test invalid inputs, insufficient funds, pending results and timeouts. Save the reference before submitting a purchase and retain the trace ID from each response. Show a completed receipt only when the transaction is successful.

Once the complete flow works, review the production checklist before serving customers.

Test your integration Use the sandbox test values and examples.

Questions? Let’s work through them.

Having an issue or need help with your integration? Join the Strongmb Slack community to ask questions and get assistance from our team and other developers.

Keep API keys and customer details private when sharing examples.

Experiencing a service issue? Check Strongmb’s service status for incident updates.

Join our Slack community

Did this page help you?

Search documentation