Payezydevelopers
Sandbox

API reference / Organizations and teams

List the activity log

GET/v1/orgs/{orgId}/activity

The organization's audit trail, newest first, including who acted and through which source (app, API key, platform).

Before you call it

  • Permissionactivity:view

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.
beforequery, date-timeNo description in the spec yet.
limitquery, integerHow many items to return.

1 to 200, default 50

Response 200

Audit trail for the organization

FieldWhat it does
itemsActivityEvent[]requiredNo description in the spec yet.
items[].idstring (uuid)requiredNo description in the spec yet.
items[].occurred_atstring (date-time)requiredNo description in the spec yet.
items[].actor_typeenumrequiredNo description in the spec yet.

One of user staff system partner api_key

items[].actor_idstringrequiredNo description in the spec yet.
items[].actor_namestringrequiredNo description in the spec yet.
items[].on_behalfbooleanrequiredPerformed by Payezy staff or a platform partner on the customer's behalf
items[].via_platform_namestringSet when a platform did this, either in view-as or with a customer key that platform minted
items[].actionstringrequiredNo description in the spec yet.
items[].resource_typestringrequiredNo description in the spec yet.
items[].resource_idstringrequiredNo description in the spec yet.
items[].reasonstringrequiredNo description in the spec yet.
next_beforestring (date-time)No description in the spec yet.