Payezydevelopers
Sandbox

API reference / Platform invitations and enrollment

Look up an invitation or enrollment link

GET/v1/platform-enrollments/lookup

Resolves a platform invitation token or enrollment link for the signed-in user.

When to use it

In your customer-facing sign-up, to show which platform the customer is joining.

Before you call it

  • CredentialAny signed-in member or API key of the organization.

Parameters

ParameterWhat it does
tokenquery, stringNo description in the spec yet.
slugquery, stringNo description in the spec yet.

Response 200

The platform the user would join

FieldWhat it does
platform_idstring (uuid)requiredNo description in the spec yet.
platform_namestringrequiredNo description in the spec yet.
sourceenumrequiredNo description in the spec yet.

One of invitation enrollment_link

customer_typeenumrequiredNo description in the spec yet.

One of individual business any

customer_namestringrequiredNo description in the spec yet.

Errors to handle

CodeWhat it means and what to do
enrollment_required422provide an invitation token or a platform link
invitation_inactive409this invitation is no longer valid; ask the platform for a new one

Every error is a Problem document. Branch on code; quote request_id to support.