Skip to content
Verifiabl
Download OpenAPI JSON

Register a batch of non-PII payslip records

POST
/v1/registerNonPIIBatch
curl --request POST \
--url https://register.verifiabl.io/v1/registerNonPIIBatch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "records": [ { "verifiabl_reference": "K3mXq8Rt2pLz9wQv1AYb_w", "external_id": "payslip-84213", "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": "QEFCQ0RFRkdISUpL", "tag": "oKGio6SlpqeoqaqrrK2urw" } } ] }'

Registers up to 1,000 records with ordered per-record outcomes. Record-level validation failures are represented in the successful response.

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.

Media typeapplication/json
object
records
required
Array<object>
>= 1 items <= 1000 items
object
verifiabl_reference
required
string
>= 22 characters <= 22 characters /^[A-Za-z0-9_-]+$/
external_id
string
>= 1 characters <= 255 characters /^[\x20-\x7e]+$/
schema
required

Payslip schema id. Registered: au.payslip.v2, nz.payslip.v2. A record with any other id gets an error result with VALIDATION_FAILED.

string
>= 1 characters <= 64 characters /^[a-z]{2}\.[a-z]+\.v\d+$/
issued_at
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
payslip_non_pii
required

The non-PII payslip for the schema version, as on registerNonPII. Send each field that the payslip shows. Checked per record.

object
key
additional properties
encryption_metadata
required
object
iv
required
string
>= 16 characters <= 16 characters /^[A-Za-z0-9_-]+$/
tag
required
string
>= 22 characters <= 22 characters /^[A-Za-z0-9_-]+$/
key_version
string
/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\.[1-9][0-9]{0,5}$/

Examples

ExamplePay Run

One record from a pay run (replace all encryption outputs)

{
"records": [
{
"verifiabl_reference": "K3mXq8Rt2pLz9wQv1AYb_w",
"external_id": "payslip-84213",
"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": "QEFCQ0RFRkdISUpL",
"tag": "oKGio6SlpqeoqaqrrK2urw"
}
}
]
}

The batch was processed.

Media typeapplication/json
object
results
required
Array
One of:
Created
object
status
required
string
Allowed values: created
verifiabl_reference
required
string
>= 22 characters <= 22 characters /^[A-Za-z0-9_-]+$/
external_id
string
>= 1 characters <= 255 characters /^[\x20-\x7e]+$/

Examples

ExampleProcessed

Created, duplicate, and rejected records

{
"results": [
{
"status": "created",
"verifiabl_reference": "K3mXq8Rt2pLz9wQv1AYb_w",
"external_id": "payslip-84213"
},
{
"status": "duplicate",
"verifiabl_reference": "B2nYr7St3qMa0xRw2BdEfg",
"external_id": "payslip-84214"
},
{
"status": "error",
"code": "VALIDATION_FAILED",
"detail": "payslip_non_pii does not conform to au.payslip.v2: net: Invalid input: expected string, received number",
"verifiabl_reference": "C3oZs8Tu4rNb1ySx3CgHij",
"external_id": "payslip-84215"
},
{
"status": "error",
"code": "CONFLICT",
"detail": "verifiabl_reference already registered with different data",
"verifiabl_reference": "D4pAt9Uv5sOc2zTy4DhIjk",
"external_id": "payslip-84216"
},
{
"status": "error",
"code": "IV_REUSED",
"detail": "encryption_metadata.iv has already been used by this issuer; re-encrypt the record with a fresh iv",
"verifiabl_reference": "E5qBu0Vw6tPd3aUz5EiJkl",
"external_id": "payslip-84217"
}
]
}
X-Request-Id
required
string format: uuid

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-5d2c8e1f7a40

The batch request envelope failed strict validation.

Media typeapplication/json
object
error
required

Human-readable summary. It may change; do not branch on it.

string
code
required

Stable error code. Branch on this value.

string
Allowed values: VALIDATION_FAILED
reason

Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.

string
detail

Human-readable detail. It may change; do not branch on it.

string
field_errors

Per-field validation issues.

Array<object>
object
path
required

Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.

string
message
required

Human-readable message. It may change; do not branch on it.

string

Examples

ExampleValidation Failed

The batch request envelope failed strict validation.

{
"error": "Validation failed",
"code": "VALIDATION_FAILED",
"field_errors": [
{
"path": "records",
"message": "records must contain at least one record"
}
]
}
X-Request-Id
required
string format: uuid

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-5d2c8e1f7a40

The bearer token is missing or invalid.

Media typeapplication/json
object
error
required

Human-readable summary. It may change; do not branch on it.

string
code
required

Stable error code. Branch on this value.

string
Allowed values: UNAUTHORIZED
reason

Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.

string
detail

Human-readable detail. It may change; do not branch on it.

string
field_errors

Per-field validation issues.

Array<object>
object
path
required

Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.

string
message
required

Human-readable message. It may change; do not branch on it.

string

Examples

ExampleUnauthorized

The bearer token is missing or invalid.

{
"error": "Unauthorized",
"code": "UNAUTHORIZED"
}
X-Request-Id
required
string format: uuid

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-5d2c8e1f7a40

The authenticated principal cannot use this operation.

Media typeapplication/json
object
error
required

Human-readable summary. It may change; do not branch on it.

string
code
required

Stable error code. Branch on this value.

string
Allowed values: FORBIDDEN
reason

Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.

string
detail

Human-readable detail. It may change; do not branch on it.

string
field_errors

Per-field validation issues.

Array<object>
object
path
required

Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.

string
message
required

Human-readable message. It may change; do not branch on it.

string

Examples

ExampleForbidden

The authenticated principal cannot use this operation.

{
"error": "Forbidden",
"code": "FORBIDDEN"
}
X-Request-Id
required
string format: uuid

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-5d2c8e1f7a40

The JSON request body exceeds the route limit.

Media typeapplication/json
object
error
required

Human-readable summary. It may change; do not branch on it.

string
code
required

Stable error code. Branch on this value.

string
Allowed values: PAYLOAD_TOO_LARGE
reason

Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.

string
detail

Human-readable detail. It may change; do not branch on it.

string
field_errors

Per-field validation issues.

Array<object>
object
path
required

Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.

string
message
required

Human-readable message. It may change; do not branch on it.

string

Examples

ExamplePayload Too Large

The JSON request body exceeds the route limit.

{
"error": "Request body too large",
"code": "PAYLOAD_TOO_LARGE"
}
X-Request-Id
required
string format: uuid

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-5d2c8e1f7a40

The request Content-Type is not supported.

Media typeapplication/json
object
error
required

Human-readable summary. It may change; do not branch on it.

string
code
required

Stable error code. Branch on this value.

string
Allowed values: UNSUPPORTED_MEDIA_TYPE
reason

Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.

string
detail

Human-readable detail. It may change; do not branch on it.

string
field_errors

Per-field validation issues.

Array<object>
object
path
required

Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.

string
message
required

Human-readable message. It may change; do not branch on it.

string

Examples

ExampleUnsupported Media Type

The request Content-Type is not supported.

{
"error": "Unsupported media type",
"code": "UNSUPPORTED_MEDIA_TYPE"
}
X-Request-Id
required
string format: uuid

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-5d2c8e1f7a40

The request exceeded an IP or client rate limit.

Media typeapplication/json
object
error
required

Human-readable summary. It may change; do not branch on it.

string
code
required

Stable error code. Branch on this value.

string
Allowed values: RATE_LIMITED
reason

Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.

string
detail

Human-readable detail. It may change; do not branch on it.

string
field_errors

Per-field validation issues.

Array<object>
object
path
required

Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.

string
message
required

Human-readable message. It may change; do not branch on it.

string

Examples

ExampleRate Limited

The request exceeded an IP or client rate limit.

{
"error": "Too many requests",
"code": "RATE_LIMITED",
"detail": "Retry after the rate limit resets."
}
X-Request-Id
required
string format: uuid

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-5d2c8e1f7a40
Retry-After
required
integer
<= 9007199254740991

Seconds to wait before retrying.

Example
60

An unexpected internal error occurred.

Media typeapplication/json
object
error
required

Human-readable summary. It may change; do not branch on it.

string
code
required

Stable error code. Branch on this value.

string
Allowed values: INTERNAL_ERROR
reason

Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.

string
detail

Human-readable detail. It may change; do not branch on it.

string
field_errors

Per-field validation issues.

Array<object>
object
path
required

Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.

string
message
required

Human-readable message. It may change; do not branch on it.

string

Examples

ExampleInternal Error

An unexpected internal error occurred.

{
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}
X-Request-Id
required
string format: uuid

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-5d2c8e1f7a40

The instance has reached its concurrent batch limit.

Media typeapplication/json
object
error
required

Human-readable summary. It may change; do not branch on it.

string
code
required

Stable error code. Branch on this value.

string
Allowed values: SERVICE_UNAVAILABLE
reason

Stable subtype of code, set where one code covers causes a client handles differently. Where an operation documents reasons, a missing reason is meaningful.

string
detail

Human-readable detail. It may change; do not branch on it.

string
field_errors

Per-field validation issues.

Array<object>
object
path
required

Dot-delimited path of the field, such as encryption_metadata.iv, or “” when the issue is not field-specific.

string
message
required

Human-readable message. It may change; do not branch on it.

string

Examples

ExampleService Unavailable

The instance has reached its concurrent batch limit.

{
"error": "Service temporarily unavailable",
"code": "SERVICE_UNAVAILABLE",
"detail": "Please retry with exponential backoff."
}
X-Request-Id
required
string format: uuid

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-5d2c8e1f7a40
Retry-After
required
integer
<= 9007199254740991

Seconds to wait before retrying.

Example
5