vrtx Docs
Core APIs
  • Start
  • Onboarding
  • Wallet
  • Payouts
  • Cards
  • Transactions
Closed loop APIsCard Simulator
SDK APIs
  • Coming Soon!
Core APIs
  • Start
  • Onboarding
  • Wallet
  • Payouts
  • Cards
  • Transactions
Closed loop APIsCard Simulator
SDK APIs
  • Coming Soon!
  1. Onboarding
  • Start onboarding
    POST
  • Verify onboarding OTP
    POST
  • Resend onboarding OTP
    POST
  • Get session status
    GET
  • Initiate Nafath
    POST
  • Cancels session
    POST
  • Complete customer info
    POST
  1. Onboarding

Verify onboarding OTP

POST
https://api.staging.vrtx.sa/onboarding/verify-otp
Last modified:2025-12-03 10:51:05
Verifies a user-submitted OTP code for mobile number validation during onboarding.
Validates the OTP against the previously generated code for the specified session.
Returns the session status upon successful verification.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Body Params application/jsonRequired

Example
{
    "session_id": "s1d2e3f4-a5b6-7890-c1d2-e3f4a5b6c7d8",
    "otp": "1234"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.staging.vrtx.sa/onboarding/verify-otp' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "session_id": "s1d2e3f4-a5b6-7890-c1d2-e3f4a5b6c7d8",
    "otp": "1234"
}'

Responses

🟢200OK
application/json
Default Response
Body

Example
{
    "session_status": "STATUS_UNSPECIFIED"
}
đźź 400Bad Request
đźź 401Unauthorized
đźź 403Forbidden
đźź 404Not Found
đźź 405Method Not Allowed
đźź 409Conflict
đźź 410Gone
đźź 422Unprocessable Entity
đźź 429Too Many Requests
đź”´500Internal Server Error
đź”´501Not Implemented
đź”´503Service Unavailable
đź”´504Gateway Timeout
đź”´505HTTP Version Not Supported
Modified at 2025-12-03 10:51:05
Previous
Start onboarding
Next
Resend onboarding OTP
Built with