Payezydevelopers
Sandbox

API reference / Identity and access

List API keys

GET/v1/orgs/{orgId}/api-keys

Keys for this organization (api_keys:manage). The secret is never returned.

Before you call it

  • Permissionapi_keys:manage

Parameters

ParameterWhat it does
orgIdpath, uuidrequiredThe organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list.

Response 200

Keys and whether live mode is available

FieldWhat it does
environmentenumrequiredNo description in the spec yet.

One of test live

production_api_enabledbooleanrequiredNo description in the spec yet.
live_accessbooleanrequiredNo description in the spec yet.
keysApiKey[]requiredNo description in the spec yet.
keys[].idstring (uuid)requiredNo description in the spec yet.
keys[].public_idstringrequiredNo description in the spec yet.
keys[].modeenumrequiredNo description in the spec yet.

One of test live

keys[].namestringrequiredNo description in the spec yet.
keys[].scopesstring[]requiredNo description in the spec yet.
keys[].allowliststring[]requiredNo description in the spec yet.
keys[].expires_atstring (date-time)requiredNo description in the spec yet.
keys[].overlap_untilstring (date-time)No description in the spec yet.
keys[].revoked_atstring (date-time)No description in the spec yet.
keys[].last_used_atstring (date-time)No description in the spec yet.
keys[].created_atstring (date-time)requiredNo description in the spec yet.
keys[].minted_by_platform_idstring (uuid)Set when a platform minted this key for the customer. Absent for keys created on the Developer page.