public function create($code, $options = array()) {
        $options = new Values($options);

        $data = Values::of(array(
            'Code' => $code,
            'To' => $options['to'],
            'VerificationSid' => $options['verificationSid'],
            'Amount' => $options['amount'],
            'Payee' => $options['payee'],
        ));

        $payload = $this->version->create(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new VerificationCheckInstance($this->version, $payload, $this->solution['serviceSid']);
    }
public function create($code, $options = array()) {
        $options = new Values($options);

        $data = Values::of(array(
            'Code' => $code,
            'To' => $options['to'],
            'VerificationSid' => $options['verificationSid'],
            'Amount' => $options['amount'],
            'Payee' => $options['payee'],
        ));

        $payload = $this->version->create(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new VerificationCheckInstance($this->version, $payload, $this->solution['serviceSid']);
    }
public function create ( $ code , $ options = array ( ) ) { $ options = new Values ( $ options ) ; $ data = Values :: of ( array ( 'Code' => $ code , 'To' => $ options [ 'to' ] , 'VerificationSid' => $ options [ 'verificationSid' ] , 'Amount' => $ options [ 'amount' ] , 'Payee' => $ options [ 'payee' ] , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new VerificationCheckInstance ( $ this -> version , $ payload , $ this -> solution [ 'serviceSid' ] ) ; }
Create a new VerificationCheckInstance

@param string $code The verification string
@param array|Options $options Optional Arguments
@return VerificationCheckInstance Newly created VerificationCheckInstance
@throws TwilioException When an HTTP error occurs.
Create a new VerificationCheckInstance