def METHOD_NAME(self, post=None):
    if post:
        _logger.info(post)
    response = self.acquirer_id._bacenpix_status_transaction(
        self.acquirer_reference
    )
    response_data = response.json()
    if response_data.get("status") == BACENPIX_STATUS_CREATED:
        _logger.info("BACENPIX_STATUS_CREATED")
        self._set_transaction_pending()
    elif response_data.get("status") == BACENPIX_STATUS_PAID:
        _logger.info("BACENPIX_STATUS_PAID")
        self._set_transaction_done()
        self._post_process_after_done()
    elif response_data.get("status") == BACENPIX_STATUS_REJECTED:
        _logger.info("BACENPIX_STATUS_REJECTED")
        self._set_transaction_error()
    elif response_data.get("status") == BACENPIX_STATUS_EXPIRED:
        _logger.info("BACENPIX_STATUS_EXPIRED")
        self._set_transaction_cancel()
        self.invoice_ids.button_draft()
        self.invoice_ids.button_cancel()
    elif response_data.get("status") == BACENPIX_STATUS_REFUNDED:
        _logger.info("BACENPIX_STATUS_REFUNDED")