constresult=awaitscraper.scrape({phoneNumber:'972-000000000',// international-dash (with -)otpCodeRetriever:async()=>awaitmyInbox.getCode(),});// Save result.persistentOtpToken — pass as otpLongTermToken on next run to skip SMS
Uses symmetric (AES-CBC-PKCS7) signing with the signature written into the request body at an RFC-6901 pointer.
The cryptoField pre-hook encrypts the OTP into /pin with a fresh IV at /pinIv.
Deterministic sha256-prefix-16 bootstrap: PayBox binds its long-term JWT to a phone-derived deviceId16Hex so the caller doesn't have to persist a device id.
v8.4.x added a cold-path unblock when no PAYBOX_OTP_LONG_TERM cache exists.