Braintree MCP by usefulapi
v1.41.1Search Braintree transactions, customers and payment methods, and refund or void charges.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
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.
| Parameter | Type | Description |
|---|---|---|
id * | string | GraphQL global transaction ID (opaque, base64-looking), e.g. from a search result's `node.id`. |
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 }`.
| Parameter | Type | Description |
|---|---|---|
createdAfter | string | Only transactions created at or after this ISO-8601 timestamp. |
createdBefore | string | Only transactions created at or before this ISO-8601 timestamp. |
customerId | string | GraphQL global Customer ID to filter to one customer's transactions. |
first | integer | Max transactions to return (page size). Default 25. |
status | array | One or more transaction statuses to match (e.g. ["SETTLED","VOIDED"]). |
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.
| Parameter | Type | Description |
|---|---|---|
id * | string | GraphQL global Customer ID (opaque). Legacy numeric ids differ — resolve them via a transaction search or the id-conversion query first. |
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 } }`.
| Parameter | Type | Description |
|---|---|---|
id * | string | GraphQL global Customer ID (opaque). |
first | integer | Max payment methods to return. Default 50. |
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.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | GraphQL global Customer ID whose recurring/subscription charges to list. |
first | integer | Max transactions to return. Default 50. |
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.
| Parameter | Type | Description |
|---|---|---|
transactionId * | string | GraphQL global transaction ID to refund. |
amount | string | Partial-refund amount as a decimal string (e.g. "10.00"). Omit for a full refund. |
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.
| Parameter | Type | Description |
|---|---|---|
transactionId * | string | GraphQL global transaction ID to void. |