Comgate MCP by usefulapi
Read payments and bank transfers; create, cancel and refund payments in Comgate.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"comgate": {
"url": "https://comgate.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://comgate.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (7)
🟢comgate_list_payment_methods
List the payment methods this merchant can offer (id, group, name). Use an id as the `method` value when creating a payment. Comgate API: GET /v2.0/method.json.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢comgate_get_payment(transId)
Get one payment by transId: status (PENDING, PAID, CANCELLED or AUTHORIZED), amount, currency, refId, method, fee and the payer's contact fields. Comgate API: GET /v2.0/payment/transId/{transId}.json.
입력 스키마
{
"type": "object",
"properties": {
"transId": {
"type": "string",
"minLength": 1,
"description": "Comgate transaction id (transId), e.g. AB12-CD34-EF56."
}
},
"required": [
"transId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢comgate_list_transfers(date)
List the bank transfers (payouts to the merchant account) recorded for one date. Use a transferId from the result with comgate_get_transfer. Comgate API: GET /v2.0/transferList/date/{date}.json.
입력 스키마
{
"type": "object",
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date as yyyy-mm-dd (Europe/Prague time)."
}
},
"required": [
"date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢comgate_get_transfer(transferId)
Get one bank transfer by transferId: its date, amount and the payments it contains. Comgate API: GET /v2.0/singleTransfer/transferId/{transferId}.json.
입력 스키마
{
"type": "object",
"properties": {
"transferId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Comgate transferId from comgate_list_transfers."
}
},
"required": [
"transferId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴comgate_create_payment(price, curr, label, refId, fullName, ...)
Create a payment that a payer completes on the Comgate page. Returns transId and the redirect URL to send the payer to. Money moves only when the payer pays. Without `test: true` the payment is a live production payment. Comgate API: POST /v2.0/payment.json.
입력 스키마
{
"type": "object",
"properties": {
"price": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Amount in the smallest unit (cents or pennies). 1000 = 10.00 CZK."
},
"curr": {
"type": "string",
"enum": [
"CZK",
"EUR",
"PLN",
"HUF",
"USD",
"GBP",
"RON",
"HRK",
"NOK",
"SEK"
],
"description": "ISO 4217 currency code."
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 16,
"description": "Short product description, 1-16 characters. Used to filter payments in the portal."
},
"refId": {
"type": "string",
"minLength": 1,
"description": "Your order or variable symbol. It does not have to be unique."
},
"fullName": {
"type": "string",
"minLength": 1,
"description": "Payer's full name, e.g. Josef Novák."
},
"email": {
"description": "Payer's email. Give email or phone (or both).",
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"phone": {
"description": "Payer's phone in international format, e.g. +420777112233. Give email or phone (or both).",
"type": "string"
},
"method": {
"description": "Payment method id from comgate_list_payment_methods, or ALL to let the payer choose (default ALL).",
"type": "string"
},
"country": {
"description": "Country code limiting the methods, e.g. CZ (default CZ).",
"type": "string"
},
"lang": {
"description": "Payer page language, ISO 639-1, e.g. cs or en (default cs).",
"type": "string"
},
"test": {
"description": "true creates a test payment that no one is charged for. Default: production.",
"type": "boolean"
}
},
"required": [
"price",
"curr",
"label",
"refId",
"fullName"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴comgate_cancel_payment(transId)
Cancel a payment that is still PENDING (the payer has not paid). A paid payment cannot be cancelled: use comgate_refund_payment. Comgate API: DELETE /v2.0/payment/transId/{transId}.json.
입력 스키마
{
"type": "object",
"properties": {
"transId": {
"type": "string",
"minLength": 1,
"description": "Comgate transaction id (transId), e.g. AB12-CD34-EF56."
}
},
"required": [
"transId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴comgate_refund_payment(transId, amount, refId, test)
Refund all or part of a PAID payment. Money goes back to the payer, and the refund cannot be undone. Amount is in the smallest unit (cents or pennies). Comgate API: POST /v2.0/refund.json.
입력 스키마
{
"type": "object",
"properties": {
"transId": {
"type": "string",
"minLength": 1,
"description": "Comgate transaction id (transId), e.g. AB12-CD34-EF56."
},
"amount": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Refund amount in cents or pennies. Full or partial refund, at most the paid amount."
},
"refId": {
"description": "Your refund reference. It does not have to be unique.",
"type": "string",
"minLength": 1
},
"test": {
"description": "true runs a test refund that moves no money. Default: production.",
"type": "boolean"
}
},
"required": [
"transId",
"amount"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거