create_token
Creates a card token for recurring payments by specifying order ID, amount, return URL, and customer IP address.
Instructions
Create a card token for recurring payments.
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": {
"order_id": "<order_id>",
"amount": "<amount>",
"return_url": "<return_url>"
},
"name": "create_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order ID for token creation | |
| amount | Yes | Amount in VND | |
| return_url | Yes | Return URL | |
| ip_addr | No | Customer IP address | 127.0.0.1 |