Worker payments list

Provide a worker with a listing of their payments, and an easy way to view/download a record (i.e. paystub) for each.

Available as:
Worker payment list experience

Worker payment list experience

Options

NameTypeDescription
userTokenStringRequired. A User Token with WORKER_USER access role for the specified Worker.
workerIdStringRequired. The id of the Worker.

Refer to the reference on creating elements for the additional options that are available to all elements.

Embedded usage

Element name: worker-payment-list

Refer to the guide on how to embed an Element with Salsa.js for more detailed instructions.

Example

salsa.elements.create('worker-payment-list', {
  userToken: 'eyJhbGciO...ajs0Wqw', 
  workerId: 'wr_deb6f260-fa58-4aa8-a827-3ae7787f9650'
});