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
GET
getCharges
GET
getChargesCharge
GET
getChargesChargeDispute
GET
getChargesChargeRefunds
GET
getChargesChargeRefundsRefund
GET
getChargesSearch
POST
postCharges
POST
postChargesCharge
POST
postChargesChargeCapture
POST
postChargesChargeDispute
POST
postChargesChargeDisputeClose
POST
postChargesChargeRefund
POST
postChargesChargeRefunds
POST
postChargesChargeRefundsRefund
checkout
GET
getCheckoutSessions
GET
getCheckoutSessionsSession
GET
getCheckoutSessionsSessionLineItems
POST
postCheckoutSessions
POST
postCheckoutSessionsSession
POST
postCheckoutSessionsSessionExpire
coupons
DELETE
deleteCouponsCoupon
GET
getCoupons
GET
getCouponsCoupon
POST
postCoupons
POST
postCouponsCoupon
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
DELETE
deleteInvoiceitemsInvoiceitem
GET
getInvoiceitems
GET
getInvoiceitemsInvoiceitem
POST
postInvoiceitems
POST
postInvoiceitemsInvoiceitem
invoices
DELETE
deleteInvoicesInvoice
GET
getInvoices
GET
getInvoicesInvoice
GET
getInvoicesInvoiceLines
GET
getInvoicesSearch
POST
postInvoices
POST
postInvoicesCreatePreview
POST
postInvoicesInvoice
POST
postInvoicesInvoiceAddLines
POST
postInvoicesInvoiceAttachPayment
POST
postInvoicesInvoiceFinalize
POST
postInvoicesInvoiceLinesLineItemId
POST
postInvoicesInvoiceMarkUncollectible
POST
postInvoicesInvoicePay
POST
postInvoicesInvoiceRemoveLines
POST
postInvoicesInvoiceSend
POST
postInvoicesInvoiceUpdateLines
POST
postInvoicesInvoiceVoid
payment_intents
GET
getPaymentIntents
GET
getPaymentIntentsIntent
GET
getPaymentIntentsIntentAmountDetailsLineItems
GET
getPaymentIntentsSearch
POST
postPaymentIntents
POST
postPaymentIntentsIntent
POST
postPaymentIntentsIntentApplyCustomerBalance
POST
postPaymentIntentsIntentCancel
POST
postPaymentIntentsIntentCapture
POST
postPaymentIntentsIntentConfirm
POST
postPaymentIntentsIntentIncrementAuthorization
POST
postPaymentIntentsIntentVerifyMicrodeposits
payment_links
GET
getPaymentLinks
GET
getPaymentLinksPaymentLink
GET
getPaymentLinksPaymentLinkLineItems
POST
postPaymentLinks
POST
postPaymentLinksPaymentLink
payment_methods
GET
getPaymentMethods
GET
getPaymentMethodsPaymentMethod
POST
postPaymentMethods
POST
postPaymentMethodsPaymentMethod
POST
postPaymentMethodsPaymentMethodAttach
POST
postPaymentMethodsPaymentMethodDetach
payouts
GET
getPayouts
GET
getPayoutsPayout
POST
postPayouts
POST
postPayoutsPayout
POST
postPayoutsPayoutCancel
POST
postPayoutsPayoutReverse
prices
products
DELETE
deleteProductsId
DELETE
deleteProductsProductFeaturesId
GET
getProducts
GET
getProductsId
GET
getProductsProductFeatures
GET
getProductsProductFeaturesId
GET
getProductsSearch
POST
postProducts
POST
postProductsId
POST
postProductsProductFeatures
refunds
GET
getRefunds
GET
getRefundsRefund
POST
postRefunds
POST
postRefundsRefund
POST
postRefundsRefundCancel
setup_intents
GET
getSetupIntents
GET
getSetupIntentsIntent
POST
postSetupIntents
POST
postSetupIntentsIntent
POST
postSetupIntentsIntentCancel
POST
postSetupIntentsIntentConfirm
POST
postSetupIntentsIntentVerifyMicrodeposits
sources
GET
getSourcesSource
GET
getSourcesSourceMandateNotificationsMandateNotification
GET
getSourcesSourceSourceTransactions
GET
getSourcesSourceSourceTransactionsSourceTransaction
POST
postSources
POST
postSourcesSource
POST
postSourcesSourceVerify
subscriptions
DELETE
deleteSubscriptionsSubscriptionExposedId
DELETE
deleteSubscriptionsSubscriptionExposedIdDiscount
GET
getSubscriptions
GET
getSubscriptionsSearch
GET
getSubscriptionsSubscriptionExposedId
POST
postSubscriptions
POST
postSubscriptionsSubscriptionExposedId
POST
postSubscriptionsSubscriptionMigrate
POST
postSubscriptionsSubscriptionResume
tokens
webhook_endpoints
DELETE
deleteWebhookEndpointsWebhookEndpoint
GET
getWebhookEndpoints
GET
getWebhookEndpointsWebhookEndpoint
POST
postWebhookEndpoints
POST
postWebhookEndpointsWebhookEndpoint
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)