public function parseForRedirectAPI(ResourceModel $resource)
    {
        $this->initDefaultParams($resource);

        $this->parseRedirectUrls($resource);

        $this->parseCustomerInformation($resource);

        $this->parseFraudManagementParams($resource);

        $this->parseTransactionRecord($resource);

        $this->overrideDefaultParams($resource);

        $this->parseRealTimeRecurringRedirect($resource);

        //var_dump($this->payload);exit;
        return $this->payload;
    }