Add Bank Account to Buyer
Below is an example of adding a bank account to your buyer. The fields I provided in the example below are the minimum you need to add a bank account to your buyer.
Post to https://sandbox-api.cpxenterprise.com/buyer/v1/buyer/(buyer.id)
{
"id": "Bank Name",
"accountType": "checking",
"accountNumber": "xxxxxxxx567",
"routingNumber": "xxxxxxxx52"
}
"xxxxxxxxxxxxxxxxxxxxxxxxx55b9e133bc8754" //bank account token
If this was done in our production environment, after adding the bank accounts please reach out to your underwriting personal to approve the bank accounts for their appropriate payment type.
For our sandbox environment, you would need to approve the bank accounts for your buyer.
Make a get request to our API to know if the bank account has been successfully created.
Get to https://api.cpxenterprise.com/buyer/v1/buyer/id/bank/token
{
"accountNumber": "xxxxxxxxx",
"accountType": "checking",
"id": "xxxxxxxxxxxxxxxxxxxxxxxxx55b9e133bc8754",
"routingNumber": "xxxxxxx"
}
You can review our developer documentation for adding banks to your buyer here: https://developer.cpxchange.com/reference#apicreatebankaccount
Updated almost 4 years ago