Record caregiver payout adjustment audit
POST
/caregiver-payout-adjustment-audits
const url = 'https://example.com/caregiver-payout-adjustment-audits';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"reservationBookingId":"example","contractAssignmentKey":"example","caregiverPayoutInstructionId":"example","caregiverRole":"primary","handoffOrder":1,"caregiverId":"example","actorProfileId":"example","previousSnapshot":{"payableAmountKrw":1,"withholdingAmountKrw":1,"taxCategory":"employment_insurance","memo":"example"},"adjustedSnapshot":{"payableAmountKrw":1,"withholdingAmountKrw":1,"taxCategory":"employment_insurance","memo":"example"},"occurredAt":"2026-04-15T12:00:00Z","idempotencyKey":"example","expectedRevision":1,"reason":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/caregiver-payout-adjustment-audits \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "reservationBookingId": "example", "contractAssignmentKey": "example", "caregiverPayoutInstructionId": "example", "caregiverRole": "primary", "handoffOrder": 1, "caregiverId": "example", "actorProfileId": "example", "previousSnapshot": { "payableAmountKrw": 1, "withholdingAmountKrw": 1, "taxCategory": "employment_insurance", "memo": "example" }, "adjustedSnapshot": { "payableAmountKrw": 1, "withholdingAmountKrw": 1, "taxCategory": "employment_insurance", "memo": "example" }, "occurredAt": "2026-04-15T12:00:00Z", "idempotencyKey": "example", "expectedRevision": 1, "reason": "example" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
CaregiverPayoutAdjustmentAuditRequest
object
reservationBookingId
required
string
contractAssignmentKey
required
string
caregiverPayoutInstructionId
required
string
caregiverRole
required
string
handoffOrder
required
integer
caregiverId
string | null
actorProfileId
required
string
previousSnapshot
required
object
payableAmountKrw
required
integer
withholdingAmountKrw
required
integer
taxCategory
required
string
memo
string | null
key
additional properties
adjustedSnapshot
required
object
payableAmountKrw
required
integer
withholdingAmountKrw
required
integer
taxCategory
required
string
memo
string | null
key
additional properties
occurredAt
required
string format: date-time
idempotencyKey
required
string
expectedRevision
required
integer
reason
required
string
key
additional properties
Responses
Section titled “Responses”Caregiver payout adjustment audit recorded
Media typeapplication/json
CaregiverPayoutAdjustmentAuditResponse
object
reservationBookingId
required
string
contractAssignmentKey
required
string
caregiverPayoutInstructionId
required
string
changedFields
required
Array<string>
committedRevision
required
integer
status
required
string
key
additional properties
Supabase bearer token is required
Actor cannot record caregiver payout adjustment
Caregiver payout adjustment revision or idempotency conflict
Caregiver payout adjustment runtime is unavailable