pay_with_token
Complete payment using a stored card token by providing order ID, amount, token, and order description.
Instructions
Pay using a stored card token.
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>",
"token": "<token>",
"order_info": "<order_info>"
},
"name": "pay_with_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Unique order ID | |
| amount | Yes | Amount in VND | |
| token | Yes | Stored card token | |
| order_info | Yes | Order description | |
| ip_addr | No | Customer IP address | 127.0.0.1 |