1. Business Configurations
Vrtx Docs
  • Welcome đź‘‹
  • Get Started
  • Auth
    • Token
      POST
  • Payouts
    • Create payout
      POST
    • Get payout status
      GET
    • Get payout status
      GET
    • Create bulk payout
      POST
    • Get bulk payout status
      GET
    • Get bulk payout status
      GET
    • Get batch report
      GET
    • Get batch report
      GET
  • Business Configurations
    • Get business configurations
      GET
  • Whitelist
    • Add whitelist entries
      POST
    • Get whitelist entries
      GET
    • Delete whitelist entries
      DELETE
Client APIs
Vrtx Closed loopCard Simulator
Client APIs
Vrtx Closed loopCard Simulator
  1. Business Configurations

Get business configurations

GET
https://api.staging.vrtx.sa/businesses/configurations
Last modified:2026-04-16 11:21:30
Returns the typed business configurations for the authenticated business.
Currently supported configuration keys:
allowed_card_types: Controls which card types are enabled (is_virtual, is_physical)
The business ID is extracted from the authentication token.
Error Scenarios:
400: Business ID missing from token
404: Business not found
503: Failed to fetch configurations from businesses service

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or

Responses

🟢200
application/json
Typed business configurations
Body

đźź 400
đźź 401
đźź 403
đźź 404
đźź 405
đźź 409
đźź 410
đźź 422
đźź 429
đź”´500
đź”´501
đź”´503
đź”´504
đź”´505
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.staging.vrtx.sa/businesses/configurations' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "allowed_card_types": {
        "is_virtual": true,
        "is_physical": true
    },
    "theme": {
        "colors": {
            "light": {
                "all_brands": {
                    "primary": "string",
                    "buttons_label": "string"
                },
                "accents": {
                    "property1": "string",
                    "property2": "string"
                },
                "backgrounds": {
                    "primary": "string",
                    "secondary": "string",
                    "tertiary": "string",
                    "elevated": {
                        "primary": "string",
                        "secondary": "string",
                        "tertiary": "string"
                    }
                },
                "backgrounds_gradients": {
                    "property1": "string",
                    "property2": "string"
                },
                "backgrounds_grouped": {
                    "primary": "string",
                    "secondary": "string",
                    "tertiary": "string",
                    "elevated": {
                        "primary": "string",
                        "secondary": "string",
                        "tertiary": "string"
                    }
                },
                "fills": {
                    "property1": "string",
                    "property2": "string"
                },
                "fills_vibrant": {
                    "property1": "string",
                    "property2": "string"
                },
                "grays": {
                    "property1": "string",
                    "property2": "string"
                },
                "labels": {
                    "property1": "string",
                    "property2": "string"
                },
                "overlays": {
                    "property1": "string",
                    "property2": "string"
                },
                "separators": {
                    "property1": "string",
                    "property2": "string"
                },
                "miscellaneous": {
                    "property1": "string",
                    "property2": "string"
                },
                "miscellaneous_buttons": {
                    "property1": "string",
                    "property2": "string"
                },
                "miscellaneous_keyboards": {
                    "property1": "string",
                    "property2": "string"
                },
                "miscellaneous_sidebar": {
                    "property1": "string",
                    "property2": "string"
                },
                "miscellaneous_text_field": {
                    "property1": "string",
                    "property2": "string"
                }
            },
            "dark": {
                "property1": "string",
                "property2": "string"
            }
        },
        "language": {
            "en": {
                "font_family": {
                    "body": "string",
                    "cta": "string",
                    "titles": "string"
                },
                "weight": {
                    "property1": "string",
                    "property2": "string"
                },
                "size": {
                    "property1": 0,
                    "property2": 0
                }
            },
            "ar": {
                "font_family": {
                    "body": "string",
                    "cta": "string",
                    "titles": "string"
                },
                "weight": {
                    "property1": "string",
                    "property2": "string"
                },
                "size": {
                    "property1": 0,
                    "property2": 0
                }
            }
        },
        "specs": {
            "spacing": {
                "property1": 0,
                "property2": 0
            },
            "sizing": {
                "property1": 0,
                "property2": 0
            },
            "radius": {
                "property1": 0,
                "property2": 0
            }
        }
    }
}
Modified at 2026-04-16 11:21:30
Previous
Get batch report
Next
Add whitelist entries
Built with