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
  • Welcome 👋
  • Get Started
  • Auth
    • Token
      POST
  • 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
  • Wallet
    • 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
      • Verify mobile number change OTP
      • Initiate Nafath
      • Get mobile number change status
  • Payouts
    • Create payout
      POST
    • Get payout status
      GET
    • Create bulk payout
      POST
    • Get bulk payout status
      GET
    • Get batch report
      GET
  • Cards
    • Issuance
      • Issue card
      • Get card issuance
      • Complete card issuance
      • Verify card issuance OTP
      • Convert virtual to physical
      • Verify card conversion OTP
    • Management
      • Get card
      • Change card status
      • Set or update card PIN
      • Verify card PIN OTP
      • Activate physical card
      • Verify activation OTP
      • Display sensitive data
      • Verify display sensitive data OTP
  • Transactions
    • Business Accounts
      • Get business account balance
      • Get transaction details
      • List business transactions
    • Wallet Accounts
      • Get wallet balance
      • List wallet transactions
  • cards
    • Initiate card replacement
    • Verify OTP and complete card replacement
  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
Previous
Complete customer info
Next
Verify mobile number change OTP
Built with