Stripe

Payment processing, subscriptions, and billing

Overview

  • Version: 2026-01-28.clover
  • Base URL: https://api.stripe.com
  • Category: Finance
  • Tools Available: 183
  • Rate Limit: 100 requests/second
  • Documentation: https://stripe.com/docs/api

Quick Start

from ocp_agent import OCPAgent

agent = OCPAgent()

# Register with authentication
await agent.register_api(
    'stripe',
    headers={'Authorization': 'Bearer your_token_here'}
)

# List available tools
tools = agent.list_tools('stripe')
print(f"Available: {len(tools)} tools")

Authentication

Type: Bearer Token

Use ‘Bearer sk_test_xxxxxxxxxxxx’ with your Stripe secret key

See the Authentication Guide for general setup instructions.

Available Tools

This API provides 183 tools across various resource types.

balance

balance_transactions

charges

checkout

coupons

customers

DELETE deleteCustomersCustomer DELETE deleteCustomersCustomerBankAccountsId DELETE deleteCustomersCustomerCardsId DELETE deleteCustomersCustomerDiscount DELETE deleteCustomersCustomerSourcesId DELETE deleteCustomersCustomerSubscriptionsSubscriptionExposedId DELETE deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount DELETE deleteCustomersCustomerTaxIdsId GET getCustomers GET getCustomersCustomer GET getCustomersCustomerBalanceTransactions GET getCustomersCustomerBalanceTransactionsTransaction GET getCustomersCustomerBankAccounts GET getCustomersCustomerBankAccountsId GET getCustomersCustomerCards GET getCustomersCustomerCardsId GET getCustomersCustomerCashBalance GET getCustomersCustomerCashBalanceTransactions GET getCustomersCustomerCashBalanceTransactionsTransaction GET getCustomersCustomerDiscount GET getCustomersCustomerPaymentMethods GET getCustomersCustomerPaymentMethodsPaymentMethod GET getCustomersCustomerSources GET getCustomersCustomerSourcesId GET getCustomersCustomerSubscriptions GET getCustomersCustomerSubscriptionsSubscriptionExposedId GET getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount GET getCustomersCustomerTaxIds GET getCustomersCustomerTaxIdsId GET getCustomersSearch POST postCustomers POST postCustomersCustomer POST postCustomersCustomerBalanceTransactions POST postCustomersCustomerBalanceTransactionsTransaction POST postCustomersCustomerBankAccounts POST postCustomersCustomerBankAccountsId POST postCustomersCustomerBankAccountsIdVerify POST postCustomersCustomerCards POST postCustomersCustomerCardsId POST postCustomersCustomerCashBalance POST postCustomersCustomerFundingInstructions POST postCustomersCustomerSources POST postCustomersCustomerSourcesId POST postCustomersCustomerSourcesIdVerify POST postCustomersCustomerSubscriptions POST postCustomersCustomerSubscriptionsSubscriptionExposedId POST postCustomersCustomerTaxIds

disputes

invoiceitems

invoices

payment_intents

payment_links

payment_methods

payouts

prices

products

refunds

setup_intents

sources

subscriptions

tokens

webhook_endpoints

Usage Example

from ocp_agent import OCPAgent

# Initialize agent
agent = OCPAgent()

# Register the Stripe
api = await agent.register_api('stripe')

# List available tools
tools = agent.list_tools('stripe')
print(f"Available tools: {len(tools)}")

# Use a tool (example)
# result = await agent.call_tool('tool_name', parameters)

Links