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
Responses
- 200
- 400
- 401
- 429
OTP sent successfully
Bad Request
Unauthorized
An OTP was sent to the given user recently and hasn't expired yet. Only after expired it will be sent to the user again.