Skip to main content
POST
/
api
/
v1
/
account
/
otp
/
send
Send OTP via SMS
curl --request POST \
  --url https://sandbox-revo-api.raliopay.com/api/v1/account/otp/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "orderId": "<string>",
  "phoneNumber": "<string>",
  "phoneNumberCountry": "<string>"
}
'
{
  "expiresAt": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

API Key for accessing management endpoints

Body

application/json

Send OTP request

orderId
string
required
phoneNumber
string
required
phoneNumberCountry
string
required

Response

OK

expiresAt
string
message
string