Skip to main content

AppointmentCheckoutReviewResponse

activePaymentIdstring<uuid>nullable
activeRailstringnullable
appointmentIdstring<uuid>required
appointmentStatusstringnullable
availableActions objectrequired
externalPaymentAvailablebooleanrequired
leaveUnpaidAvailablebooleanrequired
paymentLinkAvailablebooleanrequired
terminalPaymentAvailablebooleanrequired
zeroBalanceCloseAvailablebooleanrequired
balanceDuenumberrequired
bookingTermsAcceptedAtstring<date-time>nullable
cancellationWindowMinutesinteger<int32>nullable
checkoutBalanceDuenumberrequired

Remaining appointment balance plus the added checkout items.

checkoutIntentIdstring<uuid>nullable
checkoutItemsRevisioninteger<int64>required

Revision of the added checkout items; 0 when none were saved.

checkoutTicketIdstring<uuid>nullable
configuration objectnullable
agreedBookingPriceAdjustmentRatenumbernullable
basePricenumberrequired
durationMinutesinteger<int32>required
lateCancellationFeeBaseAmountnumbernullable
lateCancellationFeeCustomerAmountnumbernullable
modifierIdsstring<uuid>[]required
modifierTotalnumberrequired
modifiers object[]required
  • Array [
  • descriptionstringnullable
    durationMinutesinteger<int32>required
    groupIdstring<uuid>required
    groupNamestringrequired
    idstring<uuid>required
    namestringrequired
    pricenumberrequired
    priceCurrencystringrequired
    taxCategoryIdstring<uuid>nullable
  • ]
  • noShowFeeBaseAmountnumbernullable
    noShowFeeCustomerAmountnumbernullable
    priceCurrencystringrequired
    serviceIdstring<uuid>required
    serviceNamestringrequired
    totalPricenumberrequired
    upfrontPaymentLabelstringrequired
    currencystringrequired
    customerEmailstringnullable
    customerIdstring<uuid>nullable
    customerNamestringrequired
    customerPhonestringnullable
    depositTransactionIdstring<uuid>nullable

    Local transaction identity of the latest appointment deposit, retained after its payment rail closes or is refunded.

    externalPayments object[]required
  • Array [
  • amountnumberrequired
    correctedAtstring<date-time>nullable
    correctionReasonstringnullable
    correctionTransactionIdstring<uuid>nullable
    currencystringrequired
    customerIdstring<uuid>nullable
    idstring<uuid>required
    idempotencyKeystringnullable
    occurredAtstring<date-time>nullable
    referencestringrequired
    statusstringrequired
    storeIdstring<uuid>nullable
    tenderAppointmentExternalTendernullable

    Possible values: [CASH, EXTERNAL]

    transactionIdstring<uuid>nullable
  • ]
  • invoiceIdstring<uuid>nullable
    lines object[]required
  • Array [
  • currencystringrequired
    descriptionstringrequired
    kindstringrequired
    lineIdstringnullable

    Checkout-item line identity; null for booked appointment lines.

    lineRefstring
    modifierGroupIdstring<uuid>nullable
    parentServiceLineRefstringnullable
    productIdstring<uuid>nullable
    quantitynumberrequired
    serviceIdstring<uuid>required
    taxCategoryIdstring<uuid>nullable
    unitPricenumberrequired
  • ]
  • payableLines object[]required
  • Array [
  • currencystringrequired
    descriptionstringrequired
    kindstringrequired
    lineIdstringnullable

    Checkout-item line identity; null for booked appointment lines.

    lineRefstring
    modifierGroupIdstring<uuid>nullable
    parentServiceLineRefstringnullable
    productIdstring<uuid>nullable
    quantitynumberrequired
    serviceIdstring<uuid>required
    taxCategoryIdstring<uuid>nullable
    unitPricenumberrequired
  • ]
  • paymentAuthorizedbooleanrequired
    paymentLinkUrlstringnullable
    paymentStatusstringrequired
    policyFeeAssessedAtstring<date-time>nullable
    policyFeeKindstringnullable
    storeIdstring<uuid>required
    totalAmountnumberrequired
    transactionIdstring<uuid>nullable
    upfrontPaymentLabelstringrequired
    upfrontPaymentRemainingnumberrequired
    AppointmentCheckoutReviewResponse
    {
    "activePaymentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "activeRail": "string",
    "appointmentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "appointmentStatus": "string",
    "availableActions": {
    "externalPaymentAvailable": true,
    "leaveUnpaidAvailable": true,
    "paymentLinkAvailable": true,
    "terminalPaymentAvailable": true,
    "zeroBalanceCloseAvailable": true
    },
    "balanceDue": 0,
    "bookingTermsAcceptedAt": "2024-07-29T15:51:28.071Z",
    "cancellationWindowMinutes": 0,
    "checkoutBalanceDue": 0,
    "checkoutIntentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "checkoutItemsRevision": 0,
    "checkoutTicketId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "configuration": {
    "agreedBookingPriceAdjustmentRate": 0,
    "basePrice": 0,
    "durationMinutes": 0,
    "lateCancellationFeeBaseAmount": 0,
    "lateCancellationFeeCustomerAmount": 0,
    "modifierIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "modifierTotal": 0,
    "modifiers": [
    {
    "description": "string",
    "durationMinutes": 0,
    "groupId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "groupName": "string",
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "string",
    "price": 0,
    "priceCurrency": "string",
    "taxCategoryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    }
    ],
    "noShowFeeBaseAmount": 0,
    "noShowFeeCustomerAmount": 0,
    "priceCurrency": "string",
    "serviceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "serviceName": "string",
    "totalPrice": 0,
    "upfrontPaymentLabel": "string"
    },
    "currency": "string",
    "customerEmail": "string",
    "customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "customerName": "string",
    "customerPhone": "string",
    "depositTransactionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "externalPayments": [
    {
    "amount": 0,
    "correctedAt": "2024-07-29T15:51:28.071Z",
    "correctionReason": "string",
    "correctionTransactionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "currency": "string",
    "customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "idempotencyKey": "string",
    "occurredAt": "2024-07-29T15:51:28.071Z",
    "reference": "string",
    "status": "string",
    "storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "tender": "CASH",
    "transactionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    }
    ],
    "invoiceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "lines": [
    {
    "currency": "string",
    "description": "string",
    "kind": "string",
    "lineId": "string",
    "lineRef": "string",
    "modifierGroupId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "parentServiceLineRef": "string",
    "productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "quantity": 0,
    "serviceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "taxCategoryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "unitPrice": 0
    }
    ],
    "payableLines": [
    {
    "currency": "string",
    "description": "string",
    "kind": "string",
    "lineId": "string",
    "lineRef": "string",
    "modifierGroupId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "parentServiceLineRef": "string",
    "productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "quantity": 0,
    "serviceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "taxCategoryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "unitPrice": 0
    }
    ],
    "paymentAuthorized": true,
    "paymentLinkUrl": "string",
    "paymentStatus": "string",
    "policyFeeAssessedAt": "2024-07-29T15:51:28.071Z",
    "policyFeeKind": "string",
    "storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "totalAmount": 0,
    "transactionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "upfrontPaymentLabel": "string",
    "upfrontPaymentRemaining": 0
    }