Register one non-PII payslip record
const url = 'https://register.verifiabl.io/v1/registerNonPII';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"schema":"au.payslip.v2","issued_at":"2026-04-04T00:00:00.000Z","payslip_non_pii":{"period_start":"2026-03-21","period_end":"2026-04-03","payment_date":"2026-04-04","currency":"AUD","pay_frequency":"fortnightly","gross":"4153.85","taxable_gross":"3953.85","paygw":"911.00","net":"3077.35","ytd_gross":"83077.00","ytd_paygw":"18220.00","earnings":[{"type":"ordinary","amount":"3738.43","ytd_amount":"82661.58"},{"type":"paid_leave","leave_type":"other_paid_leave","units":"7.6","rate":"54.66","amount":"415.42"}],"salary_sacrifice":[{"type":"super","amount":"200.00"}],"deductions":[{"type":"other_post_tax","amount":"45.50"}],"superannuation":[{"contribution_type":"superannuation_guarantee","amount":"498.46","rate":"12","usi":"STA0100AU"},{"contribution_type":"salary_sacrifice","amount":"200.00"}],"reimbursements":"80.00","employment_basis":"full_time","engagement_type":"permanent","award":"Professional Employees Award 2020 Level 3","base_rate":{"amount":"108000.00","per":"year"},"ytd":{"taxable":"79077.00","super":"9969.20","non_taxable":"1600.00","post_tax_deductions":"910.00","reimbursements":"1600.00"}},"encryption_metadata":{"iv":"AAECAwQFBgcICQoL","tag":"UFFSU1RVVldYWVpbXF1eXw"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://register.verifiabl.io/v1/registerNonPII \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "schema": "au.payslip.v2", "issued_at": "2026-04-04T00:00:00.000Z", "payslip_non_pii": { "period_start": "2026-03-21", "period_end": "2026-04-03", "payment_date": "2026-04-04", "currency": "AUD", "pay_frequency": "fortnightly", "gross": "4153.85", "taxable_gross": "3953.85", "paygw": "911.00", "net": "3077.35", "ytd_gross": "83077.00", "ytd_paygw": "18220.00", "earnings": [ { "type": "ordinary", "amount": "3738.43", "ytd_amount": "82661.58" }, { "type": "paid_leave", "leave_type": "other_paid_leave", "units": "7.6", "rate": "54.66", "amount": "415.42" } ], "salary_sacrifice": [ { "type": "super", "amount": "200.00" } ], "deductions": [ { "type": "other_post_tax", "amount": "45.50" } ], "superannuation": [ { "contribution_type": "superannuation_guarantee", "amount": "498.46", "rate": "12", "usi": "STA0100AU" }, { "contribution_type": "salary_sacrifice", "amount": "200.00" } ], "reimbursements": "80.00", "employment_basis": "full_time", "engagement_type": "permanent", "award": "Professional Employees Award 2020 Level 3", "base_rate": { "amount": "108000.00", "per": "year" }, "ytd": { "taxable": "79077.00", "super": "9969.20", "non_taxable": "1600.00", "post_tax_deductions": "910.00", "reimbursements": "1600.00" } }, "encryption_metadata": { "iv": "AAECAwQFBgcICQoL", "tag": "UFFSU1RVVldYWVpbXF1eXw" } }'Registers a non-PII payslip and its encryption metadata. An issuer-supplied Verifiabl reference makes retries idempotent.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”The encryption values in these structural examples are non-submittable placeholders. For each payslip, perform one AES-256-GCM encryption with a fresh, unpredictable 96-bit IV from a cryptographically secure random number generator, then use that operation’s IV and authentication tag together with its ciphertext. Never copy, mix, or reuse the example encryption values.
object
The non-PII payslip data. Send each field that the payslip shows. Send only the required fields when the payslip shows no other data. For each field, refer to https://docs.verifiabl.io/api-reference/data-formats/payslip-data/au. If a value on the payslip has no field, email contact@verifiabl.io.
object
object
Deprecated. Send base_rate, and the hours and amount on ordinary earnings lines.
object
Deprecated. Send base_rate with per year.
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
The non-PII payslip data. Send each field that the payslip shows. Send only the required fields when the payslip shows no other data. For each field, refer to https://docs.verifiabl.io/api-reference/data-formats/payslip-data/nz. If a value on the payslip has no field, email contact@verifiabl.io.
object
object
Deprecated. Send base_rate, and the hours and amount on ordinary earnings lines.
object
Deprecated. Send base_rate with per year.
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Examples
Australian payslip (replace all encryption outputs)
{ "schema": "au.payslip.v2", "issued_at": "2026-04-04T00:00:00.000Z", "payslip_non_pii": { "period_start": "2026-03-21", "period_end": "2026-04-03", "payment_date": "2026-04-04", "currency": "AUD", "pay_frequency": "fortnightly", "gross": "4153.85", "taxable_gross": "3953.85", "paygw": "911.00", "net": "3077.35", "ytd_gross": "83077.00", "ytd_paygw": "18220.00", "earnings": [ { "type": "ordinary", "amount": "3738.43", "ytd_amount": "82661.58" }, { "type": "paid_leave", "leave_type": "other_paid_leave", "units": "7.6", "rate": "54.66", "amount": "415.42" } ], "salary_sacrifice": [ { "type": "super", "amount": "200.00" } ], "deductions": [ { "type": "other_post_tax", "amount": "45.50" } ], "superannuation": [ { "contribution_type": "superannuation_guarantee", "amount": "498.46", "rate": "12", "usi": "STA0100AU" }, { "contribution_type": "salary_sacrifice", "amount": "200.00" } ], "reimbursements": "80.00", "employment_basis": "full_time", "engagement_type": "permanent", "award": "Professional Employees Award 2020 Level 3", "base_rate": { "amount": "108000.00", "per": "year" }, "ytd": { "taxable": "79077.00", "super": "9969.20", "non_taxable": "1600.00", "post_tax_deductions": "910.00", "reimbursements": "1600.00" } }, "encryption_metadata": { "iv": "AAECAwQFBgcICQoL", "tag": "UFFSU1RVVldYWVpbXF1eXw" }}New Zealand payslip (replace all encryption outputs)
{ "schema": "nz.payslip.v2", "issued_at": "2026-04-22T00:00:00.000Z", "payslip_non_pii": { "period_start": "2026-04-06", "period_end": "2026-04-19", "payment_date": "2026-04-22", "currency": "NZD", "pay_cycle": "Fortnightly", "tax_code": "M SL", "employment_type": "Permanent", "hours_paid": "80", "gross": "3000.00", "paye": "660.00", "net": "2135.00", "ytd_gross": "3000.00", "ytd_paye": "660.00", "earnings": [ { "type": "ordinary", "units": "76", "rate": "37.50", "amount": "2850.00" }, { "type": "overtime", "units": "4", "rate": "37.50", "amount": "150.00" } ], "student_loan": "100.00", "kiwisaver_employee_deduction": "105.00", "kiwisaver_employee_rate": "3.5", "kiwisaver_employer_contribution": "105.00", "esct": "18.37", "leave_balances": { "annual": { "amount": "4", "unit": "weeks" }, "sick": { "amount": "10", "unit": "days" } } }, "encryption_metadata": { "iv": "EBESExQVFhcYGRob", "tag": "ZGVmZ2hpamtsbW5vcHFycw" }}Responses
Section titled “Responses”An identical issuer-referenced record already existed.
object
Examples
Registered payslip
{ "verifiabl_reference": "n5waC35dPCoRtMXW5_gJqw"}Headers
Section titled “Headers”Server-generated ID for this HTTP request. Quote it to Verifiabl support. It identifies one attempt, so a retry gets a new ID.
Example
0b6f8d2e-4c1a-4f7e-9a3b-5d2c8e1f7a40The record was created.
object
Examples
Registered payslip
{ "verifiabl_reference": "n5waC35dPCoRtMXW5_gJqw"}Headers
Section titled “Headers”Server-generated ID for this HTTP request. Quote it to Verifiabl support. It identifies one attempt, so a retry gets a new ID.
Example
0b6f8d2e-4c1a-4f7e-9a3b-5d2c8e1f7a40The request failed strict validation.
object
Human-readable summary. It may change; do not branch on it.
Stable error code. Branch on this value.
Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.
Human-readable detail. It may change; do not branch on it.
Per-field validation issues.
object
Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.
Human-readable message. It may change; do not branch on it.
Examples
The request failed strict validation.
{ "error": "Validation failed", "code": "VALIDATION_FAILED", "field_errors": [ { "path": "payslip_non_pii.net", "message": "Invalid input: expected string, received number" }, { "path": "encryption_metadata.iv", "message": "IV must be exactly 16 base64url characters (96 bits)" } ]}Headers
Section titled “Headers”Server-generated ID for this HTTP request. Quote it to Verifiabl support. It identifies one attempt, so a retry gets a new ID.
Example
0b6f8d2e-4c1a-4f7e-9a3b-5d2c8e1f7a40The bearer token is missing or invalid.
object
Human-readable summary. It may change; do not branch on it.
Stable error code. Branch on this value.
Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.
Human-readable detail. It may change; do not branch on it.
Per-field validation issues.
object
Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.
Human-readable message. It may change; do not branch on it.
Examples
The bearer token is missing or invalid.
{ "error": "Unauthorized", "code": "UNAUTHORIZED"}Headers
Section titled “Headers”Server-generated ID for this HTTP request. Quote it to Verifiabl support. It identifies one attempt, so a retry gets a new ID.
Example
0b6f8d2e-4c1a-4f7e-9a3b-5d2c8e1f7a40The authenticated principal cannot use this operation.
object
Human-readable summary. It may change; do not branch on it.
Stable error code. Branch on this value.
Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.
Human-readable detail. It may change; do not branch on it.
Per-field validation issues.
object
Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.
Human-readable message. It may change; do not branch on it.
Examples
The authenticated principal cannot use this operation.
{ "error": "Forbidden", "code": "FORBIDDEN"}Headers
Section titled “Headers”Server-generated ID for this HTTP request. Quote it to Verifiabl support. It identifies one attempt, so a retry gets a new ID.
Example
0b6f8d2e-4c1a-4f7e-9a3b-5d2c8e1f7a40The reference conflicts with another record, or the IV has already been used.
object
Human-readable summary. It may change; do not branch on it.
Stable error code. Branch on this value.
Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.
Human-readable detail. It may change; do not branch on it.
Per-field validation issues.
object
Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.
Human-readable message. It may change; do not branch on it.
Examples
The reference is registered with different data
{ "error": "Conflict", "code": "CONFLICT", "detail": "verifiabl_reference already registered with different data"}The IV has already been used by this issuer
{ "error": "Conflict", "code": "IV_REUSED", "detail": "encryption_metadata.iv has already been used by this issuer; re-encrypt the record with a fresh iv"}Headers
Section titled “Headers”Server-generated ID for this HTTP request. Quote it to Verifiabl support. It identifies one attempt, so a retry gets a new ID.
Example
0b6f8d2e-4c1a-4f7e-9a3b-5d2c8e1f7a40The JSON request body exceeds the route limit.
object
Human-readable summary. It may change; do not branch on it.
Stable error code. Branch on this value.
Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.
Human-readable detail. It may change; do not branch on it.
Per-field validation issues.
object
Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.
Human-readable message. It may change; do not branch on it.
Examples
The JSON request body exceeds the route limit.
{ "error": "Request body too large", "code": "PAYLOAD_TOO_LARGE"}Headers
Section titled “Headers”Server-generated ID for this HTTP request. Quote it to Verifiabl support. It identifies one attempt, so a retry gets a new ID.
Example
0b6f8d2e-4c1a-4f7e-9a3b-5d2c8e1f7a40The request Content-Type is not supported.
object
Human-readable summary. It may change; do not branch on it.
Stable error code. Branch on this value.
Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.
Human-readable detail. It may change; do not branch on it.
Per-field validation issues.
object
Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.
Human-readable message. It may change; do not branch on it.
Examples
The request Content-Type is not supported.
{ "error": "Unsupported media type", "code": "UNSUPPORTED_MEDIA_TYPE"}Headers
Section titled “Headers”Server-generated ID for this HTTP request. Quote it to Verifiabl support. It identifies one attempt, so a retry gets a new ID.
Example
0b6f8d2e-4c1a-4f7e-9a3b-5d2c8e1f7a40The request exceeded an IP or client rate limit.
object
Human-readable summary. It may change; do not branch on it.
Stable error code. Branch on this value.
Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.
Human-readable detail. It may change; do not branch on it.
Per-field validation issues.
object
Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.
Human-readable message. It may change; do not branch on it.
Examples
The request exceeded an IP or client rate limit.
{ "error": "Too many requests", "code": "RATE_LIMITED", "detail": "Retry after the rate limit resets."}Headers
Section titled “Headers”Server-generated ID for this HTTP request. Quote it to Verifiabl support. It identifies one attempt, so a retry gets a new ID.
Example
0b6f8d2e-4c1a-4f7e-9a3b-5d2c8e1f7a40Seconds to wait before retrying.
Example
60An unexpected internal error occurred.
object
Human-readable summary. It may change; do not branch on it.
Stable error code. Branch on this value.
Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.
Human-readable detail. It may change; do not branch on it.
Per-field validation issues.
object
Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.
Human-readable message. It may change; do not branch on it.
Examples
An unexpected internal error occurred.
{ "error": "Internal server error", "code": "INTERNAL_ERROR"}Headers
Section titled “Headers”Server-generated ID for this HTTP request. Quote it to Verifiabl support. It identifies one attempt, so a retry gets a new ID.
Example
0b6f8d2e-4c1a-4f7e-9a3b-5d2c8e1f7a40A required service dependency or configuration is unavailable. Send the request again later.
object
Human-readable summary. It may change; do not branch on it.
Stable error code. Branch on this value.
Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.
Human-readable detail. It may change; do not branch on it.
Per-field validation issues.
object
Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.
Human-readable message. It may change; do not branch on it.
Examples
A required service dependency or configuration is unavailable. Send the request again later.
{ "error": "Service temporarily unavailable", "code": "SERVICE_UNAVAILABLE", "detail": "Please retry with exponential backoff."}Headers
Section titled “Headers”Server-generated ID for this HTTP request. Quote it to Verifiabl support. It identifies one attempt, so a retry gets a new ID.
Example
0b6f8d2e-4c1a-4f7e-9a3b-5d2c8e1f7a40Seconds to wait before retrying.
Example
5