Skip to main content

Authentication

All requests to the MabiPay API must be authenticated with your secret API key.

API Key

Include your key in the Authorization header of every request:

Authorization: Bearer mbp_live_YOUR_API_KEY

The Bearer prefix is optional — the raw key is also accepted.

Environments

Keys are tied to an environment:

EnvironmentPrefix
Sandboxmbp_sandbox_
Livembp_live_

Use sandbox keys for testing — no real money movement occurs.

Get your key

Retrieve or regenerate your key from the dashboard → Settings → API Keys.

caution

Never share your secret API key. If compromised, regenerate it immediately from the dashboard.