Skip to main content
POST
/
v1
/
public
/
auth
/
verify-otp
Verify OTP and issue tokens
curl --request POST \
  --url https://api.zeam.money/gw/v1/public/auth/verify-otp \
  --header 'Content-Type: application/json' \
  --data '
{
  "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "code": "1234"
}
'
{
  "idToken": "<string>",
  "refreshToken": "<string>",
  "expiresIn": "3600",
  "customToken": "<string>"
}

Body

application/json
requestId
string<uuid>
required

Request ID from the request-otp response.

code
string
required

One-time code received via WhatsApp/SMS.

Example:

"1234"

Response

Tokens issued.

idToken
string
required

Gateway bearer for /v1/* routes.

refreshToken
string
required

Long-lived refresh token.

expiresIn
string
required

TTL in seconds as a string (e.g. "3600").

Example:

"3600"

customToken
string

Optional custom token.