# Unlimited Wash Club WashAssist API Endpoints ## Get authorization token `/api/Login` ## Connect a plan to a user profile User wants to connect their barcode to their portal profile `GET /api/Customers/FindByBarcode` The credit card last 4 digits entered by the user are checked against the results of this request to verify the user is allowed to connect the barcode. ## Refresh connected plan details Used when the user signs in or makes changes to their connected plan in order to get the latest account details. This is called on every request to the `/accounts` page. The information is stored in the database. `GET /api/Customers/GetCustomerByGuid` ## Update plan first name, last name and phone number Used to update the connected account's first and last name and phone number. This is used for the plan details, not for the profile, which is separate. `POST api/Customers` ## Cancel plan `/api/Customers/DeactivateAccount` ## Update payment info `/api/Customers/UpdateCreditCardInfo` ## Reactivate plan `/api/Customers/CustomerReactivation` ## Change plan Upgrade or downgrade a plan `/api/Customers/ChangePlan` ## Prorated plan price Used when changing a plan in order to display the prorate price that the customer will be charged `/api/Customers/GetCustomerProRateAmount` ## Available plans for a given location Get a list of available plans for a given location `/api/VIPAccountType/GetAccountForLocation` ## Locations Get a list of all locations `/api/Locations` ## Signup customer and buy a plan 1. `/api/Customers/SignupCustomer` 2. `/api/Customers/CustomerBuyPlan` ## Billing History and Statement (invoice) `api/Transactions/GetPaymentTransactionById`