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. Auth
  • Welcome πŸ‘‹
  • Get Started
  • Authentication
  • Responses
  • Pagination
  • Auth
    • Token
      POST
  • Businesses
    • List businesses
      GET
    • Create business
      POST
  • Money Movement
    • Create fund
      POST
    • Create payout
      POST
    • Get payout
      GET
    • Create refund
      POST
    • Create transfer
      POST
    • Create withdrawal
      POST
  • Labels
    • List labels
      GET
    • Create label
      POST
  • Transactions
    • List transactions
      GET
    • Get transaction
      GET
    • List wallet transactions
      GET
  • Wallets
    • List wallets
      GET
    • Create wallet
      POST
    • Lookup wallet
      GET
    • Update wallet
      PATCH
    • Get wallet
      GET
    • Get wallet balance
      GET
    • Remove label
      DELETE
    • Assign label
      PUT
  • Wallet Statements
    • Retrieve wallet statement (preview)
  • Webhooks
    • Register webhook endpoint (preview)
    • List webhook endpoints (preview)
  1. Auth

Token

POST
https://api.staging.vrtx.sa/cl/v1/auth/token
Last modified:2025-12-03 07:59:44
Obtain an access token.
Use grant_type = client_credentials.
The token defines what the client is authorized to do through the scope parameter:
closedloop.read β†’ allows data retrieval (GET endpoints only)
closedloop.write β†’ allows creation, updates, and deletions (POST, PATCH, DELETE)

Request

Body Params application/x-www-form-urlencodedRequired

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/cl/v1/auth/token' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=sandbox-e2e-client' \
--data-urlencode 'client_secret=u8H3xNf4T0k3n' \
--data-urlencode 'scope=closedloop.read closedloop.write'

Responses

🟒200OK
application/json
Token response
Headers

Body

Example
{
    "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
    "token_type": "Bearer",
    "expires_in": 300,
    "refresh_expires_in": 0,
    "scope": "closedloop.read closedloop.write"
}
🟠400Bad Request
Modified atΒ 2025-12-03 07:59:44
Previous
Pagination
Next
List businesses
Built with