public function createCharge(array $attributes)
    {
        // Log Debug
        $this->flow->getLogger()->debug('Charging: ' . json_encode($attributes));

        return $this->makeCharge(
            $this->flow->send(
                'post',
                $this->endpoint . '/charge',
                $attributes
            )
        );
    }
public function createCharge(array $attributes)
    {
        // Log Debug
        $this->flow->getLogger()->debug('Charging: ' . json_encode($attributes));

        return $this->makeCharge(
            $this->flow->send(
                'post',
                $this->endpoint . '/charge',
                $attributes
            )
        );
    }
public function createCharge ( array $ attributes ) { // Log Debug $ this -> flow -> getLogger ( ) -> debug ( 'Charging: ' . json_encode ( $ attributes ) ) ; return $ this -> makeCharge ( $ this -> flow -> send ( 'post' , $ this -> endpoint . '/charge' , $ attributes ) ) ; }
Immediately charges a desired amount into the customer registered
Credit Card

@param array $attributes
@return BasicResource
@throws \Exception
Immediately charges a desired amount into the customer registered Credit Card