organizations

Create a Stripe SetupIntent for saving an off-session auto-top-up payment method.

The SetupIntent is tagged with metadata.auto_top_up=true so the setup_intent.succeeded webhook handler can distinguish auto-top-up payment-method saves from manual-top-up saves and persist the resulting payment method onto AutoTopUpConfig.stripe_payment_method_id.

post/v1/organizations/billing/auto-top-up/setup-intent/

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sessionid
    • API key in header X-Session-Token

Headers

Vellum-Organization-Idstring uuid

Required if using Cookie-based or X-Session-Token authentication methods.

Response

client_secretstring required

Stripe SetupIntent client_secret for use with Stripe Elements.

Changes

No recorded changes to this operation across all 50 revisions of this API.