/api/v1/user/get-access-token

This API generates a login-free credential that allows users to be redirected to the trading page via the SDK without logging in. If the email is not registered with OSL Pay, a new account will be automatically created and an OSL Pay userId will be generated.

Body Params
string
required

Email If the email is not yet registered with OSL Pay, a new account will be automatically created and an OSL Pay userIdwill be generated.

string
required

IP address. Must comply with IPv4 or IPv6 standards.

string

Unique device fingerprint

string
enum
Defaults to 1

Client type Defaults to 1.1-WEB 2-H5 3-iOS 4-Android 5-Other

Allowed:
Headers
string
required

The unique app ID assigned to your merchant account

string
required

Request timestamp

string
required

Request header signature

Response

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json