create_setup_intent
Creates a setup intent to prepare for payment method storage; returns a nonce that can be used to attach a payment method to a customer without handling raw card data.
Instructions
Create or retrieve a setup intent via the gateway endpoint. Use only as part of a gateway-agnostic payment method flow: the returned setupIntent.id can be used as paymentMethodNonce for create_customer_payment_method. No raw card data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyGatewayId | Yes | Company gateway ID (required). | |
| customerId | Yes | Customer ID (required). |