Update a recipient
PATCH/v1/orgs/{orgId}/counterparties/{counterpartyId}
Change a recipient's name, email or category. Categories are filters only.
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. |
Request body
| Field | What it does |
|---|---|
namestring | No description in the spec yet. |
emailstring | No description in the spec yet. |
categoryenum | No description in the spec yet. One of |
Response 200
Updated
| 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. |
Errors to handle
| Code | What it means and what to do |
|---|---|
invalid_category422 | category must be one of |
Every error is a Problem document. Branch on code; quote request_id to support.