{"kind":"Skill","metadata":{"namespace":"community","name":"braintree-automation","version":"0.1.0"},"spec":{"description":"Braintree Automation: manage payment processing via Stripe-compatible tools for customers, subscriptions, payment methods, and transactions","files":{"SKILL.md":"---\nname: Braintree Automation\ndescription: \"Braintree Automation: manage payment processing via Stripe-compatible tools for customers, subscriptions, payment methods, and transactions\"\nrequires:\n  mcp: [rube]\n---\n\n# Braintree Automation\n\nAutomate payment processing operations via Stripe-compatible tooling including managing customers, subscriptions, payment methods, balance transactions, and customer searches. The Composio platform routes Braintree payment workflows through the Stripe toolkit for unified payment management.\n\n**Toolkit docs:** [composio.dev/toolkits/braintree](https://composio.dev/toolkits/braintree)\n\n---\n\n## Setup\n\nThis skill requires the **Rube MCP server** connected at `https://rube.app/mcp`.\n\nBefore executing any tools, ensure an active connection exists for the `stripe` toolkit. If no connection is active, initiate one via `RUBE_MANAGE_CONNECTIONS`.\n\n---\n\n## Core Workflows\n\n### 1. Create and Manage Customers\n\nCreate new customers and retrieve existing customer details.\n\n**Tools:**\n- `STRIPE_CREATE_CUSTOMER` -- Create a new customer\n- `STRIPE_GET_CUSTOMERS_CUSTOMER` -- Retrieve a customer by ID\n- `STRIPE_POST_CUSTOMERS_CUSTOMER` -- Update an existing customer\n- `STRIPE_LIST_CUSTOMERS` -- List customers with pagination\n- `STRIPE_GET_V1_CUSTOMERS_SEARCH_CUSTOMERS` -- Search customers by email, name, metadata\n\n**Key Parameters for `STRIPE_CREATE_CUSTOMER`:**\n- `email` -- Customer's primary email address\n- `name` -- Full name or business name\n- `phone` -- Phone number with country code\n- `description` -- Internal reference notes\n- `address` -- Billing address object with `line1`, `city`, `state`, `postal_code`, `country`\n\n**Key Parameters for `STRIPE_GET_V1_CUSTOMERS_SEARCH_CUSTOMERS`:**\n- `query` (required) -- Stripe Search Query Language. Must use `field:value` syntax:\n  - `email:'user@example.com'` -- Exact match (case insensitive)\n  - `name~'John'` -- Substring match (min 3 chars)\n  - `metadata['key']:'value'` -- Metadata search\n  - `created\u003e1609459200` -- Timestamp comparison\n  - Combine with `AND` or `OR` (max 10 clauses, cannot mix)\n- `limit` -- Results per page (1--100, default 10)\n\n**Example:**\n```\nTool: STRIPE_CREATE_CUSTOMER\nArguments:\n  email: \"jane@example.com\"\n  name: \"Jane Doe\"\n  description: \"Enterprise plan customer\"\n  address: {\n    \"line1\": \"123 Main St\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"postal_code\": \"94105\",\n    \"country\": \"US\"\n  }\n```\n\n---\n\n### 2. Manage Subscriptions\n\nCreate subscriptions and view customer subscription details.\n\n**Tools:**\n- `STRIPE_CREATE_SUBSCRIPTION` -- Create a new subscription for an existing customer\n- `STRIPE_GET_CUSTOMERS_CUSTOMER_SUBSCRIPTIONS` -- List all subscriptions for a customer\n- `STRIPE_GET_CUSTOMERS_CUSTOMER_SUBS_SUB_EXPOSED_ID` -- Get a specific subscription\n\n**Key Parameters for `STRIPE_CREATE_SUBSCRIPTION`:**\n- `customer` (required) -- Customer ID, e.g., `\"cus_xxxxxxxxxxxxxx\"`\n- `items` (required) -- Array of subscription items, each with:\n  - `price` -- Price ID, e.g., `\"price_xxxxxxxxxxxxxx\"` (use this OR `price_data`)\n  - `price_data` -- Inline price definition with `currency`, `product`, `unit_amount`, `recurring`\n  - `quantity` -- Item quantity\n- `default_payment_method` -- Payment method ID (not required for trials or invoice billing)\n- `trial_period_days` -- Trial days (no payment required during trial)\n- `collection_method` -- `\"charge_automatically\"` (default) or `\"send_invoice\"`\n- `cancel_at_period_end` -- Cancel at end of billing period (boolean)\n\n**Key Parameters for `STRIPE_GET_CUSTOMERS_CUSTOMER_SUBSCRIPTIONS`:**\n- `customer` (required) -- Customer ID\n- `status` -- Filter: `\"active\"`, `\"all\"`, `\"canceled\"`, `\"trialing\"`, `\"past_due\"`, etc.\n- `limit` -- Results per page (1--100, default 10)\n\n**Example:**\n```\nTool: STRIPE_CREATE_SUBSCRIPTION\nArguments:\n  customer: \"cus_abc123\"\n  items: [{\"price\": \"price_xyz789\", \"quantity\": 1}]\n  trial_period_days: 14\n```\n\n---\n\n### 3. Manage Payment Methods\n\nList and attach payment methods to customers.\n\n**Tools:**\n- `STRIPE_GET_CUSTOMERS_CUSTOMER_PAYMENT_METHODS` -- List a customer's payment methods\n- `STRIPE_ATTACH_PAYMENT_METHOD` -- Attach a payment method to a customer\n\n**Key Parameters for `STRIPE_GET_CUSTOMERS_CUSTOMER_PAYMENT_METHODS`:**\n- `customer` (required) -- Customer ID\n- `type` -- Filter by type: `\"card\"`, `\"sepa_debit\"`, `\"us_bank_account\"`, etc.\n- `limit` -- Results per page (1--100, default 10)\n\n**Example:**\n```\nTool: STRIPE_GET_CUSTOMERS_CUSTOMER_PAYMENT_METHODS\nArguments:\n  customer: \"cus_abc123\"\n  type: \"card\"\n  limit: 10\n```\n\n---\n\n### 4. View Balance Transactions\n\nRetrieve the history of balance changes for a customer.\n\n**Tool:** `STRIPE_GET_CUSTOMERS_CUSTOMER_BALANCE_TRANSACTIONS`\n\n**Key Parameters:**\n- `customer` (required) -- Customer ID\n- `created` -- Filter by creation date with comparison operators: `{\"gte\": 1609459200}` or `{\"gt\": 1609459200, \"lt\": 1640995200}`\n- `invoice` -- Filter by related invoice ID\n- `limit` -- Results per page (1--100)\n- `starting_after` / `ending_before` -- Pagination cursors\n\n**Example:**\n```\nTool: STRIPE_GET_CUSTOMERS_CUSTOMER_BALANCE_TRANSACTIONS\nArguments:\n  customer: \"cus_abc123\"\n  limit: 25\n  created: {\"gte\": 1704067200}\n```\n\n---\n\n## Known Pitfalls\n\n| Pitfall | Detail |\n|---------|--------|\n| **Search query syntax** | `STRIPE_GET_V1_CUSTOMERS_SEARCH_CUSTOMERS` requires field-prefixed queries (e.g., `email:'x'`). Bare strings without field prefixes are invalid and will error. |\n| **Subscription payment method** | `default_payment_method` is not required if using `trial_period_days` or `collection_method='send_invoice'`. Otherwise, the subscription may fail to activate. |\n| **Payment method attachment** | A `PaymentMethod` must be in a detached state before attaching to a customer. Already-attached methods will error. |\n| **Pagination cursors** | Use `starting_after`/`ending_before` with object IDs, not page numbers. Extract the last/first object ID from each response. |\n| **Balance amounts in cents** | All monetary amounts are in the smallest currency unit (e.g., cents for USD). 1000 = $10.00. |\n| **Subscription status default** | `GET_CUSTOMERS_CUSTOMER_SUBSCRIPTIONS` excludes canceled subscriptions by default. Pass `status: \"all\"` to include them. |\n\n---\n\n## Quick Reference\n\n| Tool Slug | Description |\n|-----------|-------------|\n| `STRIPE_CREATE_CUSTOMER` | Create a new customer |\n| `STRIPE_GET_CUSTOMERS_CUSTOMER` | Retrieve a customer by ID |\n| `STRIPE_POST_CUSTOMERS_CUSTOMER` | Update an existing customer |\n| `STRIPE_LIST_CUSTOMERS` | List customers with pagination |\n| `STRIPE_GET_V1_CUSTOMERS_SEARCH_CUSTOMERS` | Search customers by attributes |\n| `STRIPE_CREATE_SUBSCRIPTION` | Create a subscription for a customer |\n| `STRIPE_GET_CUSTOMERS_CUSTOMER_SUBSCRIPTIONS` | List customer subscriptions |\n| `STRIPE_GET_CUSTOMERS_CUSTOMER_SUBS_SUB_EXPOSED_ID` | Get a specific subscription |\n| `STRIPE_GET_CUSTOMERS_CUSTOMER_PAYMENT_METHODS` | List customer payment methods |\n| `STRIPE_ATTACH_PAYMENT_METHOD` | Attach payment method to customer |\n| `STRIPE_GET_CUSTOMERS_CUSTOMER_BALANCE_TRANSACTIONS` | List customer balance transactions |\n\n---\n\n*Powered by [Composio](https://composio.dev)*\n"},"import":{"commit_sha":"f2b5e29bc315f04c8e09591ba275f4c4f7d4b8fe","imported_at":"2026-05-18T20:07:47Z","license_text":"","owner":"ComposioHQ","repo":"ComposioHQ/awesome-claude-skills","source_url":"https://github.com/ComposioHQ/awesome-claude-skills/tree/f2b5e29bc315f04c8e09591ba275f4c4f7d4b8fe/composio-skills/braintree-automation"}},"content_hash":[128,103,153,132,184,244,173,128,239,161,109,148,111,37,218,128,219,150,142,234,105,235,238,177,50,116,33,252,50,253,244,152],"trust_level":"unsigned","yanked":false}
