

def capture(self, amount, options=None):
    if (not options):
        options = {
            
        }
    assert ('ReserveTransactionId' in options), "Expecting 'ReserveTransactionId' in options"
    resp = self.fps_connection.settle(options['ReserveTransactionId'], amount)
    return {
        'status': resp.SettleResult.TransactionStatus,
        'response': resp.SettleResult,
    }

dataset/ETHPy150Open agiliq/merchant/billing/integrations/amazon_fps_integration.py AmazonFpsIntegration.capture/original