charge_token
Charge a saved card token to process a payment. Provide the token and amount to complete the transaction.
Instructions
Charge a saved 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": {
"token": "<token>",
"amount": "<amount>"
},
"name": "charge_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Saved card token | |
| amount | Yes | Charge amount | |
| currency | No | Currency code | SAR |
| cart_description | No | Charge description | Token charge |