POST
/
oauth2
/
authorize
Authorization
curl --request POST \
  --url http://127.0.0.1:3000/oauth2/authorize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "grant_type": "client_credentials",
  "merchant_id": "",
  "device_id": "",
  "device_type": "terminal",
  "password": "",
  "scope": ""
}'
{
  "token_type": "bearer",
  "access_token": "",
  "expires_in": 86400
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json · object

Response

201 - application/json

Successful response

The response is of type object.