Skip to content

Record caregiver payout adjustment audit

POST
/caregiver-payout-adjustment-audits
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" }'
Media typeapplication/json
CaregiverPayoutAdjustmentAuditRequest
object
reservationBookingId
required
string
>= 1 characters
contractAssignmentKey
required
string
>= 1 characters
caregiverPayoutInstructionId
required
string
>= 1 characters
caregiverRole
required
string
Allowed values: primary assistant
handoffOrder
required
integer
caregiverId
string | null
>= 1 characters
actorProfileId
required
string
>= 1 characters
previousSnapshot
required
object
payableAmountKrw
required
integer
withholdingAmountKrw
required
integer
taxCategory
required
string
Allowed values: employment_insurance business_income_withholding
memo
string | null
>= 1 characters
key
additional properties
adjustedSnapshot
required
object
payableAmountKrw
required
integer
withholdingAmountKrw
required
integer
taxCategory
required
string
Allowed values: employment_insurance business_income_withholding
memo
string | null
>= 1 characters
key
additional properties
occurredAt
required
string format: date-time
idempotencyKey
required
string
>= 1 characters
expectedRevision
required
integer
reason
required
string
>= 1 characters
key
additional properties

Caregiver payout adjustment audit recorded

Media typeapplication/json
CaregiverPayoutAdjustmentAuditResponse
object
reservationBookingId
required
string
>= 1 characters
contractAssignmentKey
required
string
>= 1 characters
caregiverPayoutInstructionId
required
string
>= 1 characters
changedFields
required
Array<string>
>= 1 items unique items
Allowed values: payable_amount withholding_amount tax_category memo
committedRevision
required
integer
>= 1
status
required
string
>= 1 characters
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