API v2.4 — Now with real-time webhooks & batch payouts

Build on FastKesh.
Power Payments Globally.

Access unified APIs, SDKs, and infrastructure to integrate local payment methods across 180+ countries through a single platform.

Developer Modules

Explore the FastKesh API

Online Payments API

Integrate card payments and local methods with a single API. Supports 180+ currencies with smart routing and real-time authorization.

Visa, Mastercard, Amex & local cards
3D Secure 2.0 built-in
Smart routing for max approval rates
Real-time webhook notifications
Idempotency keys for safe retries
POST /v1/paymentsGET /v1/payments/:idPOST /v1/payments/:id/refund
View Full Docs →
CURL
curl -X POST https://api.fastkesh.io/v1/payments \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 9900,
    "currency": "USD",
    "payment_method": {
      "type": "card",
      "token": "tok_..."
    },
    "description": "Pro Plan Subscription"
  }'
Environments

Test Before You Go Live

Sandbox

Development Environment

Simulate payment flows safely without any real money moving.

Test API keys with sk_test_ prefix
Mock success & failure scenarios
Debug webhook event delivery
Full API parity with production
Test card & bank simulators
Production

Live Environment

Process real payments with full monitoring and settlement.

Live keys with sk_live_ prefix
Real payment processing
Real-time settlement tracking
Full analytics & audit trails
24/7 infrastructure monitoring
Integration Process

Ship Payments in 5 Simple Steps

1

Create Account

Register your merchant profile and complete KYC in minutes.

2

Get API Keys

Generate sandbox and production credentials from your dashboard.

3

Install SDK

Add our SDK with a single command. Available for 6+ languages.

4

Test in Sandbox

Simulate transactions, trigger webhooks, and validate every flow.

5

Go Live

Switch to production keys and start processing real payments.

Webhooks

Real-Time Event Notifications

FastKesh sends HTTPS POST calls to your server for every key payment lifecycle event.

Webhook Payload
{
  "id": "evt_1abc2def",
  "type": "payment.succeeded",
  "created": 1716825600,
  "data": {
    "object": "payment",
    "id": "pay_9xyz456",
    "amount": 9900,
    "currency": "USD",
    "status": "succeeded"
  }
}
Webhook Docs →
Events We Send
payment.succeeded
payment.failed
payment.refunded
payment.disputed
payout.initiated
payout.completed
payout.failed
subscription.created
subscription.cancelled
invoice.paid
fraud.alert
customer.created
SDKs & Libraries

Build in Your Language of Choice

🟢

Node.js / TypeScript

Full TypeScript support, Promise-based API.

npm install fastkesh
🐍

Python

Async support, Pydantic models, full type hints.

pip install fastkesh
🐘

PHP

PSR-7 compatible, Laravel-ready.

composer require fastkesh/php
☕

Java

Maven & Gradle support, Spring Boot ready.

implementation 'io.fastkesh:sdk'
💎

Ruby

Rails gem available, ActiveRecord helpers.

gem install fastkesh
📱

React Native

Native payment sheets, iOS & Android.

npm install @fastkesh/react-native
Get Started

Start Building Today

Create your free account and start accepting payments in minutes.

Create Free AccountRead the Docs