public function patchRedemptionRequestRedemption($strAccountSlug, $intRedemptionRequestId) {
        $objWebClient = $this->getWebClient();

        $strUri = $this->getApiUrl() . '/accounts/' . $strAccountSlug . '/redemption-requests/' . $intRedemptionRequestId . '/redemption';
        $arrHeaders = $this->getHeaders();

        $objRequest = $objWebClient->patch($strUri, $arrHeaders);

        $this->objResponse = $objRequest->send();

        return $this->objResponse;
    }
public function patchRedemptionRequestRedemption($strAccountSlug, $intRedemptionRequestId) {
        $objWebClient = $this->getWebClient();

        $strUri = $this->getApiUrl() . '/accounts/' . $strAccountSlug . '/redemption-requests/' . $intRedemptionRequestId . '/redemption';
        $arrHeaders = $this->getHeaders();

        $objRequest = $objWebClient->patch($strUri, $arrHeaders);

        $this->objResponse = $objRequest->send();

        return $this->objResponse;
    }
public function patchRedemptionRequestRedemption ( $ strAccountSlug , $ intRedemptionRequestId ) { $ objWebClient = $ this -> getWebClient ( ) ; $ strUri = $ this -> getApiUrl ( ) . '/accounts/' . $ strAccountSlug . '/redemption-requests/' . $ intRedemptionRequestId . '/redemption' ; $ arrHeaders = $ this -> getHeaders ( ) ; $ objRequest = $ objWebClient -> patch ( $ strUri , $ arrHeaders ) ; $ this -> objResponse = $ objRequest -> send ( ) ; return $ this -> objResponse ; }
Redeem a redemption request. After the redemption request is created it needs to be redeemed.
This will deduct the amount of the advocate unclaimed balance and move the request to the completed state.

@param string $strAccountSlug. The client account slug
@param integer $intRedemptionRequestId. The redemption request id
@return string
Redeem a redemption request . After the redemption request is created it needs to be redeemed . This will deduct the amount of the advocate unclaimed balance and move the request to the completed state .