Build with FlexPay247

A clean, RESTful API designed for developers. Comprehensive documentation, sandbox testing, and SDKs to get you processing payments fast.

Quick Start

Create a payment in just a few lines of code.

// Create a payment
POST /v1/payments

{
  "amount": 5000,
  "currency": "USD",
  "payment_method": "card",
  "card": {
    "number": "4242424242424242",
    "exp_month": 12,
    "exp_year": 2027,
    "cvv": "123"
  },
  "customer": {
    "email": "customer@example.com"
  },
  "return_url": "https://yoursite.com/payment/complete"
}

RESTful API

JSON-based REST API with predictable resource-oriented URLs. HTTPS required, API key authentication.

API Reference →

Webhooks

Real-time event notifications for payment status changes, settlements, and chargebacks. HMAC-SHA256 signed.

Webhook Guide →

Sandbox Environment

Full sandbox with test credentials. Simulate successful payments, declines, 3DS flows, and edge cases before going live.

Sandbox Docs →

SDKs & Libraries

Official SDKs for Node.js, Python, PHP, Ruby, Java, and .NET. Community libraries for Go and Rust.

View SDKs →

Everything you need to process payments

Payments

Authorize, capture, void, and refund. Support for partial captures and multi-currency pricing.

Recurring Billing

Subscriptions, installments, and merchant-initiated transactions with stored credentials.

Tokenization

PCI-compliant card vaulting. Replace sensitive data with secure tokens for repeat purchases.

3D Secure

Full 3DS2 support with smart exemption engine. Reduce fraud without killing conversion.

Reporting API

Query transactions, settlements, and balances programmatically. Export to CSV/JSON.

Webhooks

Subscribe to 20+ event types. Automatic retries with exponential backoff. Event log for debugging.

Ready to integrate?

Get sandbox credentials and start building in minutes.