Verify Receiver Registration
This endpoint verifies the receiver's registration by validating the OTP and other verification values provided in the request body. A valid SEP-24 token should be included in the Authorization header of the request.
Header Parameters
- Authorization string required
SEP-24 token for authorization (Format: 'Bearer {token}')
- application/json
Request Body required
Verification data including phone number, OTP, verification value, and reCAPTCHA token
- phone_number string
Phone number used in registration
- otp string
One-Time Password received for verification
- verification string
Verification value provided by the user
- verification_type string
Possible values: [
DATE_OF_BIRTH
,PIN
,NATIONAL_ID_NUMBER
]Type of verification value
- recaptcha_token string
Token received from Google reCAPTCHA
Responses
- 200
- 400
- 401
Verification successful
- application/json
- Schema
- Example (from schema)
Schema
- message string
{
"message": "ok"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- message string
Details about the error
{
"message": "string"
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
- response
Schema
- error string
extras object
status numbermessage string
{
"error": "Not authorized",
"extras": {
"status": 401,
"message": "Not authorized"
}
}
{
"error": "Not authorized",
"extras": {
"status": 401,
"message": "Not authorized"
}
}
Loading...