Skip to main content
POST
Generate Access Token

Body

application/json
client_id
string
required

Credential identifier (mp_live_* production, mp_test_* sandbox)

Example:

"mp_live_0123456789abcdef01234567"

client_secret
string
required

Credential secret (shown only once at creation)

Response

Token generated successfully

access_token
string
required

JWT token to use in the Authorization header

Example:

"eyJhbGciOiJSUzI1NiIs..."

token_type
string
required
Example:

"Bearer"

expires_in
integer
required

Token validity in seconds

Example:

300