Use a PIN using PDFfiller PHP Client

Using PDFfiller, you can be sure all documents are securely stored. Use a PIN to encrypt folders containing sensitive information. Simply enter your phone number and receive a code to encrypt the folder. This will protect all data saved there.
          
              
                    PDFfiller\OAuth2\Client\Provider\SignatureRequest::save();

$s2s = new SignatureRequest($provider);
$s2s->document_id = 20809416;

$s2s->method = new SignatureRequestMethod(SignatureRequestMethod::SEND_TO_EACH);
$s2s->envelope_name = 'Title';
$s2s->pin = "1464";

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

$result = $s2s->save();