Install our SDK and make your first API call
npm install acquirerflow-nodeconst flow = new AcquirerFlow({
apiKey: process.env.FLOW_API_KEY
});const payment = await flow.payments.create({
amount: 2000,
currency: 'usd',
paymentMethod: {
type: 'card',
card: {
number: '4242424242424242',
expMonth: 12,
expYear: 2025,
cvc: '123'
}
},
routing: {
strategy: 'cost_optimized', // or 'success_rate', 'latency'
fallback: true
}
});
console.log(payment.id); // pm_abc123Native libraries for your favorite language
acquirerflow-node
acquirerflow-python
acquirerflow-ruby
acquirerflow-php
acquirerflow-java
acquirerflow-go
acquirerflow-dotnet
acquirerflow-rust
Built for speed, reliability, and ease of use
Average response time under 200ms globally
PCI DSS Level 1 compliant with end-to-end encryption
Full TypeScript support with auto-generated types
Explore our comprehensive API documentation
/v1/payments
/v1/refunds
/v1/customers
/v1/payment_methods
/v1/webhooks
/v1/analytics
Step-by-step tutorials for common scenarios