def capture(self, money, authorization, options=None):
        if not options:
            options = {}
        post = {}
        post["trans_id"] = authorization
        post.update(options)

        response = self.commit("PRIOR_AUTH_CAPTURE", money, post)
        status = "SUCCESS"
        if response.response_code != 1:
            status = "FAILURE"
            transaction_was_unsuccessful.send(sender=self,
                                              type="capture",
                                              response=response)
        else:
            transaction_was_successful.send(sender=self,
                                            type="capture",
                                            response=response)
        return {"status": status, "response": response}
Using Authorize.net payment gateway, capture the
dataset/ETHPy150Open agiliq/merchant/billing/gateways/authorize_net_gateway.py/AuthorizeNetGateway.capture