Skip to main content

Generate OAuth2 Access Token

POST 

/oauth2/auth/realms/paysafe/v1/token

Use the OAuth2 client credentials flow to obtain an access token. You need to provide the client_id, client_secret, grant_type and scope in the request body. For grant_type, use client_credentials. The scope should be crypto. The client_id and client_secret are provided to you during onboarding.

Request

Body

required

    scope string
    grant_type string
    client_id string
    client_secret string

Responses

Access token response

Schema

    access_token string
    token_type string
    expires_in integer
    scope string
Loading...