Payezydevelopers
Sandbox

API reference / Platform

Users

A user here is a platform customer, and a customer is its own organization (individual or business), not a login. platformOrgId on these calls is your platform's organization id. platformOrgId is the platform response's org_id and customerOrgId is the customer response's org_id. The customer's org_id is the organization later account, payment, and withdrawal calls act on.

The platform must be active. Another platform's customer is not_found.

POSTCreate a user

POST/v1/platforms/{platformOrgId}/customers

Opens the customer organization and stores the KYC or KYB application as a draft. accept_terms on this call is ignored.

Reference

PATCHUpdate a user

PATCH/v1/platforms/{platformOrgId}/customers/{customerOrgId}

Sets or clears external_ref only. It does not change the name, the owner email, or the verification application. The response is empty.

Reference

GETList users

GET/v1/platforms/{platformOrgId}/customers

Lists customer organizations linked to your platform, newest first. Filter with status or q (name or reference). The console saves the first customer's org_id as customer_id.

Reference

GETGet a user

GET/v1/platforms/{platformOrgId}/customers/{customerOrgId}

Returns the customer organization, its members, financial accounts, recent payments, and verification_status. It does not return the application contents.

Reference