curl -X Post https://clairpay.io/ta/api/v2/business/
{{business_id}}/employee/{{employee_id}}/direct-deposit
-d '{
"directDepositAccounts":
[
{
"amount": 100,
"accountName": "Chase Savings",
"accountType": "savings",
"depositType": "fixed",
"paymentType": "ach",
"depositOrder": 1,
"accountNumber": "1234567890",
"routingNumber": "123456789"
},
{
"amount": null,
"accountName": "Bank of America Checking",
"accountType": "checking",
"depositType": "remainder",
"paymentType": "ach",
"depositOrder": 2,
"accountNumber": "2345678901",
"routingNumber": "987654321"
}
]
}'
curl -X Post https://clairpay.io/ta/api/v2/business/
{{business_id}}/employee/{{employee_id}}/earnings
-d '{
"earnings":
[
{
"amount": 1247.56,
"hours": 38.5,
"type": "regular",
"description": "Worked shifts"
},
{
"amount": 200.50,
"hours": null,
"type": "tips",
"description": "Pooled tips"
}
]
}
curl -X Post https://clairpay.io/ta/api/v2/business/
{{business_id}}/employee
-d '{
"id": "{{employee_id}}",
"firstName": "Ted",
"lastName": "Nugent",
"email": "ted@example.com",
"phoneNumber": "123-555-6789",
"dateOfBirth": "1980-01-01",
"addressLine1": "20 Myplace Ave",
"addressLine2": "Apt 2F",
"city": "New York",
"state": "NY",
"postalCode": "10003",
"salaryAmount": 65000,
"hourlyRate": 31.25,
"terminationDate": null
}'
curl -X Post https://clairpay.io/ta/api/v2/business
-d '{
"id": "{{business_id}}",
"name": "Doughlicious Bagels",
"email": "companyemail@example.com",
"phoneNumber": "123-555-4567",
"addressLine1": "10 Company Lane",
"addressLine2": "Floor 2",
"city": "New York",
"state": "NY",
"postalCode": "10003"
}'
curl -X Post https://clairpay.io/ta/api/v2/business/
{{business_id}}/employee/{{employee_id}}/shift
-d '{
"id": "{{pay_item_id}}",
"startDateTime": "2024-05-01 10:00:00",
"endDateTime": "2024-05-01 18:30:00",
"hourlyPayRate": 21.25,
"payPeriodStart": "2024-04-27",
"payPeriodEnd": "2024-05-10"
}'
curl -X Post https://clairpay.io/ta/api/v2/business
-d '{
"id": "{{business_id}}",
"name": "Doughlicious Bagels",
"email": "companyemail@example.com",
"phoneNumber": "123-555-4567",
"addressLine1": "10 Company Lane",
"addressLine2": "Floor 2",
"city": "New York",
"state": "NY",
"postalCode": "10003"
}'
curl -X Post https://clairpay.io/ta/api/v2/business/
{{business_id}}/employee
-d '{
"id": "{{employee_id}}",
"firstName": "Ted",
"lastName": "Nugent",
"email": "ted@example.com",
"phoneNumber": "123-555-6789",
"dateOfBirth": "1980-01-01",
"addressLine1": "20 Myplace Ave",
"addressLine2": "Apt 2F",
"city": "New York",
"state": "NY",
"postalCode": "10003",
"salaryAmount": 65000,
"hourlyRate": 31.25,
"terminationDate": null
}'
curl -X Post https://clairpay.io/ta/api/v2/business/
{{business_id}}/employee/{{employee_id}}/pay-item
-d '{
"id": "{{pay_item_id}}",
"startDateTime": "2024-05-01 10:00:00",
"endDateTime": "2024-05-01 17:30:00",
"hoursWorked": 7.5,
"hourlyPayRate": 21.25,
"payPeriodStart": "2024-04-27",
"payPeriodEnd": "2024-05-10"
}'