Request backend-owned reservation cancellation refund
POST
/reservation-cancellation-refunds
const url = 'https://example.com/reservation-cancellation-refunds';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"reservationBookingId":"example","paymentId":"example","paymentRefundIntentId":"example","idempotencyKey":"example","expectedRevision":1,"totalServiceFeeKrw":1,"contractConfirmedAt":"2026-04-15T12:00:00Z","cancellationRequestedAt":"2026-04-15T12:00:00Z","expectedBirthOn":"2026-04-15","serviceStartedOn":"2026-04-15","providedServiceChargeKrw":1,"giftBenefitDeductionKrw":1,"deliveryFeeDeductionKrw":1,"penaltyWaivedByCustomerProtection":true,"taxFreeAmountKrw":1,"serviceCalendarImpactPlanId":"example","serviceCalendarImpactPolicyFingerprint":"example","serviceCalendarImpactFactIds":["example"],"regionalBenefitFinalizedChargeSnapshotId":"example","regionalBenefitChargeImpactEventIds":["example"],"paymentChangeAdjustmentId":"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/reservation-cancellation-refunds \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "reservationBookingId": "example", "paymentId": "example", "paymentRefundIntentId": "example", "idempotencyKey": "example", "expectedRevision": 1, "totalServiceFeeKrw": 1, "contractConfirmedAt": "2026-04-15T12:00:00Z", "cancellationRequestedAt": "2026-04-15T12:00:00Z", "expectedBirthOn": "2026-04-15", "serviceStartedOn": "2026-04-15", "providedServiceChargeKrw": 1, "giftBenefitDeductionKrw": 1, "deliveryFeeDeductionKrw": 1, "penaltyWaivedByCustomerProtection": true, "taxFreeAmountKrw": 1, "serviceCalendarImpactPlanId": "example", "serviceCalendarImpactPolicyFingerprint": "example", "serviceCalendarImpactFactIds": [ "example" ], "regionalBenefitFinalizedChargeSnapshotId": "example", "regionalBenefitChargeImpactEventIds": [ "example" ], "paymentChangeAdjustmentId": "example" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
ReservationCancellationRefundRequest
object
reservationBookingId
required
string
paymentId
required
string
paymentRefundIntentId
required
string
idempotencyKey
required
string
expectedRevision
required
integer
totalServiceFeeKrw
required
integer
contractConfirmedAt
required
string format: date-time
cancellationRequestedAt
required
string format: date-time
expectedBirthOn
required
string format: date
serviceStartedOn
string | null format: date
providedServiceChargeKrw
integer
giftBenefitDeductionKrw
integer
deliveryFeeDeductionKrw
integer
penaltyWaivedByCustomerProtection
boolean
taxFreeAmountKrw
integer | null
serviceCalendarImpactPlanId
string | null
serviceCalendarImpactPolicyFingerprint
string | null
serviceCalendarImpactFactIds
Array<string>
regionalBenefitFinalizedChargeSnapshotId
string | null
regionalBenefitChargeImpactEventIds
Array<string>
paymentChangeAdjustmentId
string | null
key
additional properties
Responses
Section titled “Responses”Reservation cancellation refund quoted and recorded
Media typeapplication/json
ReservationCancellationRefundResponse
object
reservationBookingId
required
string
paymentId
required
string
paymentRefundIntentId
required
string
idempotencyKey
required
string
refundReason
required
string
baseRefundAmountKrw
required
integer
refundAmountKrw
required
integer
customerShortfallKrw
required
integer
requiresGatewayCancellation
required
boolean
refundLedgerRevision
required
integer
paymentChangeAdjustmentId
required
string | null
deductions
required
Array<object>
ReservationCancellationRefundDeductionobject
deductionCode
required
string
amountKrw
required
integer
displayName
required
string
adjustmentVersion
required
integer
memo
required
string | null
key
additional properties
key
additional properties
Supabase bearer token is required
Actor cannot request reservation cancellation refund
Payment ledger was not found
Refund quote, revision, or payment-change link conflict
Reservation cancellation refund runtime is unavailable