Callback¶
-
class
altapay.
Callback
(version=None, header=None, body=None, api=None)¶ Bases:
altapay.resource.Resource
-
classmethod
create_invoice_reservation
(terminal, shop_orderid, amount, currency, api, **kwargs)¶ Create a new invoice without first creating a payment.
Return type: altapay.Transaction
-
classmethod
from_xml_callback
(callback)¶ Instantiate a
altapay.Callback
object from an XML response.Return type: altapay.Callback
instance.
-
transactions
(**kwargs)¶ List all of the transactions returned by the callback.
Parameters: auth_type – the authentication type you wish to filter. Defaults to empty string, which means no filter will be made. Return type: List of altapay.Transaction
objects.
-
classmethod