Verify a PIN
Verify OTP to confirm successful phone number verification. pinId is received in the response after sending the OTP message.
Please log in to see full path URL. Learn why.
post
/2fa/2/pin/{pinId}/verify
Authorizations:
Scopes:
path Parameters
pinId required | string Example: 0933F3BC087D2A617AC6DCB2EF5B8A61 ID of the pin code that has to be verified. |
Request Body schema:
application/json
collapse all -
pin required | string The PIN code to verify. |
Responses
default
successful response
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
4XX
Error responses
500
Internal Server Error
5XX
Error responses
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Content type
application/json
Copy
Collapse all {- "pin": "1598"
}
Response samples
- default
- 400
- 401
- 403
- 404
- 4XX
- 500
- 5XX
Content type
application/json
Copy
Collapse all {- "pinId": "9C817C6F8AF3D48F9FE553282AFA2B67",
- "msisdn": "41793026727",
- "verified": true,
- "attemptsRemaining": 0
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See