Saltar al contenido principal

Send One-Time Passcode

POST 

/wallet-registration/otp

This endpoint generates a 6-digit OTP and sends it to the user contact (email or phone number SMS) provided in the request body, as long as it matches the receiver contact info stored in the SDP. A valid SEP-24 token should be included in this request's Authorization header.

Request

Header Parameters

    Authorization stringrequired

    SEP-24 token for authorization (Format: 'Bearer {token}')

Body

required

Object containing phone number

    phone_number string

    Phone number to which the OTP will be sent. Either phone_number or email is required.

    email string

    Email to which the OTP will be sent. Either phone_number or email is required.

    recaptcha_token stringrequired

    Token for reCAPTCHA validation

Responses

OTP sent successfully

Schema

    message stringrequired
Loading...