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. Management
  • Issuance
    • Issue card
      POST
    • Get card issuance
      GET
    • Complete card issuance
      POST
    • Verify card issuance OTP
      POST
    • Convert virtual to physical
      POST
    • Verify card conversion OTP
      POST
  • Management
    • Get card
      GET
    • Change card status
      PATCH
    • Set or update card PIN
      POST
    • Verify card PIN OTP
      POST
    • Activate physical card
      POST
    • Verify activation OTP
      POST
    • Display sensitive data
      POST
    • Verify display sensitive data OTP
      POST
  1. Management

Change card status

PATCH
https://api.staging.vrtx.sa/cards/{id}/status
Last modified:2025-12-03 10:51:05
Updates the lifecycle status of an existing card. Use this endpoint to toggle between
ACTIVE, INACTIVE, or permanently CANCELLED states. The operation is idempotent and
requires an idempotency-key header to deduplicate requests.

Request

Path Params

Header Params

Body Params application/jsonRequired

Examples
{
    "status": "ACTIVE"
}

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
curl --location --request PATCH 'https://api.staging.vrtx.sa/cards//status' \
--header 'idempotency-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "status": "ACTIVE"
}'

Responses

🟢200OK
application/json
Default Response
Body

Examples
{
    "id": "f5a4b3c2-d1e0-9876-5432-1a0b9c8d7e6f",
    "account_id": "b2c3d4e5-f6a7-5890-b123-c4d5e6f7a8b9",
    "token": 987654321,
    "status": "LOCKED",
    "last_4_digits": "8765",
    "expiry_date": "2026-06-30",
    "design": "premium",
    "created_at": "2023-12-01T08:15:00Z",
    "updated_at": "2024-01-10T14:20:00Z",
    "is_physical": true,
    "physical_card_activation_status": "ACTIVATED",
    "physical_activated_at": "2024-02-01T09:00:00Z"
}
đźź 400Bad Request
đźź 401Unauthorized
đźź 403Forbidden
đźź 404Not Found
đźź 405Method Not Allowed
đźź 409Conflict
đźź 410Gone
đźź 412Precondition Failed
đźź 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 card
Next
Set or update card PIN
Built with