public function listing($currency, array $types = [])
    {
        $types = implode(',', $types);
        return $this->merchantApi->call('get', sprintf('channels?currency=%s&type=%s', strtoupper($currency), $types))->toArray();
    }
public function listing($currency, array $types = [])
    {
        $types = implode(',', $types);
        return $this->merchantApi->call('get', sprintf('channels?currency=%s&type=%s', strtoupper($currency), $types))->toArray();
    }
public function listing ( $ currency , array $ types = [ ] ) { $ types = implode ( ',' , $ types ) ; return $ this -> merchantApi -> call ( 'get' , sprintf ( 'channels?currency=%s&type=%s' , strtoupper ( $ currency ) , $ types ) ) -> toArray ( ) ; }
Lists currently available payment channels for a given currency
You can optionally filter channels by providing types of the channels as an array. See constants declared above.
@param $currency
@param array $types
@internal param array $type
@return array
@throws \Monetivo\Exceptions\MonetivoException
Lists currently available payment channels for a given currency You can optionally filter channels by providing types of the channels as an array . See constants declared above .