Skip to main content
POST
Email a payslip to the person

Authorizations

Authorization
string
header
required

Server API key, scoped. pk_test_ keys hit the sandbox tenant.

Headers

Idempotency-Key
string

Optional on non-money POSTs; honoured when sent.

Required string length: 1 - 255
X-Request-Id
string

Optional client correlation id, up to 128 characters. It is not echoed: the response's X-Request-Id is always our own req_… id. We log your value with the request as client_request_id, so support can find a request by either id. A longer value is refused with 400 parameter_invalid.

Maximum string length: 128

Path Parameters

payslip_id
string
required

Payslip id (pys_…).

Pattern: ^pys_[0-9A-HJKMNP-TV-Z]{26}$

Response

Email queued.

A payslip (pys_…), issued when a line completes.

id
string
required

pys_…

object
string
required

Always payslip.

Allowed value: "payslip"
created_at
string<date-time>
required

RFC 3339, UTC.

Example:

"2026-10-27T08:41:00Z"

run_id
string
required

run_…

period
string
required

Pay month.

Pattern: ^\d{4}-\d{2}$
pay_date
string<date>
required

Calendar date, interpreted in Africa/Lagos.

Example:

"2026-11-07"

person
object
required

Snapshot at issue.

earnings
object[]
required

Pay items.

bonus
object
required

An amount in minor units (kobo, cents) with its currency. Never a decimal.

gross
object
required

An amount in minor units (kobo, cents) with its currency. Never a decimal.

deductions
object[]
required

Deductions.

deduction_total
object
required

An amount in minor units (kobo, cents) with its currency. Never a decimal.

net
object
required

An amount in minor units (kobo, cents) with its currency. Never a decimal.

line_id
string

pln_…

paid_into
object

Where net pay went.

emailed_at
string<date-time>

RFC 3339, UTC.

Example:

"2026-10-27T08:41:00Z"