create_gateway
Configure a payment gateway for subscription billing by providing credentials and gateway settings to process transactions on e-commerce platforms.
Instructions
Create a company gateway. POST /gateways. Required: gblGatewayId, setting (credentials object). Optional: displayName, card (array of card type IDs), paymentMethod. Use list_global_gateways first to discover valid gblGatewayId and required setting keys (requiredFields / fieldDetails) for each gateway type (e.g. Stripe, Braintree); then build setting with those keys as field names and your credential values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gblGatewayId | Yes | Global gateway ID (required). Obtain from list_global_gateways; use the id as gblGatewayId. | |
| displayName | No | Display name for the gateway | |
| setting | Yes | Credentials object (required). Keys must match the gateway's requiredFields from list_global_gateways (e.g. publicKey, privateKey, merchantId, transactionKey). Use fieldDetails for human-readable labels. | |
| card | No | Array of card type IDs (optional) | |
| paymentMethod | No | Payment method (optional, may be required by API) |