wepay.calls.preapproval Module¶
-
class
wepay.calls.preapproval.Preapproval(api)[source]¶ The /preapproval API calls
-
__call__(preapproval_id, **kwargs)[source]¶ Call documentation: /preapproval, plus extra keyword parameters:
Parameters: - access_token (str) – will be used instead of instance’s
access_token, withbatch_mode=Truewill set authorization param to it’s value. - 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
- access_token (str) – will be used instead of instance’s
-
find(**kwargs)¶ Call documentation: /preapproval/find, plus extra keyword parameters:
Parameters: - access_token (str) – will be used instead of instance’s
access_token, withbatch_mode=Truewill set authorization param to it’s value. - 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
- access_token (str) – will be used instead of instance’s
-
create(short_description, period, **kwargs)¶ Call documentation: /preapproval/create, plus extra keyword parameters:
Parameters: - access_token (str) – will be used instead of instance’s
access_token, withbatch_mode=Truewill set authorization param to it’s value. - 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
- access_token (str) – will be used instead of instance’s
-
cancel(preapproval_id, **kwargs)¶ Call documentation: /preapproval/cancel, plus extra keyword parameters:
Parameters: - access_token (str) – will be used instead of instance’s
access_token, withbatch_mode=Truewill set authorization param to it’s value. - 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
- access_token (str) – will be used instead of instance’s
-
modify(preapproval_id, **kwargs)¶ Call documentation: /preapproval/modify, plus extra keyword parameters:
Parameters: - access_token (str) – will be used instead of instance’s
access_token, withbatch_mode=Truewill set authorization param to it’s value. - 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
- access_token (str) – will be used instead of instance’s
-