EnKash Developer Portal
Home
Home
Login
  1. Split Settlement
  • Back to home
  • APIs - Payment Gateway
  • Authorization
    • Generate Authorization Token
    • Payment Modes Details
  • Order
    • Create Order
    • Get Order Status
    • Get Order By Merchant Order Id
    • Get BNPL Payment Methods
    • Get Dynamic UPI QR
    • UPI Intent Links
    • Search Order
  • Payment
    • Submit Payment Request
    • Get Transaction Status
    • Validate OTP
    • Resend OTP
    • Payment Notify Request
    • Get UPI Transaction Status
    • Verify UPI VPA
    • Search Transaction
  • Refund
    • Refund
    • Get Refund Transaction Status
    • Refund Webhook Request
  • Settlement
    • Get Settlement Payout By ID
    • Search Settlement Payouts
  • Split Settlement
    • Create Split Settlement Account
      POST
    • Update Split Settlement Account
      PATCH
    • Get All Split Settlement Account
      GET
    • Deactivate Split Settlement Account
      PATCH
    • Activate Split Settlement Account
      PATCH
    • Submit Payment with Split Details
      POST
    • Edit Or Deferred Split Settlement
      POST
    • Get IntentLink/QrCode with Split details
      POST
  • E-Commerce Plugins
  • UPI QR
    • Create UPI QR
    • Get UPI QR
    • Search UPI QR
    • Create Customer
    • Search Customer
    • Cancel UPI QR
  • UPI Autopay
    • Create UPI Mandate
    • Update UPI Mandate
    • Revoke UPI Mandate
    • Get UPI Mandate
    • UPI Mandate Callback
    • Mandate Pre-debit Notification
    • Execute Mandate Debit
    • Mandate Debit Callback
  • Payment Links
    • Payment Link APIs
    • Create Payment Link
    • Get Payment Link Details
    • Delete Payment Link
    • Webhook Request
  • E-Collect
    • Create Virtual Account
    • View Virtual Account by Id
    • Update Virtual Account
    • View Virtual Account by Account Number
    • Search Virtual Account
    • Search Transactions
    • View Virtual Account by Customer Reference Id
  1. Split Settlement

Get IntentLink/QrCode with Split details

POST
/api/v0/order/{orderId}/upi
Initialises a UPI payment session for a given order. Returns both the UPI intent deep-links (GPay, PhonePe, Paytm, generic UPI) and a dynamic QR code in a single call. Optionally accepts split-settlement details that will be stored and automatically applied when the payment is captured via notify/enquiry.

Request

Path Params

Header Params

Body Params application/jsonRequired

Examples
{
  "splitSettlement": {
    "amountSplitType": "FLAT",
    "splitSettlementDetails": [
      {
        "splitAccountId": "SA001",
        "value": 300.00
      },
      {
        "splitAccountId": "SA002",
        "value": 200.00
      }
    ]
  }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location 'https://olympus-pg-uat.enkash.in/api/v0/order//upi' \
--header 'Authorization: Bearer <token>' \
--header 'merchantAccessKey: <key>' \
--header 'Content-Type: application/json' \
--data '{
  "splitSettlement": {
    "amountSplitType": "FLAT",
    "splitSettlementDetails": [
      {
        "splitAccountId": "SA001",
        "value": 300.00
      },
      {
        "splitAccountId": "SA002",
        "value": 200.00
      }
    ]
  }
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
  "response_code": 0,
  "response_message": "SUCCESS",
  "payload": {
    "transactionId": "EKP20240601123456789",
    "intentLinkDetail": {
      "gpay": "gpay://upi/pay?pa=merchant%40bank&pn=MerchantName&am=500.00&cu=INR&tid=EKP20240601123456789",
      "phonepe": "phonepe://pay?pa=merchant%40bank&pn=MerchantName&am=500.00&cu=INR&tid=EKP20240601123456789",
      "paytm": "paytmmp://pay?pa=merchant%40bank&pn=MerchantName&am=500.00&cu=INR&tid=EKP20240601123456789",
      "upi": "upi://pay?pa=merchant%40bank&pn=MerchantName&am=500.00&cu=INR&tid=EKP20240601123456789"
    },
    "qrCode": {
      "qrCode": "iVBORw0KGgoAAAANSUhEUgAA...<base64-encoded PNG>",
      "qrUrl": "upi://pay?pa=merchant%40bank&pn=MerchantName&am=500.00&cu=INR&tid=EKP20240601123456789",
      "qrUrlType": "PAY"
    }
  }
}
🟠400Bad Request
Modified at 2026-06-12 04:17:06
Previous
Edit Or Deferred Split Settlement
Next
UPI QR
Built with