Grant reservation-scoped payment authority to a family payer
POST
/family-payment-delegations
const url = 'https://example.com/family-payment-delegations';const options = { method: 'POST', headers: { 'Idempotency-Key': 'example', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"familyAccountId":"example","payerMemberId":"example","motherMemberId":"example","reservationBookingId":"example","scopes":["reservation_deposit"],"maximumAuthorizedAmountKrw":1,"expiresAt":"2026-04-15T12:00:00Z"}'};
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/family-payment-delegations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: example' \ --data '{ "familyAccountId": "example", "payerMemberId": "example", "motherMemberId": "example", "reservationBookingId": "example", "scopes": [ "reservation_deposit" ], "maximumAuthorizedAmountKrw": 1, "expiresAt": "2026-04-15T12:00:00Z" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Idempotency-Key
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
GrantReservationPaymentDelegationRequest
object
familyAccountId
required
string
payerMemberId
required
string
motherMemberId
required
string
reservationBookingId
required
string
scopes
required
Array<string>
maximumAuthorizedAmountKrw
required
integer
expiresAt
required
string format: date-time
key
additional properties
Responses
Section titled “Responses”Reservation payment delegation granted and queued for authorization sync
Media typeapplication/json
PaymentDelegationResponse
object
paymentDelegationId
required
string
payerMemberId
required
string
motherMemberId
required
string
scopes
required
Array<string>
grantedByMemberId
required
string
grantedAt
required
string format: date-time
expiresAt
required
string format: date-time
maximumAuthorizedAmountKrw
required
integer
reservationBookingId
required
string | null
revokedAt
required
string | null format: date-time
delegationRevision
required
integer
authorityEvidence
required
Array<string>
revokedByMemberId
required
string | null
revocationReasonCode
required
string | null
key
additional properties
Supabase bearer token is required
Only mother can grant reservation payment authority
Family account was not found
Delegation scope, overlap, or idempotency conflict
Payment delegation command store is unavailable