Passer au contenu principal
POST
Generate a scoped Bearer token

Autorisations

X-API-Key
string
header
requis

Your merchant API key (mk_...).

X-API-Secret
string
header
requis

Your merchant API secret (ms_...). Used only on /auth.

Corps

application/json
scopes
enum<string>[]

Scopes to embed in the token. Any scope may be requested; ask only for what this service uses.

A permission an API-key token can carry. These are the scopes shown in the dashboard's API Keys screen.

Options disponibles:
pay,
deposit,
balance,
payout,
beneficiaries,
bulk_pay,
payment_links,
team,
webhooks,
settings
Exemple:
expires_in_hours
integer
défaut:24
Plage requise: 1 <= x <= 720
Exemple:

24

Réponse

Token issued.

success
boolean
Exemple:

true

message
string
Exemple:

"Authentication successful"

request_id
string<uuid>
data
object