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
- Organization
platform - Permission
platform:view
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The 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, uuidrequired | A customer organization linked to your platform. |
Response 200
A customer with members, accounts and recent payments
| Field | What it does |
|---|---|
customerPlatformCustomerrequired | No description in the spec yet. |
customer.org_idstring (uuid)required | No description in the spec yet. |
customer.namestringrequired | No description in the spec yet. |
customer.typeenumrequired | No description in the spec yet. One of |
customer.statusenumrequired | No description in the spec yet. One of |
customer.status_reasonstringrequired | No description in the spec yet. |
customer.external_refstringrequired | The platform's own identifier for this customer |
customer.sourceenumrequired | No description in the spec yet. One of |
customer.joined_atstring (date-time)required | No description in the spec yet. |
customer.availablestringrequired | No description in the spec yet. |
customer.postedstringrequired | No description in the spec yet. |
customer.awaiting_claimbooleanrequired | True only for an older platform-created account that still has no member |
membersMember[]required | No description in the spec yet. |
members[].user_idstring (uuid)required | No description in the spec yet. |
members[].emailstringrequired | No description in the spec yet. |
members[].first_namestringrequired | No description in the spec yet. |
members[].last_namestringrequired | No description in the spec yet. |
members[].role_keystringrequired | No description in the spec yet. |
members[].role_namestringrequired | No description in the spec yet. |
members[].statusenumrequired | No description in the spec yet. One of |
members[].joined_atstring (date-time)required | No description in the spec yet. |
accountsFinancialAccount[]required | No description in the spec yet. |
accounts[].idstring (uuid)required | No description in the spec yet. |
accounts[].namestringrequired | No description in the spec yet. |
accounts[].currencystringrequired | No description in the spec yet. |
accounts[].statusenumrequired | No description in the spec yet. One of |
accounts[].balanceBalancerequired | USD amounts as decimal strings. Available excludes holds and pending credits. |
accounts[].balance.currencystringrequired | No description in the spec yet. |
accounts[].balance.postedstringrequired | No description in the spec yet. |
accounts[].balance.availablestringrequired | No description in the spec yet. |
accounts[].balance.pending_instringrequired | Incoming funds not yet settled |
accounts[].balance.pending_outstringrequired | Held for payouts in flight |
accounts[].created_atstring (date-time)required | No description in the spec yet. |
paymentsPayment[]required | No description in the spec yet. |
payments[].idstring (uuid)required | No description in the spec yet. |
payments[].account_idstring (uuid)required | No description in the spec yet. |
payments[].directionenumrequired | No description in the spec yet. One of |
payments[].kindstringrequired | No description in the spec yet. |
payments[].purposeenum | payment sends to a third party, withdrawal moves funds to the organization's own account, deposit is incoming One of |
payments[].invoice_numberstring | No description in the spec yet. |
payments[].statusstringrequired | No description in the spec yet. |
payments[].amountstringrequired | No description in the spec yet. |
payments[].assetstringrequired | No description in the spec yet. |
payments[].feestringrequired | No description in the spec yet. |
payments[].railstringrequired | No description in the spec yet. |
payments[].memostringrequired | No description in the spec yet. |
payments[].failurePaymentFailure | No description in the spec yet. |
payments[].failure.codestringrequired | No description in the spec yet. |
payments[].failure.reasonstringrequired | No description in the spec yet. |
payments[].created_atstring (date-time)required | No 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[].recipientstring | Recipient name (outbound) |
payments[].recipient_accountstring | Masked destination, e.g. Chase ••6789 |
payments[].dest_assetstring | Stablecoin delivered (crypto payouts) |
payments[].dest_networkstring | No description in the spec yet. |
payments[].tx_hashstring | On-chain hash or bank trace number |
payments[].approvals_requiredinteger | No description in the spec yet. |
payments[].created_bystring (uuid) | No description in the spec yet. |
claimPlatformCustomerClaim | No description in the spec yet. |
claim.idstring (uuid)required | No description in the spec yet. |
claim.emailstringrequired | No description in the spec yet. |
claim.statusenumrequired | No description in the spec yet. One of |
claim.expires_atstring (date-time)required | No description in the spec yet. |
claim.accepted_atstring (date-time) | No description in the spec yet. |
claim.linkstring | The claim link. Create always returns it, because Payezy does not email that customer. Resend returns it only when delivery was screen. |
verification_statusenum | Progress of the customer's KYC/KYB application (never its contents) One of |
verification_reasonstring | Why the partner sent the application back, when it did |
Errors to handle
| Code | What it means and what to do |
|---|---|
not_found404 | The 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 |
Every error is a Problem document. Branch on code; quote request_id to support.