Skip to content
Verifiabl
Download OpenAPI JSON

Register a payslip and build its barcode badge

POST
/v1/registerAndBuildBarcode
curl --request POST \
--url https://register.verifiabl.io/v1/registerAndBuildBarcode \
--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": "ICEiIyQlJicoKSor", "tag": "eHl6e3x9fn-AgYKDhIWGhw" }, "encrypted_pii": "Q2lwaGVydGV4dA" }'

Registers the non-PII record and returns a PNG barcode badge containing the transient ciphertext. The ciphertext and its derivatives are not persisted.

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
One of:
AU payslip v2
object
schema
required
string
Allowed values: au.payslip.v2
payslip_non_pii
required

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
period_start
string format: date
/^(?:(?:\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])))$/
period_end
required
string format: date
/^(?:(?:\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])))$/
payment_date
required
string format: date
/^(?:(?:\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])))$/
currency
required
string
Allowed values: AED AFN ALL AMD AOA ARS AUD AWG AZN BAM BBD BDT BHD BIF BMD BND BOB BRL BSD BTN BWP BYN BZD CAD CDF CHF CLP CNY COP CRC CUP CVE CZK DJF DKK DOP DZD EGP ERN ETB EUR FJD FKP GBP GEL GHS GIP GMD GNF GTQ GYD HKD HNL HTG HUF IDR ILS INR IQD IRR ISK JMD JOD JPY KES KGS KHR KMF KPW KRW KWD KYD KZT LAK LBP LKR LRD LSL LYD MAD MDL MGA MKD MMK MNT MOP MRU MUR MVR MWK MXN MYR MZN NAD NGN NIO NOK NPR NZD OMR PAB PEN PGK PHP PKR PLN PYG QAR RON RSD RUB RWF SAR SBD SCR SDG SEK SGD SHP SLE SOS SRD SSP STN SVC SYP SZL THB TJS TMT TND TOP TRY TTD TWD TZS UAH UGX USD UYU UZS VED VES VND VUV WST XAF XCD XCG XOF XPF YER ZAR ZMW ZWG
gross
required
string
/^-?\d+(\.\d+)?$/
paygw
required
string
/^-?\d+(\.\d+)?$/
net
required
string
/^-?\d+(\.\d+)?$/
ytd_gross
string
/^-?\d+(\.\d+)?$/
ytd_paygw
string
/^-?\d+(\.\d+)?$/
pay_frequency
string
Allowed values: weekly fortnightly monthly quarterly four_weekly semi_monthly
employment_basis
string
Allowed values: full_time part_time casual labour_hire voluntary_agreement death_beneficiary non_employee
engagement_type
string
Allowed values: permanent fixed_term
award
string
>= 1 characters
base_rate
object
amount
required
string
/^-?\d+(\.\d+)?$/
per
required
string
Allowed values: hour day week fortnight month year
hourly

Deprecated. Send base_rate, and the hours and amount on ordinary earnings lines.

object
ordinary_rate
required
string
/^-?\d+(\.\d+)?$/
hours
required
string
/^-?\d+(\.\d+)?$/
amount
required
string
/^-?\d+(\.\d+)?$/
annual_rate

Deprecated. Send base_rate with per year.

string
/^-?\d+(\.\d+)?$/
taxable_gross
string
/^-?\d+(\.\d+)?$/
stsl_withholding
string
/^-?\d+(\.\d+)?$/
earnings
Array
One of:
Paid leave
object
type
required
string
Allowed values: paid_leave
leave_type
required
string
Allowed values: cash_out_in_service unused_on_termination paid_parental workers_compensation ancillary_defence other_paid_leave
amount
required
string
/^-?\d+(\.\d+)?$/
units
string
/^-?\d+(\.\d+)?$/
rate
string
/^-?\d+(\.\d+)?$/
ytd_amount
string
/^-?\d+(\.\d+)?$/
salary_sacrifice
Array<object>
object
type
required
string
Allowed values: super other
amount
required
string
/^-?\d+(\.\d+)?$/
ytd_amount
string
/^-?\d+(\.\d+)?$/
deductions
Array<object>
object
type
required
string
Allowed values: union_professional_fees workplace_giving child_support_deduction child_support_garnishee other_post_tax
amount
required
string
/^-?\d+(\.\d+)?$/
ytd_amount
string
/^-?\d+(\.\d+)?$/
superannuation
Array<object>
object
contribution_type
required
string
Allowed values: superannuation_guarantee resc salary_sacrifice other
amount
required
string
/^-?\d+(\.\d+)?$/
rate
string
/^-?\d+(\.\d+)?$/
ytd_amount
string
/^-?\d+(\.\d+)?$/
usi
string
/^(\d{14}|[A-Z]{3}\d{4}[A-Z]{2})$/
reimbursements
string
/^-?\d+(\.\d+)?$/
leave_balances
object
annual
object
amount
required
string
/^-?\d+(\.\d+)?$/
unit
required
string
Allowed values: hours days weeks
annual_accrued_this_period
object
amount
required
string
/^-?\d+(\.\d+)?$/
unit
required
string
Allowed values: hours days weeks
personal
object
amount
required
string
/^-?\d+(\.\d+)?$/
unit
required
string
Allowed values: hours days weeks
personal_accrued_this_period
object
amount
required
string
/^-?\d+(\.\d+)?$/
unit
required
string
Allowed values: hours days weeks
long_service
object
amount
required
string
/^-?\d+(\.\d+)?$/
unit
required
string
Allowed values: hours days weeks
long_service_accrued_this_period
object
amount
required
string
/^-?\d+(\.\d+)?$/
unit
required
string
Allowed values: hours days weeks
ytd
object
taxable
string
/^-?\d+(\.\d+)?$/
super
string
/^-?\d+(\.\d+)?$/
non_taxable
string
/^-?\d+(\.\d+)?$/
post_tax_deductions
string
/^-?\d+(\.\d+)?$/
reimbursements
string
/^-?\d+(\.\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))$/
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}$/
encrypted_pii
required
string
>= 1 characters <= 2886 characters /^[A-Za-z0-9_-]+$/

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": "ICEiIyQlJicoKSor",
"tag": "eHl6e3x9fn-AgYKDhIWGhw"
},
"encrypted_pii": "Q2lwaGVydGV4dA"
}

The record and barcode were created.

Media typeapplication/json
object
verifiabl_reference
required
string
>= 22 characters <= 22 characters /^[A-Za-z0-9_-]+$/
barcode
required
object
format
required
string
Allowed values: png
data
required
string

Examples

ExampleSuccess

Generated barcode response (PNG data abbreviated)

{
"verifiabl_reference": "n5waC35dPCoRtMXW5_gJqw",
"barcode": {
"format": "png",
"data": "<base64-encoded 720px PNG barcode badge>"
}
}
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 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 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)"
}
]
}
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 IV has already been used by this issuer.

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: IV_REUSED
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

ExampleIV Reused

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"
}
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

A required service dependency or configuration is unavailable. Send the request again later.

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

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."
}
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