Payezydevelopers
Sandbox

API reference / Customer keys and view-as

List keys you minted for a customer

GET/v1/platforms/{orgId}/customers/{customerId}/api-keys

Keys this platform minted for the linked customer (platform:customer_keys). Keys the customer created on their own Developer page are not listed. The secret is never returned.

Before you call it

  • Organizationplatform
  • Permissionplatform:customer_keys

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.
customerIdpath, uuidrequiredA customer organization linked to your platform.

Response 200

Minted keys

FieldWhat it does
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.