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

Initiate Nafath

POST
https://api.staging.vrtx.sa/onboarding/nafath/initiate
Last modified:2025-12-03 10:51:05
Initiates a Nafath biometric authentication session for the given onboarding session.
This API calls the configured Nafath provider and sets up the necessary challenge for user verification.
Returns a challenge code when the Nafath session is successfully initiated.

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",
    "nafath_request_id": "NFR-1234567890"
}

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/nafath/initiate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "session_id": "s1d2e3f4-a5b6-7890-c1d2-e3f4a5b6c7d8",
    "nafath_request_id": "NFR-1234567890"
}'

Responses

🟢200OK
application/json
Default Response
Body

Example
{
    "session_status": "NAFATH_WAITING",
    "random": "string"
}
đźź 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
Get session status
Next
Cancels session
Built with