Passa al contenuto principale
Versione: Next

Payment Skills

Payment skills let agents create, query, refund, and reconcile transactions.

payment.create

Create a new payment transaction.

{
"skill": "payment.create",
"input": {
"amount": 100000,
"currency": "USD",
"channelId": 1,
"description": "Order #1234"
}
}

payment.refund

Refund an existing transaction.

{
"skill": "payment.refund",
"input": {
"transactionId": "TXN2026081800001",
"amount": 50000,
"reason": "Customer request"
}
}

transaction.search

Search transactions with filters.

{
"skill": "transaction.search",
"input": {
"status": "SUCCESS",
"channelId": 1,
"startDate": "2026-08-01",
"endDate": "2026-08-18",
"page": 1,
"pageSize": 20
}
}

channel.list

List configured payment channels.

{
"skill": "channel.list",
"input": {
"type": "ONLINE",
"country": "US"
}
}