Simulate the fees of a charge
preview_payment_feesHow much the student pays and the trainer receives for an amount, method and installments. Only a simulation: nothing is charged.
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": {
"amount_cents": "<amount_cents>",
"payment_method": "<payment_method>",
"pass_platform_fee": "<pass_platform_fee>",
"pass_processing_fee": "<pass_processing_fee>"
},
"name": "preview_payment_fees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | ||
| amount_cents | Yes | Amount in cents (R$ 300,00 = 30000). | |
| installments | No | Card installments, 1 by default. | |
| payment_method | Yes | ||
| pass_platform_fee | Yes | Student pays the platform fee. | |
| pass_processing_fee | Yes | Student pays the processing fee. |