# Creem

```json
{
  "name": "Creem",
  "slug": "creem",
  "url": "https://composio.dev/toolkits/creem",
  "markdown_url": "https://composio.dev/toolkits/creem.md",
  "logo_url": "https://logos.composio.dev/api/creem",
  "categories": [
    "e-commerce"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-09-29T05:35:06.239Z"
}
```

![Creem logo](https://logos.composio.dev/api/creem)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Creem MCP or direct API to create products, manage checkouts and subscriptions, process transactions, and issue refunds through natural language.

## Summary

Creem is a merchant-of-record platform for managing products, checkouts, subscriptions, customers, licenses, discounts, transactions, refunds, and revenue operations.
Helps businesses handle billing, compliance, and revenue workflows with a unified billing stack.

## Categories

- e-commerce

## Toolkit Details

- Tools: 48

## Images

- Logo: https://logos.composio.dev/api/creem

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for Creem.
  - Setup:
    - Configure Api Key credentials for Creem.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Create a subscription for customer@example.com
- List active subscriptions for customer 123
- Issue a refund for transaction 0x123

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `CREEM_ACTIVATE_LICENSE` | Activate License | Activate a Creem license key for a named device or instance. This mutates the license entitlement by consuming an activation slot and can prevent other devices from activating when the license reaches its limit. |
| `CREEM_ARCHIVE_PRODUCT` | Archive Product | Archive a product so it can no longer be purchased. This is a destructive soft-delete: the product remains available for historical orders and subscriptions. |
| `CREEM_CANCEL_SUBSCRIPTION` | Cancel Subscription | Cancel an active Creem subscription immediately, at the end of its current billing period, or according to the store default. This is a destructive financial operation; confirm the subscription and timing before calling. |
| `CREEM_CLOSE_CREDIT_ACCOUNT` | Close Credit Account | Experimental Creem API: permanently close a credit account in the connected production store. This irreversible action cannot be undone; confirm the account ID before calling. |
| `CREEM_CREATE_CHECKOUT` | Create Checkout | Create a live checkout session in the connected Creem production store for a one-time payment or subscription. The returned checkout_url can accept a real customer payment. custom_price overrides the product's per-unit price for this checkout and must be reviewed carefully before calling. |
| `CREEM_CREATE_CREDIT_ACCOUNT` | Create Credit Account | Experimental Creem API: create a credit account for a customer in the connected production store, optionally with an initial balance. This is a live financial mutation. Verify the customer ID and initial balance before calling because a successful request creates the account and seeds its balance. |
| `CREEM_CREATE_CUSTOMER` | Create Customer | Create a customer record in the connected Creem production store. This is a live production mutation: a successful call permanently adds a customer. |
| `CREEM_CREATE_CUSTOMER_PORTAL_LINK` | Create Customer Portal Link | Generate a sensitive customer portal link for managing billing, subscriptions, and payment methods in the connected Creem production store. Share the returned URL only with the intended customer. |
| `CREEM_CREATE_DISCOUNT` | Create Discount | Create a promotional discount for products in the connected Creem production store. This is a live financial mutation that can reduce customer prices. Confirm the product IDs, fixed amount and currency, or percentage before calling. |
| `CREEM_CREATE_PRODUCT` | Create Product | Create a product in the connected Creem production store for a one-time payment, free purchase, or subscription. This is a live financial mutation: a successful call creates a purchasable product. Use idempotency_key for safe retries. |
| `CREEM_CREDIT_ACCOUNT` | Credit Account | Experimental Creem API: add credits to a customer credit account in the connected production store and return the resulting ledger transaction. This is an irreversible live financial mutation. Confirm the account, amount, and reference before calling, and reuse the same idempotency key for retries of the same intended credit. |
| `CREEM_DEACTIVATE_LICENSE` | Deactivate License | Deactivate one device instance for a Creem license key and free its activation slot. This removes that instance's entitlement and access; confirm both the license key and instance ID before calling. |
| `CREEM_DEBIT_ACCOUNT` | Debit Account | Experimental Creem API: irreversibly deduct credits from a customer credit account in the connected production store and create a live ledger transaction. Confirm the account, amount, and reference before calling. For retries, reuse the same idempotency key so an uncertain prior attempt cannot become a duplicate debit. |
| `CREEM_DELETE_DISCOUNT` | Delete Discount | Permanently delete a Creem discount code and prevent any further use. This destructive financial operation cannot be undone; confirm the discount ID before calling. |
| `CREEM_FREEZE_CREDIT_ACCOUNT` | Freeze Credit Account | Experimental Creem API: freeze a credit account in the connected production store, preventing new transactions against its live credit balance. This changes financial account state; confirm the account ID before calling. |
| `CREEM_GET_AFFILIATE` | Get Affiliate | Retrieve a single affiliate by ID, including referral link, click and conversion counts, and lifetime commission. |
| `CREEM_GET_CHECKOUT` | Get Checkout | Retrieve a Creem checkout session by ID, including its status, product, customer, payment relationships, issued licenses, and metadata. |
| `CREEM_GET_CREDIT_ACCOUNT` | Get Credit Account | Experimental Creem API: retrieve a customer credits account by its unique identifier, including its owner, unit label, status, and timestamps. |
| `CREEM_GET_CREDIT_ACCOUNT_BALANCE` | Get Credit Account Balance | Experimental Creem API: retrieve a credit account's current projected balance or its balance at an optional historical timestamp. |
| `CREEM_GET_CUSTOMER` | Get Customer | Retrieve one Creem customer by exactly one lookup field: customer_id or email. Returns the customer's profile and metadata. |
| `CREEM_GET_DISCOUNT` | Get Discount | Retrieve Creem discount details by exactly one lookup field: discount_id or discount_code. Returns usage limits, expiration, and discount amount. |
| `CREEM_GET_PRODUCT` | Get Product | Retrieve a single Creem product by its unique identifier. |
| `CREEM_GET_STORE_METRICS` | Get Store Metrics | Retrieve Creem store counts, revenue, and monthly recurring revenue in integer cents, optionally filtered and grouped by a date range. |
| `CREEM_GET_SUBSCRIPTION` | Get Subscription | Retrieve a Creem subscription by ID, including its status, billing cycle, customer, product, items, payment history, and timestamps. |
| `CREEM_GET_TRANSACTION` | Get Transaction | Retrieve a single Creem transaction by ID, including payment amounts, status, tax details, and associated resource IDs. |
| `CREEM_LIST_AFFILIATE_COMMISSIONS` | List Affiliate Commissions | Retrieve one page of an affiliate's commissions, optionally filtered by pending, approved, or paid settlement status. |
| `CREEM_LIST_AFFILIATES` | List Affiliates | Retrieve one page of joined Creem affiliates with referral links, click and conversion counts, and lifetime commission. Invited affiliates who have not joined a program are not included. |
| `CREEM_LIST_CREDIT_ACCOUNT_ENTRIES` | List Credit Account Entries | Experimental Creem API: retrieve one page of a credit account's credit and debit history, with forward or backward ID-based pagination. |
| `CREEM_LIST_CREDIT_ACCOUNTS` | List Credit Accounts | Experimental Creem API: list customer credit accounts for the authenticated store, excluding system accounts. Returns one page at a time. The response and cursor contract may change while this API remains experimental. |
| `CREEM_LIST_CUSTOMER_LICENSES` | List Customer Licenses | Retrieve one page of license keys for a specific Creem customer. Returns pagination totals and an opaque cursor when another page is available. |
| `CREEM_LIST_CUSTOMER_ORDERS` | List Customer Orders | Retrieve one page of orders for a specific customer, including monetary details, statuses, related resource IDs, and pagination totals. |
| `CREEM_LIST_CUSTOMERS` | List Customers | Retrieve one page of customers, including customer details and pagination totals. Use next_cursor to continue through additional pages. |
| `CREEM_LIST_DISCOUNTS` | List Discounts | Search and retrieve one page of Creem discounts, optionally filtered by product, status, type, or creation date. |
| `CREEM_LIST_LICENSE_INSTANCES` | List License Instances | Retrieve one page of activated instances for a Creem license. Use an instance ID from the response when deactivating a specific instance. |
| `CREEM_LIST_PRODUCTS` | List Products | Search and retrieve one page of Creem products, optionally filtered by lifecycle status. Returns an opaque cursor when another page is available. |
| `CREEM_LIST_SUBSCRIPTIONS` | List Subscriptions | Retrieve one page of Creem subscriptions across the store or for one customer, including product, customer, billing, transaction, and pagination details. |
| `CREEM_LIST_TRANSACTIONS` | List Transactions | Search and retrieve one page of Creem payment transactions, optionally filtered by customer, order, or product. |
| `CREEM_PAUSE_SUBSCRIPTION` | Pause Subscription | Pause a Creem production subscription immediately or after its current billing period, stopping live billing while retaining it for later resumption. Confirm the subscription and timing before calling. |
| `CREEM_REFUND_PAYMENT` | Refund Payment | Issue an irreversible full refund of a payment's entire remaining refundable amount using its transaction ID. Partial refunds are not supported. Confirm the transaction before calling. A `pending` or `requiresAction` response is non-terminal and means provider processing continues asynchronously. |
| `CREEM_RESUME_SUBSCRIPTION` | Resume Subscription | Resume a paused or scheduled-cancel Creem production subscription. This changes live subscription billing; confirm the subscription before calling. |
| `CREEM_REVERSE_CREDIT_TRANSACTION` | Reverse Credit Transaction | Experimental Creem API: reverse a previous credit or debit in the connected production store by creating a new compensating transaction; the original transaction remains in the ledger. This is an irreversible live financial mutation. Confirm the account and transaction IDs before calling. The request does not accept an idempotency key, so verify the account ledger before retrying after a timeout, rate limit, or server error. |
| `CREEM_SCREEN_PROMPT` | Screen Prompt | Evaluate a text prompt against Creem content policies before generation. Warning: this endpoint is experimental and its request, response, or behavior may change without stability guarantees. |
| `CREEM_UNFREEZE_CREDIT_ACCOUNT` | Unfreeze Credit Account | Experimental Creem API: unfreeze a frozen credit account in the connected production store, allowing live credit and debit transactions again. Confirm the account ID before calling. Closed accounts and accounts that are not frozen cannot be unfrozen. |
| `CREEM_UPDATE_CUSTOMER` | Update Customer | Update the name or metadata of an existing customer in the connected Creem production store. Only supplied fields change; provide at least one change. |
| `CREEM_UPDATE_PRODUCT` | Update Product | Update at least one field on a product in the connected Creem production store. Only supplied fields change; pricing, currency, billing, and tax changes affect future purchases, and changing the price creates a new default price. |
| `CREEM_UPDATE_SUBSCRIPTION` | Update Subscription | Update items, units, seats, or add-ons on a Creem production subscription. This changes live recurring billing; proration-charge-immediately can charge the customer immediately. |
| `CREEM_UPGRADE_SUBSCRIPTION` | Upgrade Subscription | Upgrade a subscription to a different product or plan in Creem production. This changes live billing and may charge the customer: the default update behavior applies proration and can charge it immediately. |
| `CREEM_VALIDATE_LICENSE` | Validate License | Verify that a Creem license key is valid and active for a specific instance, including its activation status and expiration. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK
```python
pip install composio_openai
```

```typescript
npm install @composio/openai
```

#### Path 1, Step 2: Initialize Composio and Create Tool Router Session

Import and initialize Composio client, then create a Tool Router session
```python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
```

```typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
```

#### Path 1, Step 3: Execute Creem Tools via Tool Router with Your Agent

Get tools from Tool Router session and execute Creem actions with your Agent
```python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'YOUR_SPECIFIC_PROMPT_HERE'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
```

```typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'YOUR_SPECIFIC_PROMPT_HERE'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK for Python or TypeScript
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
```

#### Path 2, Step 2: Initialize Client and Create Tool Router Session

Import and initialize the Composio client, then create a Tool Router session for Creem
```python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
```

```typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
```

#### Path 2, Step 3: Connect to AI Agent

Use the MCP server with your AI agent (Anthropic Claude or Mastra)
```python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Creem tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('YOUR_SPECIFIC_PROMPT_HERE')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'YOUR_SPECIFIC_PROMPT_HERE'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
```

## Why Use Composio?

### 1. AI Native Creem Integration

- Supports both Creem MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for reading, writing, and querying your Creem data

### 2. Managed Auth

- Built-in OAuth handling with automatic token refresh and rotation
- Central place to manage, scope, and revoke Creem access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Creem
- Scoped, least privilege access to Creem resources
- Full audit trail of agent actions to support review and compliance

## Use Creem with any AI Agent Framework

Choose a framework you want to connect Creem with:

- [ChatGPT](https://composio.dev/toolkits/creem/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/creem/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/creem/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/creem/framework/atomic-agent)

## Related Toolkits

- [Addresszen](https://composio.dev/toolkits/addresszen) - Addresszen is a real-time address autocomplete and verification service. It helps capture accurate, deliverable addresses with instant suggestions and validation.
- [Asin data api](https://composio.dev/toolkits/asin_data_api) - Asin data api gives you detailed, real-time product data from Amazon, including price, rank, and reviews. Perfect for e-commerce pros and data-driven marketers who need instant marketplace insights.
- [Baselinker](https://composio.dev/toolkits/baselinker) - BaseLinker is an all-in-one e-commerce management platform connecting stores, marketplaces, carriers, and more. It streamlines order processing, inventory control, and automates your sales operations.
- [Bestbuy](https://composio.dev/toolkits/bestbuy) - Best Buy is a leading retailer offering APIs for product, store, and recommendation data. Instantly access up-to-date retail insights for smarter shopping and decision-making.
- [Bluebarry](https://composio.dev/toolkits/bluebarry) - Bluebarry is a customer data and product-advice platform for shopper identities, profiles, and recommendations. It helps teams analyze customer context and synchronize shopper data for better commerce experiences.
- [Btcpay server](https://composio.dev/toolkits/btcpay_server) - BTCPay Server is a free, open-source, self-hosted Bitcoin payment processor. It lets merchants accept Bitcoin payments directly, cutting out middlemen and boosting privacy.
- [Cdr platform](https://composio.dev/toolkits/cdr_platform) - Cdr platform is an API for purchasing carbon dioxide removal services. It enables businesses to offset emissions by accessing verified carbon removal projects.
- [Cloudcart](https://composio.dev/toolkits/cloudcart) - CloudCart is an e-commerce platform for building and managing online stores. It helps businesses streamline product listings, orders, and customer engagement.
- [Clover](https://composio.dev/toolkits/clover) - Clover is a point-of-sale and merchant platform that provides payments, orders, inventory, and device APIs. Use it to manage orders, customers, employees, payments, and receipts across locations.
- [Commerce Layer](https://composio.dev/toolkits/commerce_layer) - Commerce Layer is a headless commerce platform with transactional APIs for orders, inventory, pricing, customers, and fulfillment. Use it to centralize ecommerce operations and surface real-time commerce data.
- [Countdown api](https://composio.dev/toolkits/countdown_api) - Countdown API gives you real-time, structured eBay product data, reviews, and seller feedback. Perfect for powering price monitoring, product research, or marketplace analytics workflows.
- [Dpd2](https://composio.dev/toolkits/dpd2) - Dpd2 is a robust email management platform for handling, sorting, and automating email workflows. Streamline your communications and boost productivity with advanced sorting, labeling, and response tools.
- [Finerworks](https://composio.dev/toolkits/finerworks) - FinerWorks is an online platform for fine art and photo printing services. Artists and photographers use it to order custom prints and manage print inventory efficiently.
- [Fingertip](https://composio.dev/toolkits/fingertip) - Fingertip is a business management platform for selling, booking, and customer engagement—all from a single link. It helps businesses streamline operations and connect with customers across social channels.
- [Fraudlabs pro](https://composio.dev/toolkits/fraudlabs_pro) - FraudLabs Pro is an online payment fraud detection service for e-commerce and merchants. It helps minimize chargebacks and revenue loss by detecting and preventing fraudulent transactions.
- [Gelato](https://composio.dev/toolkits/gelato) - Gelato is a print-on-demand platform for creating products, managing orders, checking stock, and finding shipping options. It helps businesses sell globally with local production, pricing, and fulfillment.
- [Gift up](https://composio.dev/toolkits/gift_up) - Gift Up! is a digital platform for selling, managing, and redeeming gift cards online. It streamlines promotions and gift card transactions for businesses and their customers.
- [Goody](https://composio.dev/toolkits/goody) - Goody is a gifting platform that lets users send gifts and physical products without handling logistics. It streamlines gifting by managing delivery, fulfillment, and recipient experience.
- [Gumroad](https://composio.dev/toolkits/gumroad) - Gumroad is a platform for selling digital products, physical goods, and memberships with a simple checkout and marketing tools. It streamlines creator payouts and helps you grow your audience effortlessly.
- [HitPay](https://composio.dev/toolkits/hitpay) - HitPay is a payments platform offering processing, invoicing, recurring billing, payouts, and merchant business APIs. Helps merchants accept payments and manage cash flow with unified, developer-friendly APIs.

## Frequently Asked Questions

### Do I need my own developer credentials to use Creem with Composio?

Yes, Creem requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
