setup_payment_method
Save a payment method used ONLY to pay for flight bookings (the fare is charged to it via a hold at booking; no virtual card is created for flights). It does NOT fund cards or the cash balance — cards are funded from the balance (see add_funds). Returns a secure checkout URL the user must open to save their card details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Human-readable summary of the result. | |
| checkoutUrl | No | Secure Stripe checkout URL the user must open to save their payment method. | |
| stripeSessionId | No | Identifier of the Stripe Checkout session created for the setup. |