Upload a drawn signature
Stores a signature the applicant drew on screen, for a supporting document that asks for one. You send the strokes as JSON, the image is drawn for you, and it is stored as a supporting_document upload. The returned mediaId is referenced in a verification exactly like an uploaded file, and is discarded after 30 minutes if it is never referenced.
A hosted verification session token is also accepted in place of an API key. An optional X-Myaza-Device-Id header (at most 64 characters) records which device made the capture.
Errors carry a stable code in error and a sentence written for the applicant in message.
Error codes
Accepts a publishable (pk_) or secret (sk_) key.
Authentication
Send the API key as a Bearer token. Each operation states whether a publishable key is enough or a secret key is required. A scoped publishable key has Verification flow access, the fixed set flow.run, flow.config.read and verifications.status.read; a scoped secret key reaches what its scopes allow.
Request
Response
The identifier to reference in mediaIds when creating a verification.