Skip to content
Download OpenAPI JSON

Verify a payslip barcode payload

POST
/v1/verifications/payload
curl --request POST \
--url https://verify.verifiabl.io/v1/verifications/payload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: 5f0c2a7e-8d4b-4c19-9e3a-7b6d1f2c4e80' \
--data '{ "barcode": "https://v.verifiabl.io/v/n5waC35dPCoRtMXW5_gJqw#2.JVSWY3DPO5XXE3DE" }'

Verifies the payload from a payslip QR code or PDF metadata.

Idempotency-Key
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/

Optional. A new UUID for each verification, reused on every retry of it. A retry within 1 hour of the key’s first use with the same payslip returns the result again without a second charge. Store the key with your decision: it is your reference for the verification in disputes and billing. Without it, each request is a separate verification, charged if it succeeds.

Example

5f0c2a7e-8d4b-4c19-9e3a-7b6d1f2c4e80
Media typeapplication/json
Scanned barcode
object
barcode
required
string
>= 1 characters <= 13000 characters

Examples

QR code scan URL

{
"barcode": "https://v.verifiabl.io/v/n5waC35dPCoRtMXW5_gJqw#2.JVSWY3DPO5XXE3DE"
}

The payload matches the record its issuer registered, and the response returns that registered data. Only the payload is checked, not the rest of the document. A verification does not show that the issuer’s data is correct or current, or that the applicant is the person named.

Media typeapplication/json
object
verified
required
boolean
verifiabl_reference
required
string
>= 22 characters <= 22 characters /^[A-Za-z0-9_-]+$/
payslip
required
object
key
additional properties
employee
required
object
key
additional properties
decrypted_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))$/

Examples

ExampleVerified

Verified payload from an Australian payslip

{
"verified": true,
"verifiabl_reference": "n5waC35dPCoRtMXW5_gJqw",
"employee": {
"employee_name": "Ana Leota",
"position": "Senior Developer",
"department": "Engineering",
"employer_identity": "12 345 678 901",
"bsb": "062-000",
"account_number": "12345678",
"account_name": "A Leota",
"address": "12 Example St, Sydney NSW 2000"
},
"payslip": {
"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"
}
}
},
"decrypted_at": "2026-06-09T09:10:11.123Z"
}
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 is malformed: an unknown key, a missing or non-string barcode, or an Idempotency-Key that is not a UUID. This is an integration fault, not a result about the payslip.

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 barcode is missing

{
"error": "Validation failed",
"code": "VALIDATION_FAILED",
"field_errors": [
{
"path": "barcode",
"message": "Invalid input: expected string, received undefined"
}
]
}
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 Idempotency-Key was already used with a different payslip, or first used more than 1 hour ago. The response carries no result and nothing is charged. This is an integration fault: send a new key for each verification.

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

ExampleIdempotency Key Reused

The Idempotency-Key was already used

{
"error": "The Idempotency-Key was already used for another verification",
"code": "IDEMPOTENCY_KEY_REUSED",
"detail": "Send a new Idempotency-Key for each verification."
}
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 is well-formed, but the barcode could not be verified. The barcode text cannot be read, Verifiabl has no record of it, its issuer has no active key, or its payload does not decrypt to a valid payslip payload. A damaged scan or a barcode from another product or environment gives the same result. The response has no reason.

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

ExampleNot Verified

The barcode could not be verified

{
"error": "The barcode could not be verified",
"code": "NOT_VERIFIED"
}
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. The payslip was not verified. 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: 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 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