Skip to main content

Update Payment Method


Use Update Payment Method when the payment method for an appointment requires an update before the user can continue.


Update Payment Method popup

This screen includes:

#ElementDescription
1Update messageStates that the payment method requires an update
2Continue actionOpens the secure payment page
3Cancel actionCloses the popup
4Close actionCloses the popup

Workflow​

  1. Call PUT /api/v3/appointments/{appointment-id}/approve/update-payment-method.
  2. Render the returned popup.
  3. Select Continue to open the secure payment page.
  4. Select Cancel or the close action to dismiss the popup.

Validations​

ScenarioApp behaviorSDK output
Payment method requires an updateDisplay the update payment popupPage response
Request failsDisplay the applicable errorError response

Actions​

ScenarioApp behaviorSDK output
Update Payment Method opensDisplay the payment update promptPUT /api/v3/appointments/{appointment-id}/approve/update-payment-method
Continue selectedOpen the secure payment pageNavigation action
Cancel selectedClose the popupClose action
Close selectedClose the popupClose action

Endpoint Resources​

Update Payment Method​

PUT 

v3/appointments/{appointment-id}/approve/update-payment-method

Returns a popup that prompts the user to update the payment method for the specified appointment.