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.
- GETList customer accounts
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/accountsAn
idfrom this list is theaccount_idon a payment or withdrawal. - GETGet a customer's statement
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/accounts/{accountId}/statementPosted lines on one Payezy account.
accountIdcomes from list customer accounts. - GETGet deposit instructions
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/accounts/{accountId}/fundingkindvirtual_accountis the bank account number.kinddeposit_addressis the wallet address. There is no separate get-account call. - GETList linked accounts
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/linked-accountsBank accounts and wallets connected to the customer, plus in-progress requests.
- GETList account sources
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/linked-accounts/sourcesThe kinds of linked account this customer can open.
- POSTOpen a customer's bank account
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/linked-accounts/banksOpens another US virtual account that deposits into an existing financial account.
- POSTRequest a customer's wallet
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/linked-accounts/walletsRecords a wallet request. It does not open a wallet. The deposit address from verification is the one the customer can use.
- POSTSimulate a customer's deposit
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/accounts/{accountId}/simulate-depositStaging and sandbox only. Production returns
not_found. Credits the customer without moving real money. Try-it on this site calls the sandbox. - GETList a customer's payments
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/paymentsPayments, withdrawals, and deposits, newest first. Filter with
purpose. - GETGet a customer's payment
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/payments/{paymentId}The payment, its status, and its timeline. The same call reads a withdrawal.
- GETGet a customer's payment limits
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/payment-limitsHow much this customer can still send today.
- POSTQuote a customer's payment
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/payments/quoteFee and arrival time for each rail before you create the payment.
- POSTCreate a payment
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/paymentsSends money from one of those accounts to a recipient. The amount plus the fee is reserved immediately. Above the approval threshold the status is
pending_approval. - POSTCancel a customer's payment
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/payments/{paymentId}/cancelCancels a payment that has not been sent yet.
- POSTApprove a payment
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/payments/{paymentId}/approveApproves a payment that is waiting. The key that created it cannot approve it unless the customer's policy allows self-approval.
- POSTReject a payment
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/payments/{paymentId}/rejectRejects a payment that is waiting for approval. The reserved amount is released.
- GETList a customer's recipients
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/counterpartiesRecipients are counterparties. Each item includes the account id you send as
external_account_id. - GETGet a customer's recipient
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/counterparties/{counterpartyId}The recipient, each account, and
screening_status. Pay only when it isclear. - POSTCreate a customer's recipient
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/counterpartiesAdds a recipient and their first bank account or wallet. That account becomes the default.
- PATCHUpdate a customer's recipient
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/counterparties/{counterpartyId}Changes
name,email, orcategoryonly. It does not change the bank account or wallet. - DELArchive a customer's recipient
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/counterparties/{counterpartyId}Hides the recipient from the list. It does not delete payments already sent.
- POSTAdd a recipient account
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/counterparties/{counterpartyId}/accountsAdds another bank account or wallet to a recipient.
- POSTSet the default recipient account
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/counterparties/{counterpartyId}/accounts/{externalAccountId}/defaultThe account preselected when you pay this recipient.
- DELRemove a recipient account
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/counterparties/{counterpartyId}/accounts/{externalAccountId}Removes one bank account or wallet. The last account cannot be removed.
- GETList the customer's own accounts
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/own-accountsBank accounts and wallets the customer owns elsewhere. These are withdrawal destinations, not recipients.
- POSTRegister the customer's own account
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/own-accountsRequired before a withdrawal. Send exactly one of
bankorwallet. - DELRemove the customer's own account
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/own-accounts/{externalAccountId}Removes a withdrawal destination. It does not remove a recipient.
- POSTQuote a customer's withdrawal
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/withdrawals/quoteFee and arrival time for moving money to an account the customer owns.
- POSTCreate a customer's withdrawal
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/withdrawalsMoves funds to one of those own accounts and returns a payment. A recipient account is
not_own_account. - GETList a customer's activity
/v1/platforms/{platformOrgId}/customers/{customerOrgId}/activityThe customer's activity log. A call made with the platform key is recorded there as the platform.