Top up the white-label wallet
topup_platform_walletCharges a saved card and adds the amount to this swift_platform wallet. Uses the same saved-card top-up as topup_with_saved_method. Omitting payment_method_id charges the default saved card. Every client charges nothing until confirm is true. A payment the provider has not finished is returned for the person to approve. Card numbers are not accepted. idempotency_key repeats the same top-up result.
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": "<amount>"
},
"name": "topup_platform_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| confirm | No | Omitted returns a preview on every client. True charges. | |
| idempotency_key | No | Repeats the same result instead of charging again. | |
| payment_method_id | No |