Revoke one revisioned reservation payment delegation
POST
/family-payment-delegations/{paymentDelegationId}/revocations
const url = 'https://example.com/family-payment-delegations/example/revocations';const options = { method: 'POST', headers: { 'Idempotency-Key': 'example', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"familyAccountId":"example","motherMemberId":"example","expectedRevision":1,"revocationReasonCode":"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/family-payment-delegations/example/revocations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: example' \ --data '{ "familyAccountId": "example", "motherMemberId": "example", "expectedRevision": 1, "revocationReasonCode": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”paymentDelegationId
required
string
Header Parameters
Section titled “Header Parameters”Idempotency-Key
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
RevokeReservationPaymentDelegationRequest
object
familyAccountId
required
string
motherMemberId
required
string
expectedRevision
required
integer
revocationReasonCode
required
string
key
additional properties
Responses
Section titled “Responses”Payment delegation revoked and authorization removal queued
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 revoke reservation payment authority
Family account or payment delegation was not found
Delegation revision, state, or idempotency conflict
Payment delegation command store is unavailable