Payezydevelopers
Sandbox

API reference / Platform invitations and enrollment

List customer invitations

GET/v1/platforms/{orgId}/invitations

Pending, accepted, revoked and expired invitations your platform sent, newest first.

Before you call it

  • Organizationplatform
  • Permissionplatform: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.

Response 200

Customer invitations, newest first

FieldWhat it does
itemsPlatformInvitation[]requiredNo description in the spec yet.
items[].idstring (uuid)requiredNo description in the spec yet.
items[].emailstringrequiredNo description in the spec yet.
items[].customer_typeenumrequiredNo description in the spec yet.

One of individual business any

items[].customer_namestringrequiredNo description in the spec yet.
items[].external_refstringrequiredNo description in the spec yet.
items[].statusenumrequiredNo description in the spec yet.

One of pending accepted revoked expired

items[].accepted_org_idstring (uuid)No description in the spec yet.
items[].expires_atstring (date-time)requiredNo description in the spec yet.
items[].created_atstring (date-time)requiredNo description in the spec yet.
items[].linkstringThe invitation link, returned by create and resend only when delivery was screen