WalletD developers
Operations and audit

Get the calling WalletD vendor-support identity's active grant

This is the only tenant endpoint a WalletD vendor-support identity may call without an active grant.

GET/v1/support_access_grants/current

This is the only tenant endpoint a WalletD vendor-support identity may call without an active grant. It lets the console present a clear waiting-for-approval state instead of failing into an error page.

Console-only. This path is not routed at the public API gateway. It is called by the WalletD support console to show a waiting-for-approval state, and by nothing a partner integrates against.

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

curl -X GET "https://example.com/v1/support_access_grants/current"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",  "staff_id": "string",  "reason": "string",  "ticket_reference": "string",  "created_by_type": "string",  "created_by_id": "string",  "created_at": "2019-08-24T14:15:22Z",  "expires_at": "2019-08-24T14:15:22Z",  "revoked_at": "2019-08-24T14:15:22Z",  "revoked_by_type": "string",  "revoked_by_id": "string"}