WalletD developers
Platform administration

Let a pending client publish to Explore (platform staff only)

Lets a pending client publish its offerings to Explore.

POST/v1/platform/clients/{clientId}/approve

Lets a pending client publish its offerings to Explore. This is a moderation write, not a report, so it needs platform:manage rather than the read scope; anything else is refused platform_scope_only (403). An unknown client gives client_not_found (404) and a client that is not in a state which can become active invalid_transition (409). Audited with the platform actor.

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

Path Parameters

clientId*string
Formatuuid

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/platform/clients/497f6eca-6276-4993-bfeb-53cbbbba6f08/approve"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "merchant_id": "500924a8-3f5e-4c00-beb8-2efcde988aea",  "org_alias": "string",  "display_name": "string",  "category": "string",  "description": "string",  "logo_url": "string",  "commission_bps": 0,  "status": "pending",  "approved_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z"}