delete https://api.zenoti.com/v1/guests//accounts/?center_id=
If you have previously added credit/debit cards for the specified guest, this API helps you to delete the saved cards/active payment accounts of the guest.
You must specify the appropriate details for the guest_id
, account_id
, and center_id
parameters in the API request.
Response Details
Name | Type | Description |
---|---|---|
success | boolean | Indicates whether the guest's saved card/payment account has been successfully deleted. |
error | object | Object that contains these error-related elements: StatusCode, Message, and InternalMessage. Displayed when the guest's saved card/payment has not been successfully deleted. |