create_token
Generate a card token from card details to securely process Omise payments while avoiding exposure of sensitive card data.
Instructions
Create a card token for secure payment processing
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": {
"card_number": "<card_number>",
"card_name": "<card_name>",
"expiration_month": "<expiration_month>",
"expiration_year": "<expiration_year>"
},
"name": "create_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City for billing address | |
| card_name | Yes | Name on the card | |
| card_number | Yes | Card number (without spaces or dashes) | |
| postal_code | No | Postal code for billing address | |
| security_code | No | Card security code (CVV/CVC) | |
| expiration_year | Yes | Expiration year (4 digits) | |
| expiration_month | Yes | Expiration month (1-12) |