Skip to main content

Send One-Time Passcode

POST 

/wallet-registration/otp

This endpoint generates a 6-digit OTP and sends it via SMS to the phone number provided in the request body (after checking that the phone number matches a receiver phone number in the SDP). A valid SEP-24 token should be included in the Authorization header of the request.

Request

Header Parameters

    Authorization stringrequired

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

Body

required

Object containing phone number

    phone_number stringrequired

    Phone number to which the OTP will be sent

    recaptcha_token stringrequired

    Token for reCAPTCHA validation

Responses

OTP sent successfully

Schema

    message stringrequired
Loading...