Skip to main content
POST
/
auth
/
v1
/
mb
/
pin
/
establishment
/
verify
VerifyEstablishmentPin in the organization context and return tokens
curl --request POST \
  --url https://z52mnqg347.execute-api.eu-west-3.amazonaws.com/main/auth/v1/mb/pin/establishment/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'content-type: <content-type>' \
  --data '
{
  "pin": "123456"
}
'
{
  "data": {
    "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "sessionToken": "c2Vzc2lvbi10b2tlbi1leGFtcGxlLXN0cmluZw..."
  }
}

Authorizations

Authorization
string
header
required

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

Headers

content-type
string
required

Content type, must be "application/json".

Allowed value: "application/json"

Body

application/json
pin
string
required

PIN code for verification.

Example:

"123456"

Response

201 - application/json

Tokens generated successfully

data
object
required