Get started / Quickstart
v1Get support
Get started

Quickstart

Go from invite to your first payout in three steps. Access is provisioned by your Mighty admin. This guide keeps the focus on the Ghana payout flow and leaves the full request surface to the API reference pages.

01
Get invited & sign in

Your Mighty admin provisions your account and emails an invite. Set a password, complete 2FA, and sign in to the dashboard. Need access? Contact your admin.

02
Get your API keys

In the dashboard, provision your API credentials. You'll receive a clientId and clientSecret. Store the secret securely — rotate it anytime.

03
Obtain an access token

Exchange your credentials for a short-lived access token, then send it as a Bearer token on every request.

See Obtain token →

Tokens expire. Watch expiresIn and refresh before it lapses — cache the token and only re-fetch when it's close to expiry.

Token request example

Use the obtain-token endpoint once, cache the result, and reuse the bearer token until it nears expiry.

curl https://api.dev.mightypay.io/auth/obtain/token \
-H "Content-Type: application/json" \
-d '{
"clientId": "ck_live_a91f8c2b...",
"clientSecret": "cs_live_7d2e44f9..."
}'