Payezydevelopers
Sandbox

API reference / Platform customers

Get a platform customer

GET/v1/platforms/{orgId}/customers/{customerId}

A read-only snapshot of a linked customer - status, members, accounts and recent payments.

Before you call it

  • Organizationplatform
  • Permissionplatform:view

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.
customerIdpath, uuidrequiredA customer organization linked to your platform.

Response 200

A customer with members, accounts and recent payments

FieldWhat it does
customerPlatformCustomerrequiredNo description in the spec yet.
customer.org_idstring (uuid)requiredNo description in the spec yet.
customer.namestringrequiredNo description in the spec yet.
customer.typeenumrequiredNo description in the spec yet.

One of individual business

customer.statusenumrequiredNo description in the spec yet.

One of kyc_required kyc_pending active restricted suspended closed

customer.status_reasonstringrequiredNo description in the spec yet.
customer.external_refstringrequiredThe platform's own identifier for this customer
customer.sourceenumrequiredNo description in the spec yet.

One of invitation enrollment_link staff platform_created

customer.joined_atstring (date-time)requiredNo description in the spec yet.
customer.availablestringrequiredNo description in the spec yet.
customer.postedstringrequiredNo description in the spec yet.
customer.awaiting_claimbooleanrequiredTrue only for an older platform-created account that still has no member
membersMember[]requiredNo description in the spec yet.
members[].user_idstring (uuid)requiredNo description in the spec yet.
members[].emailstringrequiredNo description in the spec yet.
members[].first_namestringrequiredNo description in the spec yet.
members[].last_namestringrequiredNo description in the spec yet.
members[].role_keystringrequiredNo description in the spec yet.
members[].role_namestringrequiredNo description in the spec yet.
members[].statusenumrequiredNo description in the spec yet.

One of active disabled

members[].joined_atstring (date-time)requiredNo description in the spec yet.
accountsFinancialAccount[]requiredNo description in the spec yet.
accounts[].idstring (uuid)requiredNo description in the spec yet.
accounts[].namestringrequiredNo description in the spec yet.
accounts[].currencystringrequiredNo description in the spec yet.
accounts[].statusenumrequiredNo description in the spec yet.

One of active frozen closed

accounts[].balanceBalancerequiredUSD amounts as decimal strings. Available excludes holds and pending credits.
accounts[].balance.currencystringrequiredNo description in the spec yet.
accounts[].balance.postedstringrequiredNo description in the spec yet.
accounts[].balance.availablestringrequiredNo description in the spec yet.
accounts[].balance.pending_instringrequiredIncoming funds not yet settled
accounts[].balance.pending_outstringrequiredHeld for payouts in flight
accounts[].created_atstring (date-time)requiredNo description in the spec yet.
paymentsPayment[]requiredNo description in the spec yet.
payments[].idstring (uuid)requiredNo description in the spec yet.
payments[].account_idstring (uuid)requiredNo description in the spec yet.
payments[].directionenumrequiredNo description in the spec yet.

One of inbound outbound

payments[].kindstringrequiredNo description in the spec yet.
payments[].purposeenumpayment sends to a third party, withdrawal moves funds to the organization's own account, deposit is incoming

One of payment withdrawal deposit

payments[].invoice_numberstringNo description in the spec yet.
payments[].statusstringrequiredNo description in the spec yet.
payments[].amountstringrequiredNo description in the spec yet.
payments[].assetstringrequiredNo description in the spec yet.
payments[].feestringrequiredNo description in the spec yet.
payments[].railstringrequiredNo description in the spec yet.
payments[].memostringrequiredNo description in the spec yet.
payments[].failurePaymentFailureNo description in the spec yet.
payments[].failure.codestringrequiredNo description in the spec yet.
payments[].failure.reasonstringrequiredNo description in the spec yet.
payments[].created_atstring (date-time)requiredNo description in the spec yet.
payments[].completed_atstring (date-time)No description in the spec yet.
payments[].counterparty_idstring (uuid)No description in the spec yet.
payments[].recipientstringRecipient name (outbound)
payments[].recipient_accountstringMasked destination, e.g. Chase ••6789
payments[].dest_assetstringStablecoin delivered (crypto payouts)
payments[].dest_networkstringNo description in the spec yet.
payments[].tx_hashstringOn-chain hash or bank trace number
payments[].approvals_requiredintegerNo description in the spec yet.
payments[].created_bystring (uuid)No description in the spec yet.
claimPlatformCustomerClaimNo description in the spec yet.
claim.idstring (uuid)requiredNo description in the spec yet.
claim.emailstringrequiredNo description in the spec yet.
claim.statusenumrequiredNo description in the spec yet.

One of pending accepted revoked expired

claim.expires_atstring (date-time)requiredNo description in the spec yet.
claim.accepted_atstring (date-time)No description in the spec yet.
claim.linkstringThe claim link. Create always returns it, because Payezy does not email that customer. Resend returns it only when delivery was screen.
verification_statusenumProgress of the customer's KYC/KYB application (never its contents)

One of draft pending_review submitted in_review documents_required documents_review approved rejected

verification_reasonstringWhy the partner sent the application back, when it did

Errors to handle

CodeWhat it means and what to do
not_found404The resource does not exist, or you are not allowed to know it exists - another organization, another platform's customer, or a production-only route in the sandbox.

Check the ids came from your own getMe / list calls. Payezy returns the same response for "missing" and "not yours" on purpose.

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