/*
- Server side integration for Venmo API
- Please make sure to define client_id, client_secret and scopes before getting started
- For full list of scopes, please see Venmo API documentation. By default, this class implements the bare
- minimum set of scopes to send money from one user to another.
-
- Call getAuthURL from app and direct user to that URL in app
-
- Call exchangeToken and pass query param "code" returned from first request
-
- On success, store the entire response so that you have access to the access and refresh tokens
-
- Call getUser or Payment request as needed
- See https://developer.venmo.com for more info
- To Do
-
- Error Handling - https://developer.venmo.com/docs/errors
-
- Yii wrapper */