Update an existing payout entity
PUT
/payout_entities/{payout_entity_id}
Path parameters
-
payout_entity_id string Required
ID of the Payout Entity
Body Required
Update attributes of an existing associated entity
-
external_fields array[object]
An Array of External Fields. These should be used to connect entities created in Canopy to data in your system and any connected external systems.
Not more than
1000
elements. -
parent_payout_entity_id string
A Canopy-generated ID for the parent of this associated entity to establish a parent-child relationship.
-
company_identification string
The Depository Financial Institution (DFI) ID of the entity.
-
bank_account_number string
Account number of the bank account for payment distributions.
-
bank_routing_number string
The 9 digit routing number of the bank account for payment distributions. The final digit must pass check digit validation.
-
bank_account_type string
The type of bank account being stored for the payout entity.
Values are
CHECKING
,SAVINGS
, orGL
.
PUT /payout_entities/{payout_entity_id}
curl \
-X PUT https://<your_environment_name>-uat-api.canopyservicing.com/payout_entities/0x1234 \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"external_fields":[{"key":"Umbrella Corporation","value":"22445702-a389-431f-927d-07b8d0750787"}],"parent_payout_entity_id":"31mNprzLd2bKl6koVna68ARM","company_identification":"X000100393","bank_account_number":"1001001234","bank_routing_number":"012345678","bank_account_type":"CHECKING"}'
Request example
{
"external_fields": [
{
"key": "Umbrella Corporation",
"value": "22445702-a389-431f-927d-07b8d0750787"
}
],
"parent_payout_entity_id": "31mNprzLd2bKl6koVna68ARM",
"company_identification": "X000100393",
"bank_account_number": "1001001234",
"bank_routing_number": "012345678",
"bank_account_type": "CHECKING"
}
Response example (200)
{
"payout_entity_id": "0x1234",
"payout_entity_type": "lender",
"payout_entity_name": "Wonka Industries",
"external_fields": [
{
"key": "Umbrella Corporation",
"value": "22445702-a389-431f-927d-07b8d0750787"
}
],
"parent_payout_entity_id": "31mNprzLd2bKl6koVna68ARM",
"bank_account_number": "1001001234",
"bank_routing_number": "012345678",
"bank_account_type": "CHECKING",
"company_identification": "X000100393",
"irs_tin": "203456789"
}