Skip to main content

Payment Methods


Use the Payment Methods flow to select, authorize, or update a payment method required for appointment booking and management.


Payment Methods screen with wallet options and card selection

This screen includes:

#ElementDescription
1HeaderDisplays the Payment Methods title and close control.
2Payment method selectorDisplays available payment options.
3Wallet optionsDisplays supported wallet payment methods.
4Saved payment methodsDisplays previously authorized payment methods.
5Add payment methodOpens payment method entry.
6Payment details formCaptures payment information.
7Save payment method optionSaves a payment method for future use.
8Security indicatorIndicates secure payment processing.

Entry Points

Entry PointBehavior
Home screen payment update cardOpens the payment provider flow.
Appointment pageOpens the payment provider flow.
Alternative offer acceptanceDisplays a confirmation dialog before opening the payment provider flow.

Workflow

  1. Open the Payment Methods flow.
  2. Select a saved payment method or add a new payment method.
  3. Complete payment authorization when required.
  4. Return to the originating workflow.

Alternative Offer Payment Update

When a selected alternative offer requires updated payment information, the application displays a confirmation dialog.

Title

Update payment method

Message

Your payment method needs to be updated before you can continue. Select Continue to open the secure payment page and update your payment details.

ActionBehavior
ContinueOpens the payment update flow.
CancelCloses the dialog.

Validations

ScenarioApp BehaviorSDK Output
No payment method selected.Blocks submission.validation = missing_payment_method
Payment details invalid.Displays validation errors.error = invalid_payment_details
Wallet not supported.Hides the option.capability = disabled
Authorization fails.Displays an error.error = authorization_failed
Request in progress.Displays a loading state.state = loading
Network failure.Displays an error.error = network
Payment update required.Blocks continuation until completion.state = payment_update_required

Actions

ScenarioApp BehaviorSDK Output
Payment method selected.Updates selection state.paymentMethod = updated
Add payment method selected.Opens payment entry.state = payment_entry
Payment details submitted.Validates payment information.paymentMethod = submitted
Payment update required.Opens payment update flow.state = payment_update_required
Alternative offer accepted and payment update required.Displays confirmation dialog.state = confirmation_required
Continue selected.Opens payment update flow.state = payment_update_started
Authorization succeeds.Continues the originating workflow.state = authorized
Authorization fails.Displays an error.error = authorization_failed
Payment update canceled.Returns to the previous screen.state = canceled
Close selected.Dismisses the flow.Navigation event.

Endpoint Resources

Checkout

PATCH 

v3/wizard/appointments/checkout

Performs a minimal booking or checkout action payload for the Stripe proxy flow.