Create Payment Method
create_payment_methodCreate a payment method (card or PayMaya) to attach to a payment intent, securely storing card details for later use.
Instructions
Create a payment method (e.g. a card) to attach to a payment intent. Handle card data with care.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_payment_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Payment method type, e.g. 'card' or 'paymaya'. | card |
| billing | No | Optional billing info (name, email, phone). | |
| details | No | Type-specific details. For 'card': card_number, exp_month, exp_year, cvc. |