#NEWLINE# def authorize( order_number , amt , bankcard , billing_address = None ) : #NEWLINE# #INDENT# '\n    Make an *authorisation* request\n\n    This holds the money on the customer\'s bank account but does not mark the\n    transaction for settlement.  This is the most common method to use for\n    fulfilling goods that require shipping.  When the goods are ready to be\n    shipped, the transaction can be marked for settlement by calling the\n    delayed_capture method.\n\n    If successful, return nothing ("silence is golden") - if unsuccessful raise\n    an exception which can be caught and handled within view code.\n\n    :order_number: Order number for request\n    :amt: Amount for transaction\n    :bankcard: Instance of Oscar\'s Bankcard class (which is just a dumb wrapper\n               around the pertinent bankcard attributes).\n    :billing_address: A dict of billing address information (which can\n                      come from the `cleaned_data` of a billing address form).\n    ' #NEWLINE# return _submit_payment_details ( gateway . authorize , order_number , amt , bankcard , billing_address )