Payezydevelopers
Sandbox

API reference

Act as a platform

Act on a customer with your platform key. platformOrgId is the platform response's org_id and customerOrgId is the customer response's org_id. The console fills platformOrgId from platform_id and customerOrgId from customer_id.

Create the key on the Developer page with three scopes. platform:customer_accounts_view reads accounts, statements, funding, payments, recipients, and activity, and it starts selected. Check platform:customer_operate to create and cancel payments and withdrawals and to manage recipients and linked accounts. Check platform:customer_payments_approve to approve or reject a payment. The default selection does not include those two. The customer must be active. Payment events still go to the customer organization.

These routes mirror the organization calls further down. A platform key does not call /v1/orgs/... for a customer.