MCPサーバー

braintree

io.usefulapi/braintree
ビジネス・業務 決済・フィンテック 公開・接続可能 MCP 2026-07-28

このMCPでできること

Searches Braintree transactions and customers, lists payment methods and recurring charge activity, and supports refunds and transaction voids.

braintree_customer_payment_methods
List a customer's payment methods
List the vaulted payment methods (credit cards, PayPal accounts, etc.) for one customer, by GraphQL global Customer ID. Returns each method's id, legacyId, usage, created-at, and detail type. GraphQL `node { ... on Customer { paymentMethods } }`.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'GraphQL global Customer ID (opaque).'}, 'first': {'type': 'integer', 'maximum': 100, 'description': 'Max payment methods to return. Default 50.', 'exclusiveMinimum': 0}}}
braintree_find_customer
Find a customer
Fetch one customer by GraphQL global Customer ID via the `node` query. Returns id, legacyId, name, company, and created-at. To also enumerate stored cards/PayPal accounts use braintree_customer_payment_methods.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'GraphQL global Customer ID (opaque). Legacy numeric ids differ — resolve them via a transaction search or the id-conversion query first.'}}}
braintree_find_transaction
Find a transaction
Fetch one transaction by its GraphQL global ID (the opaque `id` returned by braintree_search_transactions, NOT the short legacy id). Uses the GraphQL `node` query. Returns amount, status, timestamps, order id, and the linked customer.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': "GraphQL global transaction ID (opaque, base64-looking), e.g. from a search result's `node.id`."}}}
braintree_list_subscriptions
List a customer's subscription activity
List a customer's recurring / subscription payment activity. IMPORTANT: Braintree's GraphQL API does NOT expose native Subscription objects (recurring-billing management is still legacy-API only — see braintree/graphql-api issue #1). This tool therefore returns the customer's transactions (the observable evidence of subscription charges) via a TransactionSearchInput scoped to the customer; inspect each node's status/amount/createdAt to trace recurring charges. For full subscription CRUD you must use Braintree's legacy server SDK / REST API.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['customerId'], 'properties': {'first': {'type': 'integer', 'maximum': 100, 'description': 'Max transactions to return. Default 50.', 'exclusiveMinimum': 0}, 'customerId': {'type': 'string', 'description': 'GraphQL global Customer ID whose recurring/subscription charges to list.'}}}
braintree_refund_transaction
Refund a transaction
DESTRUCTIVE. Refund a SETTLED (or settling) transaction, returning money to the customer. Use the GraphQL global transaction ID. Omit `amount` for a full refund, or pass a decimal string for a partial refund. GraphQL mutation `refundTransaction`. For transactions not yet settled, use braintree_void_transaction instead.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['transactionId'], 'properties': {'amount': {'type': 'string', 'pattern': '^\\d+(\\.\\d{1,2})?$', 'description': 'Partial-refund amount as a decimal string (e.g. "10.00"). Omit for a full refund.'}, 'transactionId': {'type': 'string', 'description': 'GraphQL global transaction ID to refund.'}}}
braintree_search_transactions
Search transactions
Search transactions by created-at date range, status, and/or customer. Builds a TransactionSearchInput (operators: status `in`, createdAt `greaterThanOrEqualTo`/`lessThanOrEqualTo`, customer.id `is`). Returns a page of transaction nodes (id, legacyId, amount, status, createdAt). GraphQL `search { transactions }`.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'first': {'type': 'integer', 'maximum': 100, 'description': 'Max transactions to return (page size). Default 25.', 'exclusiveMinimum': 0}, 'status': {'type': 'array', 'items': {'enum': ['AUTHORIZATION_EXPIRED', 'AUTHORIZING', 'AUTHORIZED', 'GATEWAY_REJECTED', 'FAILED', 'PROCESSOR_DECLINED', 'SETTLED', 'SETTLING', 'SETTLEMENT_CONFIRMED', 'SETTLEMENT_DECLINED', 'SETTLEMENT_PENDING', 'SUBMITTED_FOR_SETTLEMENT', 'VOIDED'], 'type': 'string'}, 'description': 'One or more transaction statuses to match (e.g. ["SETTLED","VOIDED"]).'}, 'customerId': {'type': 'string', 'description': "GraphQL global Customer ID to filter to one customer's transactions."}, 'createdAfter': {'type': 'string', 'description': 'Only transactions created at or after this ISO-8601 timestamp.'}, 'createdBefore': {'type': 'string', 'description': 'Only transactions created at or before this ISO-8601 timestamp.'}}}
braintree_void_transaction
Void a transaction
DESTRUCTIVE. Void (cancel) a transaction that has NOT yet settled — e.g. an authorization or one submitted-for-settlement. Use the GraphQL global transaction ID. GraphQL mutation `voidTransaction`. For already-settled transactions use braintree_refund_transaction instead.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['transactionId'], 'properties': {'transactionId': {'type': 'string', 'description': 'GraphQL global transaction ID to void.'}}}
変更
braintree_void_transaction
2026年10月1日2:50
変更
braintree_refund_transaction
2026年10月1日2:50
変更
braintree_list_subscriptions
2026年10月1日2:50
変更
braintree_customer_payment_methods
2026年10月1日2:50
変更
braintree_find_customer
2026年10月1日2:50
変更
braintree_search_transactions
2026年10月1日2:50
変更
braintree_find_transaction
2026年10月1日2:50
追加
braintree_void_transaction
2026年9月17日12:53
追加
braintree_refund_transaction
2026年9月17日12:53
追加
braintree_list_subscriptions
2026年9月17日12:53
追加
braintree_customer_payment_methods
2026年9月17日12:53
追加
braintree_find_customer
2026年9月17日12:53
追加
braintree_search_transactions
2026年9月17日12:53
追加
braintree_find_transaction
2026年9月17日12:53