charge_authorization
Charge a customer using a pre-authorized card by providing email, amount, and authorization code. Completes the payment transaction directly.
Instructions
Charge a previously authorized card
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": {
"email": "<email>",
"amount": "<amount>",
"authorization_code": "<authorization_code>"
},
"name": "charge_authorization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Customer's email address | ||
| amount | Yes | The amount to charge in the subunit of the supported currency | |
| currency | No | The currency to charge in. Default is your integration currency. | |
| metadata | No | Additional information to store with the transaction. | |
| reference | No | Unique transaction reference. If not provided, a unique reference will be generated. | |
| authorization_code | Yes | Authorization code for the transaction |