Skip to main content
POST
Approve token payroll settlements

Authorizations

Authorization
string
header
required

Personal API token. Create via createUserApiToken endpoint.

Headers

x-role-type
enum<string>
required

Role context for the request. Use CLIENT_ORG_ADMIN for most integrations.

Available options:
CLIENT_ORG_ADMIN,
PAYROLL_ADMIN,
FINANCE_ADMIN,
TOKU_ADMIN

Body

application/json
tokenPayrollID
string
required

Token payroll identifier

walletReferenceIDs
string[]
required

Wallet references to approve

Wallet reference identifier

pendingSettlements
object[] | null

Optional settlement records to approve

Response

Successful response

success
boolean
required

Whether approval succeeded

message
string
required

Approval summary message

approvedCount
integer
required

Number of approved settlements