parameters: (self, transaction_id, amount)
return_statement: return self._format_response(response, 'prior_auth_capture')
docstring: Capture a previously authorized payment for the given amount.
  
          Capture a previsouly authorized payment. Note that the amount is required
          even though we do not support partial capture.
  
          :param str transaction_id: id of the authorized transaction in the
                                     Authorize.net backend
          :param str amount: transaction amount (up to 15 digits with decimal point)
  
          :return: a dict containing the response code, transaction id and transaction type
          :rtype: dict
docstring_summary: Capture a previously authorized payment for the given amount.
docstring_tokens: Capture a previously authorized payment for the given amount .
function: def capture(self, transaction_id, amount):
          """Capture a previously authorized payment for the given amount.
  
          Capture a previsouly authorized payment. Note that the amount is required
          even though we do not support partial capture.
  
          :param str transaction_id: id of the authorized transaction in the
                                     Authorize.net backend
          :param str amount: transaction amount (up to 15 digits with decimal point)
  
          :return: a dict containing the response code, transaction id and transaction type
          :rtype: dict
          """
          response = self._make_request('createTransactionRequest', {
              'transactionRequest': {
                  'transactionType': 'priorAuthCaptureTransaction',
                  'amount': str(amount),
                  'refTransId': transaction_id,
              }
          })
          return self._format_response(response, 'prior_auth_capture')
function_tokens: def capture ( self , transaction_id , amount ) : response = self . _make_request ( 'createTransactionRequest' , { 'transactionRequest' : { 'transactionType' : 'priorAuthCaptureTransaction' , 'amount' : str ( amount ) , 'refTransId' : transaction_id , } } ) return self . _format_response ( response , 'prior_auth_capture' )