Channel Skills
Channel skills let agents create and manage payment channels.
channel.create
Create a new payment channel.
{
"skill": "channel.create",
"input": {
"name": "Stripe Production",
"code": "stripe_prod",
"type": "ONLINE",
"currency": "USD,EUR,GBP",
"country": "US",
"apiKey": "sk_live_...",
"webhookSecret": "whsec_..."
}
}
channel.update
Update an existing channel.
{
"skill": "channel.update",
"input": {
"channelId": 1,
"state": false,
"apiKey": "sk_live_newkey..."
}
}
channel.delete
Delete a channel.
{
"skill": "channel.delete",
"input": {
"channelId": 1
}
}