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. Databases
  • 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
    • Preview Nafath completion webhook payload
      POST
  • Databases
    • Purge and seed all test databases
      POST
  1. Databases

Purge and seed all test databases

POST
https://api.staging.vrtx.sa/testhelpers/databases/test-data/setup
Last modified:2025-12-11 11:58:45
Runs the same steps as the PurgeTestDatabases gRPC method followed by SeedTestData to fully reset lower environment data.

Request

None

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/databases/test-data/setup'

Responses

🟢200
application/json
Databases were purged then seeded
Body

Example
{
    "purged": [
        {
            "engine": "POSTGRES",
            "logical_name": "string",
            "database_name": "string",
            "containers_processed": 0,
            "records_deleted": 0
        }
    ],
    "seeded": [
        {
            "engine": "POSTGRES",
            "logical_name": "string",
            "database_name": "string",
            "statements_applied": 0,
            "documents_inserted": 0
        }
    ]
}
🔴500
Modified at 2025-12-11 11:58:45
Previous
Preview Nafath completion webhook payload
Built with