skills$openclaw/stripe
byungkyu2.3k

by byungkyu

stripe – OpenClaw Skill

stripe is an OpenClaw Skills integration for coding workflows. |

2.3k stars8.7k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namestripe
description| OpenClaw Skills integration.
ownerbyungkyu
repositorybyungkyu/stripe-api
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @byungkyu/stripe-api
last updatedFeb 7, 2026

Maintainer

byungkyu

byungkyu

Maintains stripe in the OpenClaw Skills directory.

View GitHub profile
File Explorer
3 files
.
_meta.json
448 B
LICENSE.txt
1.0 KB
SKILL.md
6.3 KB
SKILL.md

name: stripe description: | Stripe API integration with managed OAuth. Manage customers, subscriptions, payments, invoices, and products. Use this skill when users want to interact with Stripe for billing and payments. compatibility: Requires network access and valid Maton API key metadata: author: maton version: "1.0"

Stripe

Access the Stripe API with managed OAuth authentication. Manage customers, subscriptions, payments, invoices, and products.

Quick Start

# List customers
curl -s -X GET 'https://gateway.maton.ai/stripe/v1/customers?limit=10' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Base URL

https://gateway.maton.ai/stripe/{native-api-path}

Replace {native-api-path} with the actual Stripe API endpoint path. The gateway proxies requests to api.stripe.com and automatically injects your API credentials.

Authentication

All requests require the Maton API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Environment Variable: Set your API key as MATON_API_KEY:

export MATON_API_KEY="YOUR_API_KEY"

Getting Your API Key

  1. Sign in or create an account at maton.ai
  2. Go to maton.ai/settings
  3. Copy your API key

Connection Management

Manage your Stripe connections at https://ctrl.maton.ai.

List Connections

curl -s -X GET 'https://ctrl.maton.ai/connections?app=stripe&status=ACTIVE' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Create Connection

curl -s -X POST 'https://ctrl.maton.ai/connections' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{"app": "stripe"}'

Get Connection

curl -s -X GET 'https://ctrl.maton.ai/connections/{connection_id}' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Response:

{
  "connection": {
    "connection_id": "21fd90f9-5935-43cd-b6c8-bde9d915ca80",
    "status": "ACTIVE",
    "creation_time": "2025-12-08T07:20:53.488460Z",
    "last_updated_time": "2026-01-31T20:03:32.593153Z",
    "url": "https://connect.maton.ai/?session_token=...",
    "app": "stripe",
    "metadata": {}
  }
}

Open the returned url in a browser to complete OAuth authorization.

Delete Connection

curl -s -X DELETE 'https://ctrl.maton.ai/connections/{connection_id}' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Specifying Connection

If you have multiple Stripe connections, specify which one to use with the Maton-Connection header:

curl -s -X GET 'https://gateway.maton.ai/stripe/v1/customers' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Maton-Connection: 21fd90f9-5935-43cd-b6c8-bde9d915ca80'

If omitted, the gateway uses the default (oldest) active connection.

API Reference

Customers

List Customers
GET /stripe/v1/customers?limit=10
Get Customer
GET /stripe/v1/customers/{customerId}
Create Customer
POST /stripe/v1/customers
Content-Type: application/x-www-form-urlencoded

email=customer@example.com&name=John%20Doe&description=New%20customer
Update Customer
POST /stripe/v1/customers/{customerId}
Content-Type: application/x-www-form-urlencoded

email=newemail@example.com

Products

List Products
GET /stripe/v1/products?limit=10&active=true
Create Product
POST /stripe/v1/products
Content-Type: application/x-www-form-urlencoded

name=Premium%20Plan&description=Monthly%20subscription

Prices

List Prices
GET /stripe/v1/prices?limit=10&active=true
Create Price
POST /stripe/v1/prices
Content-Type: application/x-www-form-urlencoded

unit_amount=1999&currency=usd&product=prod_XXX&recurring[interval]=month

Subscriptions

List Subscriptions
GET /stripe/v1/subscriptions?limit=10&status=active
Get Subscription
GET /stripe/v1/subscriptions/{subscriptionId}
Create Subscription
POST /stripe/v1/subscriptions
Content-Type: application/x-www-form-urlencoded

customer=cus_XXX&items[0][price]=price_XXX
Cancel Subscription
DELETE /stripe/v1/subscriptions/{subscriptionId}

Invoices

List Invoices
GET /stripe/v1/invoices?limit=10&customer=cus_XXX
Get Invoice
GET /stripe/v1/invoices/{invoiceId}

Charges

List Charges
GET /stripe/v1/charges?limit=10

Payment Intents

Create Payment Intent
POST /stripe/v1/payment_intents
Content-Type: application/x-www-form-urlencoded

amount=1999&currency=usd&customer=cus_XXX

Balance

Get Balance
GET /stripe/v1/balance

Events

List Events
GET /stripe/v1/events?limit=10&type=customer.created

Code Examples

JavaScript

const response = await fetch('https://gateway.maton.ai/stripe/v1/customers?limit=10', {
  headers: {
    'Authorization': `Bearer ${process.env.MATON_API_KEY}`
  }
});

Python

import os
import requests

response = requests.get(
    'https://gateway.maton.ai/stripe/v1/customers',
    headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'},
    params={'limit': 10}
)

Notes

  • Stripe API uses form-urlencoded data for POST requests
  • IDs are prefixed: cus_ (customer), sub_ (subscription), prod_ (product), price_ (price), in_ (invoice), pi_ (payment intent)
  • Amounts are in cents (1999 = $19.99)
  • Use expand[] parameter to include related objects
  • List endpoints support pagination with starting_after and ending_before
  • Delete returns {id, deleted: true} on success

Error Handling

StatusMeaning
400Missing Stripe connection
401Invalid or missing Maton API key
429Rate limited (10 req/sec per account)
4xx/5xxPassthrough error from Stripe API

Resources

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install stripe?

Run openclaw add @byungkyu/stripe-api in your terminal. This installs stripe into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/byungkyu/stripe-api. Review commits and README documentation before installing.