lib/Api/Plan.php
public function getPriceByPlanCode(string $planCode): float
    {
        $plan = $this->getPlan($planCode);

        return (array_key_exists('recurring_price', $plan)) ? $plan['recurring_price'] : 0;
    }
public function getPriceByPlanCode(string $planCode): float
    {
        $plan = $this->getPlan($planCode);

        return (array_key_exists('recurring_price', $plan)) ? $plan['recurring_price'] : 0;
    }
get price by planCode