Two-Factor Authentication using PDFfiller PHP Client

PDFfiller cares about their customers and offers the securest editing, filling, signing and sharing service. Simply use two-factor authentication to protect all your business documents and always keep your account secure.
          
              
                    $s2s = new SignatureRequest($provider);
$s2s->document_id = 120934200;

$s2s->method = new SignatureRequestMethod(SignatureRequestMethod::SEND_TO_EACH);
$s2s->envelope_name = 'group envelope';
$s2s->pin = 'tst';

$s2s->security_pin = new SignatureRequestSecurityPin(SignatureRequestSecurityPin::ENHANCED);
$s2s->recipients[] = new SignatureRequestRecipient($provider, [
    'email' => 'test@test.com',
    'name' => 'Test user',
    'access' => 'full',
    'require_photo' => true,
    'message_subject' => 'subject',
    'message_text' => 'message',
    "phone_authenticate" => "+380939147674",
    'additional_documents' => [
        'doc1'
    ]
]);
$s2s->recipients[] = new SignatureRequestRecipient($provider, [
    'email' => 'test2@test.com',
    'name' => 'Test user',
    'access' => 'full',
    'require_photo' => true,
    'message_subject' => 'subject',
    'message_text' => 'message',
    "phone_authenticate" => "+380939147674",
    'additional_documents' => [
        'doc1'
    ]
]);

$result = $s2s->save();