Bank counterparties
A bank counterparty is a US account a withdrawal pays: ACH, a domestic wire, or an international wire sent from the US product. Mexico, Colombia, Argentina, Brazil and Nigeria stay on the v2 country endpoints.
List Bank Counterparties
The US withdrawal destinations of the workspace or of one account, newest first. Counterparties saved through v2 are listed too. Deleted counterparties, deposit accounts and other countries' beneficiaries are not.
Save a Bank Counterparty
Saves a US account a withdrawal can pay. The coin is USD. Which fields the rail needs is in The rails.
Get a Bank Counterparty
One US withdrawal destination, by id. A counterparty saved through v2 can be read too, by its id in TypeID form. The response carries the full account number.
Update a Bank Counterparty
Changes a US withdrawal destination. A field left out keeps its stored value, and sending "" does not clear one. reference, customer_id and coin cannot change. A body with no fields returns the counterparty unchanged.
Delete a Bank Counterparty
Retires a US withdrawal destination. It is no longer listed, and a new withdrawal cannot name it. The record is kept, so a withdrawal already sent still finds it. Saving the same reference again creates a new counterparty; the deleted one's id does not come back.