create_customer_payment_method
Adds a payment method for a customer using a secure token, supporting card or ACH payments with required billing address details.
Instructions
Create a payment method for a customer. Gateway-agnostic: required companyGatewayId, type (card or ach), paymentMethodNonce, billingAddress (countryCode, street1, city, state, zip). Obtain gateway client credential via get_client_token; use your payment integration to produce paymentMethodNonce, then call this tool. No raw card data or gateway-specific fields in MCP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | Customer ID (required) | |
| companyGatewayId | Yes | Company gateway ID (required) | |
| type | Yes | Payment method type (required): card or ach | |
| paymentMethodNonce | Yes | Single-use token from your payment integration. Obtain gateway client credential via get_client_token, then use your hosted payment UI to produce this token. Do not send raw card data. Gateway-specific tokenization is handled outside MCP. | |
| billingAddress | Yes | Billing address (required): countryCode, street1, city, state, zip; street2 optional |