Managing base pay, fixed and hourly rates.
The Pay object controls the payment terms for a work order.
Field Nation supports two primary pay models:
Choosing a Model:
A flat rate for the entire job, regardless of time spent.
"pay": {
"type": "fixed",
"base": {
"amount": 150.00,
"units": 1
}
}amount: Total pay in dollarsunits: Always 1 for fixed payA rate per hour, up to a maximum number of hours (capped).
"pay": {
"type": "hourly",
"base": {
"amount": 65.00,
"units": 4
}
}amount: Rate per hourunits: Maximum hours (cap)GET /workorders/{id}/pay
{
"type": "hourly",
"base": {
"amount": 65.00,
"units": 4
},
"total": {
"amount": 195.00,
"hours_worked": 3.0
},
"bonuses": [],
"penalties": [],
"expenses": {
"pending": 25.00,
"approved": 0.00
}
}PUT /workorders/{id}
{
"pay": {
"type": "fixed",
"base": { "amount": 200.00 }
}
}Pay can only be updated before the work order reaches Work Done status.
| Viewer | Can See |
|---|---|
| Buyer | Full pay breakdown |
| Provider | Their rate + earned amount |
| Marketplace | Displayed rate for requests |
The final pay is calculated as:
Final Pay = Base Pay + Bonuses - Penalties + Approved ExpensesFor hourly pay, base pay is calculated as:
Base Pay = min(hours_worked, max_hours) × hourly_rateLast updated on