Skip to main content
POST
/
api
/
v1
/
cards
/
phone
/
otp
/
verify
Verify phone OTP
curl --request POST \
  --url https://api.hevn.finance/api/v1/cards/phone/otp/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sessionId": "<string>",
  "code": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
default:Bearer <token>
required

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

Headers

x-api-key
string | null

Body

application/json

Request to verify OTP code.

sessionId
string
required
code
string
required
Required string length: 6

Response

Successful Response