How to delete a saved bank account

A bank can be deleted from the system by using the following URL and POST parameters

 

 Method URL
 POST  https://api.fairwarningsoftware.com/v1.1.1/user/billing/bank/delete

 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.

 

 Status Response
 200

 {
    "success" : <success>
}

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.