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. Notifications
  • Card Transactions
    • Perform a simulated card transaction
      POST
    • Perform a balance inquiry
      POST
  • Notifications
    • Fetch the latest OTP for a mobile number
      POST
  • Nafath
    • Trigger Nafath completion webhook
      POST
  1. Notifications

Fetch the latest OTP for a mobile number

POST
https://api.staging.vrtx.sa/testhelpers/notifications/latest-otp
Last modified:2025-12-09 09:55:23
Looks up the notifications database for the most recent message delivered to the given mobile number and extracts the OTP digits.

Request

Body Params application/jsonRequired

Example
{
    "mobileNumber": "string"
}

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/testhelpers/notifications/latest-otp' \
--header 'Content-Type: application/json' \
--data-raw '{
    "mobileNumber": "string"
}'

Responses

🟢200
application/json
OTP found
Body

Example
{
    "otp": "string"
}
🟠404
Modified at 2025-12-09 09:55:23
Previous
Perform a balance inquiry
Next
Trigger Nafath completion webhook
Built with