Payezydevelopers
Sandbox

API reference / Platform profile

Update the platform profile

PATCH/v1/platforms/{orgId}

Edit the profile, the customer types offered on invitations, and open enrollment.

Before you call it

  • Organizationplatform
  • Permissionsettings:manage

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.

Request body

FieldWhat it does
websitestringNo description in the spec yet.
support_emailstringNo description in the spec yet.
descriptionstringNo description in the spec yet.
customer_typesenum[]No description in the spec yet.

One of business individual

enrollment_openbooleanNo description in the spec yet.

Response 200

Updated

FieldWhat it does
orgOrganizationrequiredNo description in the spec yet.
org.idstring (uuid)requiredNo description in the spec yet.
org.typeenumrequiredNo description in the spec yet.

One of individual business platform

org.namestringrequiredNo description in the spec yet.
org.statusenumrequiredNo description in the spec yet.

One of kyc_required kyc_pending active restricted suspended closed

org.status_reasonstringrequiredNo description in the spec yet.
org.daily_payout_limitstringrequiredUSD
org.single_payout_limitstringrequiredUSD
org.created_atstring (date-time)requiredNo description in the spec yet.
slugstringrequiredNo description in the spec yet.
legal_namestringrequiredNo description in the spec yet.
websitestringrequiredNo description in the spec yet.
support_emailstringrequiredNo description in the spec yet.
descriptionstringrequiredNo description in the spec yet.
customer_typesstring[]requiredNo description in the spec yet.
expected_customersintegerrequiredNo description in the spec yet.
expected_monthly_volumeintegerrequiredNo description in the spec yet.
enrollment_openbooleanrequiredAnyone with the enrollment link can open an account under the platform
reviewed_atstring (date-time)No description in the spec yet.
created_atstring (date-time)requiredNo description in the spec yet.

Errors to handle

CodeWhat it means and what to do
invalid_customer_types422customer types must be business and/or individual
slug_taken409this link name is taken; choose another

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