POST
/
payroll#initiatePayroll
Authorization
Body
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#initiatePayroll' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "initiatePayroll",
  "payPeriod": {
    "payPeriodId": "3b51b98b-2915-4854-b87c-f7952ef086ec"
  }
}'
{
  "1": {
    "summary": "Success",
    "value": {
      "payPeriod": {
        "payPeriodId": "3b51b98b-2915-4854-b87c-f7952ef086ec",
        "status": "New",
        "message": "The PayPeriod has been initiated successfully."
      }
    }
  }
}

Body

application/json
method
string
required
payPeriod
object
required

Response

200 - application/json
payPeriod
object
required