Save payment app keys
update_app_credentialsSave the API keys of a payment app the user installed (PayPal, Alby, BTCPay Server, HitPay). Ask the user to type the keys themselves; never reuse other secrets.
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": {
"credentialId": "<credentialId>",
"key": "<key>"
},
"name": "update_app_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The app's key fields, e.g. { client_id, secret_key } for PayPal. | |
| credentialId | Yes | The app's credential id, from list_connections. |