Whapi Accounts
Connector for the whapi-accounts API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://sandbox.whapi.com/v2/accounts - Auth:
bearer(pass your key via theapiKeyinput)
Operations
getdetails— GET /account — Retrieves details of a customers accountgetbalance— GET /account/balance — Get a customers account balancegetpayments— GET /account/payments — Gets a customer's account paymentsgetpluscarddetails— GET /account/plusCard — Gets a customer's plus card details if they exist.setaccountflags— POST /account/flags — Sets a flag based on name to value provided for the user.setloststolen— POST /account/plusCard/lostStolen — Sets a customer's plus card as Lost/Stolen
Inputs
apiKey— your whapi-accounts API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: getdetails
apiKey: <your key>