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. Change mobile number from profile settings
  • Change mobile number from profile settings
    • Change mobile number
      POST
    • Verify mobile number change OTP
      POST
    • Get mobile change status
      GET
  • Change mobile number from login screen
    • Change mobile number
      POST
    • Verify mobile number change OTP
      POST
    • Initiate Nafath
      POST
    • Get mobile number change status
      GET
  1. Change mobile number from profile settings

Change mobile number

POST
https://api.staging.vrtx.sa/profile/change-mobile-number
Last modified:2025-12-03 10:51:05
Allows an existing user who is LOGGED IN to change the mobile number linked to their wallet account.
This endpoint initiates the mobile number change process by:
1.
Validating the customer exists using the provided customer ID
2.
Verifying ownership of the new mobile number through Yakeen
3.
Sending an OTP to the new mobile number
4.
Starting a session that will require:
OTP verification
The process ensures secure transfer of the account to a new mobile number in compliance with SAMA requirements.
Rate Limiting: Users can only change their mobile number once per 24-hour period.
Important: This API handles the initial request. Additional endpoints will be needed for:
OTP verification
Status checking

Request

Body Params application/jsonRequired

Example
{
    "customer_id": "c1d2e3f4-a5b6-7890-c1d2-e3f4a5b6c7d8",
    "new_mobile_number": "966501234567",
    "locale": "ar"
}

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/profile/change-mobile-number' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customer_id": "c1d2e3f4-a5b6-7890-c1d2-e3f4a5b6c7d8",
    "new_mobile_number": "966501234567",
    "locale": "ar"
}'

Responses

🟢200OK
application/json
Default Response
Body

Example
{
    "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
    "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
    "status": "PENDING_MOBILE_NUMBER_OWNERSHIP_VERIFICATION"
}
đźź 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
Next
Verify mobile number change OTP
Built with