Skip to main content
POST
/
payroll#initiatePayroll
initiatePayroll
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#initiatePayroll' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "<string>",
  "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "payPeriodId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "payPeriod": {
    "payPeriodId": "<string>",
    "status": "<string>",
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
method
string
required
companyId
string<uuid>
required
payPeriodId
string<uuid>
required

Response

payPeriod
object
required