This API endpoint is used to create a new counterparty. The request accepts information for the various accounts linked to the counterparty such as accountId, ach (Automated Clearing House) details, braid account details, businessId, firstName, lastName, individualId, productId, and wire transfer details. Note that the request body accepts without any provided names (firstName, lastName) and responds with default names ("Tester"). The response returns the same structure payload as the request with updated account details. The "accountId", if originally 0 or not-existing, is updated to a new value. Similarly, the newly created counterparty's "individualId", if not originally provided, is updated to 0. Also, "businessId" is updated to null if originally not-existing. The status code of successful response is 200. And, the header of the response contains various control and security features for the request.
post https://api.sandbox.braid.zone/counterparty