WalletD developers
Platform administration

List tenants (platform staff only)

Every tenant on this deployment, newest first, with its fee plan and commission mode.

GET/v1/tenants

Every tenant on this deployment, newest first, with its fee plan and commission mode. Requires a platform staff token holding platform:manage; anyone else is refused platform_scope_only (403).

Authorization

bearerAuth
AuthorizationBearer <token>

A tenant API key (sk_{env}_{id}_{secret}), a wallet user token, or an IdP access token. Which principal the credential resolves to decides the scopes it carries; see the authentication guide.

In: header

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/tenants"
[  {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "currency": "string",    "status": "string",    "fees": {      "payment": {        "bps": 0,        "flat": 0,        "min_fee": 0,        "max_fee": 0      },      "subscription": {        "bps": 0,        "flat": 0,        "min_fee": 0,        "max_fee": 0      },      "commission": {        "bps": 0,        "flat": 0,        "min_fee": 0,        "max_fee": 0      },      "p2p": {        "bps": 0,        "flat": 0,        "min_fee": 0,        "max_fee": 0      },      "topup": {        "bps": 0,        "flat": 0,        "min_fee": 0,        "max_fee": 0      },      "payout": {        "bps": 0,        "flat": 0,        "min_fee": 0,        "max_fee": 0      }    },    "commission_mode": "deduct",    "created_at": "2019-08-24T14:15:22Z"  }]