GET
/
users
/
me
/
send-otp
curl --request GET \
  --url https://onboard-external-dev.api.nestcoin.io/users/me/send-otp \
  --header 'x-auth-token: <api-key>'
{
  "sent": true,
  "authSessionId": "<string>"
}

Generates a one-time password (OTP) for specific actions, such as when signing up, or updating payment methods.

Authorizations

x-auth-token
string
header
required

Query Parameters

purpose
enum<string>
required

the purpose of an otp

Available options:
SIGN_IN,
DELETE_ACCOUNT,
ADD_PAYMENT_METHOD,
EDIT_PAYMENT_METHOD,
CEX_ORDER_CONFIRMATION,
PHONE_NUMBER_VERIFICATION,
AUTHENTICATE_ACTION,
WALLET_RECOVERY,
WALLET_RESET,
MFA_SETUP

Response

200
application/json
Success
sent
boolean
authSessionId
string