Enkash Developer Portal
Home
Home
Login
  1. Split Settlement
  • Back to home
  • Payment Gateway APIs
  • Authorisation
    • Get Authorization Token
  • Order
    • Create Order
    • Get Order Status
    • Get Order By Merchant Order Id
    • Get BNPL Payment Methods
    • Get Dynamic UPI QR
    • UPI Intent Links
  • Payment
    • Submit Payment Request
    • Get Transaction Status
    • Validate OTP
    • Resend OTP
    • Payment Notify Request
    • Get UPI Transaction Status
    • Verify UPI VPA
  • Refund
    • Refund
  • Settlement
    • Get Settlement Payout By ID
    • Search Settlement Payouts
  • Split Settlement
    • Create Split Settlement Account
      POST
    • Update Split Settlement Account
      POST
    • 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
  • 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
  1. Split Settlement

Submit Payment with Split Details

POST
/api/v0/payment/submit
📌
Use this API to initiate a payment while specifying split rules, so funds are automatically distributed across multiple accounts in a single transaction.

Request

Header Params
Authorization
string 
required
merchantAccessKey
string 
required
Body Params application/json
orderId
string 
required
paymentDetail
object (PaymentDetailDTO) 
optional
paymentMode
enum<string>  | enum<null> 
required
Allowed values:
NET_BANKINGUPICREDIT_CARDDEBIT_CARDPREPAID_CARDPAY_LATERWALLETCORPORATE_CARD
cardHolderName
string 
optional
Required for Cards Payment Mode
cardNumber
string 
optional
Required for Cards Payment Mode, Value to be Base64 encode, Optional if cardTokenPan passed
cvv
string 
optional
Required for Cards Payment Mode, Value to be Base64 encode, Required if cardNumber passed
expiry
string 
optional
Required for Cards Payment Mode, Value to be Base64 encode, Required if cardNumber passed
bankCode
string 
optional
Required for NetBanking, BNPL, Wallet Payment Modes
bnplPaymentOptionId
string 
optional
Required for BNPL Payment Mode
vpa
string 
optional
Required for UPI Payment Mode
cardTokenPan
string 
optional
Required for Cards Payment Mode, Optional if cardNumber passed
tokenCryptogram
string 
optional
Required for Cards Payment Mode, Required if cardTokenPan passed
tokenRequestorId
string 
optional
Required for Cards Payment Mode, Required if cardTokenPan passed
tokenExpiry
string 
optional
Required for Cards Payment Mode, Required if cardTokenPan passed
splitSettlement
object (SplitSettlementDTO) 
required
amountSplitType
enum<string> 
required
Allowed values:
FLATPERCENTAGE
splitSettlementDetails
array[object (SplitSettlementDetail) {2}] 
required
Example
{
  "orderId": "string",
  "paymentDetail": {
    "paymentMode": "NET_BANKING",
    "cardHolderName": "string",
    "cardNumber": "string",
    "cvv": "string",
    "expiry": "string",
    "bankCode": "string",
    "bnplPaymentOptionId": "string",
    "vpa": "string"
  }
}

Request 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 --location --request POST '/api/v0/payment/submit' \
--header 'Authorization;' \
--header 'merchantAccessKey;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "orderId": "string",
  "paymentDetail": {
    "paymentMode": "NET_BANKING",
    "cardHolderName": "string",
    "cardNumber": "string",
    "cvv": "string",
    "expiry": "string",
    "bankCode": "string",
    "bnplPaymentOptionId": "string",
    "vpa": "string"
  }
}'

Responses

🟢200OK
application/json
Body
response_code
integer <int32>
optional
response_message
string 
optional
payload
object (OrderPaymentSubmitResponse) 
optional
redirectionUrl
string 
optional
transactionId
string 
optional
Example
{
    "response_code": 0,
    "response_message": "string",
    "payload": {
        "redirectionUrl": "string",
        "transactionId": "string"
    }
}
Modified at 2025-07-05 11:54:45
Previous
Activate Split Settlement Account
Next
Edit Or Deferred Split Settlement
Built with