Set a recipient's default account
POST/v1/orgs/{orgId}/counterparties/{counterpartyId}/accounts/{externalAccountId}/default
The default is preselected when you pay this recipient.
Before you call it
- Permission
counterparties:manage
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. |
counterpartyIdpath, uuidrequired | A recipient from createCounterparty or listCounterparties. |
externalAccountIdpath, uuidrequired | One of the recipient's (or your own) bank accounts or wallets. |
Response 200
The recipient with its new default account
| Field | What it does |
|---|---|
idstring (uuid)required | No description in the spec yet. |
namestringrequired | No description in the spec yet. |
kindenumrequired | No description in the spec yet. One of |
emailstringrequired | No description in the spec yet. |
categoryenumrequired | No description in the spec yet. One of |
screening_statusenumrequired | No description in the spec yet. One of |
accountsExternalAccount[]required | No description in the spec yet. |
accounts[].idstring (uuid)required | No description in the spec yet. |
accounts[].typeenumrequired | No description in the spec yet. One of |
accounts[].is_defaultbooleanrequired | The account preselected when paying this recipient |
accounts[].labelstringrequired | No description in the spec yet. |
accounts[].bank_namestring | No description in the spec yet. |
accounts[].routing_numberstring | No description in the spec yet. |
accounts[].account_last4string | No description in the spec yet. |
accounts[].account_typestring | No description in the spec yet. |
accounts[].railsstring[]required | No description in the spec yet. |
accounts[].networkstring | No description in the spec yet. |
accounts[].addressstring | No description in the spec yet. |
created_atstring (date-time)required | No description in the spec yet. |