Digiway
Developers

API Documentation

Everything you need to integrate Digiway's payment APIs. RESTful endpoints, SDKs in 8+ languages, and detailed guides to get you going fast.

Developer Experience

Built by developers, for developers

RESTful APIs

Clean, well-documented REST APIs with consistent response formats, pagination, and error handling.

SDKs in 8+ Languages

Official SDKs for Node.js, Python, Java, PHP, Go, Ruby, .NET, and more with auto-generated types.

Real-time Webhooks

Configurable webhooks for payment events, settlement notifications, and dispute alerts with retry logic.

Sandbox Environment

Full sandbox with test API keys, simulated bank responses, and pre-configured test scenarios.

OAuth 2.0 & API Keys

Secure authentication with API keys for server-side and OAuth 2.0 for platform integrations.

OpenAPI Spec

Complete OpenAPI 3.0 specification downloadable for code generation and API testing tools.

Create a Payment

Get started with a single API call. Create payments in your preferred language.

curl
curl -X POST https://api.digiway.in/v1/payments \
  -H "Authorization: Bearer dg_live_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 50000,
    "currency": "INR",
    "receipt": "order_receipt_001",
    "notes": {
      "customer_name": "Rahul Sharma",
      "order_id": "ORD-2026-001"
    }
  }'

Response

json
{
  "id": "pay_1a2b3c4d5e6f",
  "entity": "payment",
  "amount": 50000,
  "currency": "INR",
  "status": "created",
  "method": null,
  "receipt": "order_receipt_001",
  "created_at": 1720483200,
  "notes": {
    "customer_name": "Rahul Sharma",
    "order_id": "ORD-2026-001"
  }
}

Core Endpoints

POST/v1/payments
GET/v1/payments/:id
POST/v1/refunds
POST/v1/payouts
GET/v1/settlements
POST/v1/payment-links

Quick Start in 3 Steps

1

Get Your API Keys

Sign up and generate your test API keys from the dashboard. No credit card required for sandbox access.

2

Make Your First API Call

Use our quick-start guide to create your first payment in under 5 minutes with any of our SDKs.

3

Go Live

Complete integration testing in sandbox, submit your go-live request, and swap to production API keys.

Start Building Today

Join 2,000+ developers building on Digiway's payment infrastructure.