Skip to main content

Tenant Merchants

Tenant Merchants enable organizations with multiple business units, regional entities, or sub-merchants to manage independent service configurations within a single Tenant.

List Tenant Merchants

Get a list of Tenant Merchants for the Tenant.

GET
https://api.basistheory.com/tenants/{id}/merchants
Copy

Permissions

tenant:merchant:read

Request

curl "https://api.basistheory.com/tenants/e4e865b2-304e-4179-a040-9f8b3cd8bedb/merchants" \
-H "BT-API-KEY: <MANAGEMENT_API_KEY>"

Query Parameters

ParameterRequiredTypeDefaultDescription
pagefalseinteger1Page number of the results to return.
sizefalseinteger20Number of the results to return per page. Maximum size of 50 results.

Response

Returns a paginated object with the data property containing an array of Tenant Merchants. Returns an error if Tenant Merchants could not be retrieved.

{
"pagination": {...},
"data": [
{
"id": "fb32ea26-2185-4ad2-a7bf-2fe69c00ae13",
"tenant_id": "77cb0024-123e-41a8-8ff8-a3d5a0fa8a08",
"name": "Merchant A",
"features": {
"account_updater": true,
"network_tokens": false
},
"created_by": "fb124bba-f90d-45f0-9a59-5edca27b3b4a",
"created_at": "2025-09-15T15:53:00+00:00",
"modified_by": "fb124bba-f90d-45f0-9a59-5edca27b3b4a",
"modified_at": "2025-09-18T15:53:00+00:00"
},
{...},
{...}
]
}

Get a Tenant Merchant

Get a Tenant Merchant by ID in the Tenant.

GET
https://api.basistheory.com/tenants/{id}/merchants/{id}
Copy

Permissions

tenant:merchant:read

Request

curl "https://api.basistheory.com/tenants/e4e865b2-304e-4179-a040-9f8b3cd8bedb/merchants/fb32ea26-2185-4ad2-a7bf-2fe69c00ae13" \
-H "BT-API-KEY: <MANAGEMENT_API_KEY>"

URI Parameters

ParameterRequiredTypeDefaultDescription
idtrueuuidnullThe ID of the Tenant Merchant

Response

Returns a Tenant Merchant with the id provided. Returns an error if the Tenant Merchant could not be retrieved.

{
"id": "fb32ea26-2185-4ad2-a7bf-2fe69c00ae13",
"tenant_id": "77cb0024-123e-41a8-8ff8-a3d5a0fa8a08",
"name": "Merchant A",
"features": {
"account_updater": true,
"network_tokens": false
},
"created_by": "fb124bba-f90d-45f0-9a59-5edca27b3b4a",
"created_at": "2025-09-15T15:53:00+00:00",
"modified_by": "fb124bba-f90d-45f0-9a59-5edca27b3b4a",
"modified_at": "2025-09-18T15:53:00+00:00"
}

Tenant Merchant Object

AttributeTypeDescription
iduuidUnique identifier of the Tenant Merchant
tenant_iduuidThe Tenant ID that the membership is attached
namestringThe name assigned to this tenant merchant. Each tenant merchant within a tenant must have a unique name
featuresobjectA dictionary of feature flags for the tenant merchant, where each key represents a feature and the value is a boolean indicating whether the feature is enabled.
created_byuuid(Optional) The ID of the User or Application that created the Tenant Merchant
created_atdate(Optional) Created date of the Tenant Member in ISO 8601 format
modified_byuuid(Optional) The ID of the User or Application that last modified the Tenant Merchant
modified_atdate(Optional) Last modified date of the Tenant Member in ISO 8601 format