Payezydevelopers
Sandbox

API reference / Organizations and teams

Create an organization

POST/v1/orgs

Opens an individual or business organization owned by the signed-in person. It starts in kyc_required; submit verification to activate it. Platforms create customers with createPlatformCustomer instead.

When to use it

Self-serve sign-up flows. Not for platforms adding customers.

Before you call it

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

Request body

FieldWhat it does
typeenumrequiredPlatforms apply through createPlatform

One of individual business

namestringrequiredNo description in the spec yet.
platform_invite_tokenstringOpens the organization as a customer of the inviting platform
platform_slugstringOpens the organization through a platform's enrollment link

Response 201

Created; the caller becomes the owner

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

One of individual business platform

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

One of kyc_required kyc_pending active restricted suspended closed

status_reasonstringrequiredNo description in the spec yet.
daily_payout_limitstringrequiredUSD
single_payout_limitstringrequiredUSD
created_atstring (date-time)requiredNo description in the spec yet.

Errors to handle

CodeWhat it means and what to do
individual_exists409The owner email already owns a personal (individual) account.

A person can own one personal account. Create a business account, or use the existing one.

invalid_type422type must be individual or business
name_required422name the key after the system that will use it

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

Usually next