Add payment method (card on file)
gambot_add_payment_methodVerify a customer's card with the clearing provider and save its secure token to an organization, enabling an AI agent to add a payment method on file without a hosted page or storing raw card data.
Instructions
Verify a card with the clearing provider (Tranzila) and save its token to an organization, so an AI agent with the customer's card can put a payment method on file without the hosted page. The raw card is sent only to the PCI-compliant clearing provider and never stored. For a hosted alternative (customer types the card), use gambot_create_payment_link.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"organizationName": "<organizationName>",
"card": "<card>"
},
"name": "gambot_add_payment_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | REQUIRED. { cardNumber, expirationDate ("MM/YY"), cvv?, holderId? }. | |
| plan | No | ||
| organizationName | Yes |