Payezydevelopers
Sandbox

API reference / Platform invitations and enrollment

Resend a customer invitation

POST/v1/platforms/{orgId}/invitations/{invitationId}/resend

Emails a new link (the previous one stops working) and restarts the 14-day expiry.

Before you call it

  • Organizationplatform (active)
  • Permissionplatform:customers_add

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.
invitationIdpath, uuidrequiredAn invitation id from the invitation list.

Request body

FieldWhat it does
deliveryenumHow an invitation reaches the invitee. screen sends no email and returns the link to the sender instead; it is only accepted in test environments (staging, local) and refused in production, which always emails.

One of email screen

Default "email"

Response 200

Re-sent

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

One of individual business any

customer_namestringrequiredNo description in the spec yet.
external_refstringrequiredNo description in the spec yet.
statusenumrequiredNo description in the spec yet.

One of pending accepted revoked expired

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