Adyen Provider
Adyen is a global payment platform supporting 250+ payment methods across 200+ countries. Trusted by major enterprises for high-volume, international payments.
Features
- Global Scale - 250+ payment methods, 200+ countries
- Enterprise Grade - Used by major platforms (Uber, Spotify, etc.)
- Advanced Routing - Smart payment routing for higher success rates
- Real-time Data - Comprehensive analytics and reporting
Quick Setup
1. Get Adyen Credentials
- Contact Adyen sales for account setup
- Complete merchant onboarding process
- Get your API Key and Merchant Account
2. Configuration
- Python
- TypeScript
from paymcp.providers import AdyenProvider
PayMCP(mcp, providers=[
AdyenProvider(
api_key="YOUR_API_KEY",
merchant_account="YOUR_MERCHANT_ACCOUNT",
sandbox=True
)
])
import { AdyenProvider } from 'paymcp/providers';
installPayMCP(mcp, {
providers: [
new AdyenProvider({
api_key: "YOUR_API_KEY",
merchant_account: "YOUR_MERCHANT_ACCOUNT",
sandbox: true
})
]
});
3. Test Your Integration
- Python
- TypeScript
@mcp.tool()
@price(amount=5.00, currency="EUR")
def test_adyen_payment(product: str, ctx: Context) -> str:
"""Test Adyen payment integration"""
return f"Adyen payment successful for: {product}"
mcp.tool(
"test_adyen_payment",
{
description: "Test Adyen payment integration",
inputSchema: { product: z.string() },
price: { amount: 5.00, currency: "EUR" },
},
async ({ product }, ctx) => {
return { content: [{ type: "text", text: `Adyen payment successful for: ${product}` }] };
}
);
Configuration Options
providers = {
"adyen": {
"api_key": "YOUR_API_KEY", # Required
"merchant_account": "YOUR_MERCHANT_ACCOUNT", # Required
"sandbox": True, # True for test environment
}
}
Testing
Test Environment
Adyen provides comprehensive testing with all configuration methods:
# Config mapping
providers = {
"adyen": {
"apiKey": "YOUR_TEST_API_KEY",
"merchant_account": "YOUR_TEST_MERCHANT_ACCOUNT",
"sandbox": True
}
}
# Provider instance
from paymcp.providers import AdyenProvider
providers = [
AdyenProvider(
api_key="YOUR_TEST_API_KEY",
merchant_account="YOUR_TEST_MERCHANT_ACCOUNT",
sandbox=True
)
]
Test Cards
| Card Number | Result |
|---|---|
4111 1111 1111 1111 | Visa - Authorized |
4000 0000 0000 0002 | Visa - Declined |
5555 5555 5555 4444 | Mastercard - Authorized |
Support
- Adyen Documentation: docs.adyen.com
- PayMCP Issues: GitHub Issues
- Adyen Support: 24/7 technical support via Customer Area