A bank can be updated in the system by using the following URL and POST parameters
| Method | URL |
| POST | https://api.fairwarningsoftware.com/v1.1.1/user/billing/bank/update |
Parameters to pass during the request:
| Field | Type | Required | Description |
| user_id | int | YES | The user's unique identification number from the FWS management software. |
| bank_id | int | YES | The unique ID for the bank. |
| account_holder_name | string | YES | The name of the owner of the bank account. |
| account_type | string | YES | The type of bank account. Either "individual" or "company". |
| account_number | string | YES | The bank account number. |
| routing_number | string | YES | The routing number for the bank. |
| country | string | YES | The country the bank is based in. |
| default_source | bool | NO | Whether this bank account is the default payment method. |
| Status | Response |
| 200 |
{ |
| 401 | {"error":"The API keys provided are invalid."} |
| 403 | {"error":"API keys are missing."} |
| 500 | {"error": <custom error>} |
| Field | Type | Description |
| success | bool | Whether the API call was successful or not. |
| error | string | Contains the error returned by the API, or false if there were no errors. |