Send Phone OTP

Generates a one-time passcode (OTP) and sends it via SMS to the user's registered
phone number. The user then enters this code in the next step.

Rate limiting: This endpoint can only be called once every 30 seconds per user.
If called too soon, the API returns 429 with a Retry-After header and a
remainingSeconds field in the error meta.

Authentication: Requires the temporary access token from step 3.

Possible error codes:

CodeStatusDescription
CAN_NOT_GENERATE_PHONE_VERIFICATION_CODE400OTP generation or SMS delivery failed
UNAUTHORIZED403Missing or invalid token
PHONE_VERIFICATION_CODE_RATE_LIMITED429Called within the 30-second window
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This endpoint is shared across Individual, Business Owner, and Operator user types.

Sandbox: Finding the OTP Code

In the staging environment, SMS messages are not delivered to real phones. Instead, all notifications (including the OTP code) are visible in the sandbox notification log:

https://api-test.stage2.tappbank.com/notifications/public/v1/debug

Open that URL after calling this endpoint to retrieve the OTP code, then pass it to the Verify Phone OTP endpoint.

Responses
204

OTP sent successfully via SMS.

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json