Skip to main content

Stripe Provider

Stripe is one of the most popular payment processors globally, supporting credit cards, ACH transfers, and international payments in 40+ countries.

Features

  • Global Coverage - Accept payments in 135+ currencies
  • Payment Methods - Cards, bank transfers, digital wallets

Quick Setup

1. Get Your API Keys

  1. Sign up at stripe.com
  2. Navigate to DevelopersAPI Keys
  3. Copy your Secret Key (starts with sk_test_ for testing)

2. Configuration

from paymcp.providers import StripeProvider

PayMCP(mcp, providers=[StripeProvider(apiKey="sk_test_...")])

3. Test Your Integration

@mcp.tool()
@price(amount=0.50, currency="USD")
def test_stripe_payment(message: str, ctx: Context) -> str:
"""Test Stripe payment integration"""
return f"Stripe payment successful: {message}"

Test with Stripe's test card: 4242 4242 4242 4242

Support