payment-methods

Remove a saved card

Runs user.removePaymentMethod; owner-only. Detaches the card from Stripe and hides it from checkout. A card the caller does not own answers 404. Returns { success: true }.

delete/v1/payment-methods/{publicId}

Request

  • Base URL: https://api.getmyhotels.com
  • URL: https://api.getmyhotels.com/v1/payment-methods/{publicId}
  • Auth: HTTP bearer

Path parameters

publicIdstring required

Response

Success

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.