payment-methods
Start saving a card
Runs user.createSetupIntent. Returns { clientSecret } for a Stripe SetupIntent on the user's Stripe customer (created on first use). Confirm it with the Stripe SDK — the card number never touches our servers — then send the resulting pm_ id to POST /v1/payment-methods. Redirect-based methods are excluded, so no return URL is needed. Takes no input, so this route accepts no request body.
post/v1/payment-methods/setup-intent
Request
- Base URL: https://api.getmyhotels.com
- URL: https://api.getmyhotels.com/v1/payment-methods/setup-intent
- Auth: HTTP bearer
Response
Success
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.