wepay.calls.checkout
Module¶
-
class
wepay.calls.checkout.
Checkout
(api)[source]¶ The /checkout API calls
-
__call__
(checkout_id, **kwargs)[source]¶ Call documentation: /checkout, plus extra keyword parameters:
Parameters: - access_token (str) – will be used instead of instance’s
access_token
, withbatch_mode=True
will 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
(account_id, **kwargs)¶ Call documentation: /checkout/find, plus extra keyword parameters:
Parameters: - access_token (str) – will be used instead of instance’s
access_token
, withbatch_mode=True
will 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
(account_id, short_description, type, amount, **kwargs)¶ Call documentation: /checkout/create, plus extra keyword parameters:
Parameters: - access_token (str) – will be used instead of instance’s
access_token
, withbatch_mode=True
will 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
(checkout_id, cancel_reason, **kwargs)¶ Call documentation: /checkout/cancel, plus extra keyword parameters:
Parameters: - access_token (str) – will be used instead of instance’s
access_token
, withbatch_mode=True
will 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
-
refund
(checkout_id, refund_reason, **kwargs)¶ Call documentation: /checkout/refund, plus extra keyword parameters:
Parameters: - access_token (str) – will be used instead of instance’s
access_token
, withbatch_mode=True
will 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
-
capture
(checkout_id, **kwargs)¶ Call documentation: /checkout/capture, plus extra keyword parameters:
Parameters: - access_token (str) – will be used instead of instance’s
access_token
, withbatch_mode=True
will 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
(checkout_id, **kwargs)¶ Call documentation: /checkout/modify, plus extra keyword parameters:
Parameters: - access_token (str) – will be used instead of instance’s
access_token
, withbatch_mode=True
will 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
-