wepay.calls.oauth2
Module¶
-
class
wepay.calls.oauth2.
OAuth2
(api)[source]¶ API OAuth2 Endpoints
Documentation: /oauth2/authorize.
Note
This is not an API call but an actual uri that you send the user to.
-
token
(client_id, redirect_uri, client_secret, code, **kwargs)¶ Call documentation: /oauth2/token, plus extra keyword parameter:
Parameters: - batch_mode (bool) – turn on/off the batch_mode, see
wepay.api.WePay
- batch_reference_id (str) – reference_id param for batch call,
see
wepay.api.WePay
- api_version (str) – WePay API version, see
wepay.api.WePay
- batch_mode (bool) – turn on/off the batch_mode, see