- EnKash Developer Portal Overview
- Payment Gateway
- Payment Gateway Overview
- Payment Gateway Sign Up
- Payment Methods
- Supported Integrations
- Payment Gateway APIs
- Web Integration
- Server to Server Integration
- Test Card Details
- Authorization
- Orders
- Payments
- Refunds
- Settlements
- Split Settlements
- E-Commerce Plugins
- Payment Links
- Payment Button
- Qr Code
- UPI Mandate
- Payment Links
- Bharat Connect (BBPS)
- About Bharat Connect
- B2B Invoicing
- Invoice
- Payment
- Financing
- Onboarding
- cdNote
- Purchase Order
- webhook-invoice
- webhook-payments
- webhook-business-onboarding
- webhook-financing
- webhook-cdNote
- Webhook Purchase Order
- Webhook Send Purchase Order Request
- Webhook Send Purchase Order Response
- Webhook Confirm Purchase Order Request
- Webhook Confirm Purchase Order Response
- Webhook Edit Purchase Order Request
- Webhook Edit Purchase Order Response
- Webhook Status Change Purchase Order Request
- Webhook Status Change Purchase Order Response
- Bill Payments
- Payouts
- Accounts Payable Management Tool
- Account Receivable
- Expense Management
- Loyalty
- Card Management
- Verification Suite
Submit Payment with Split Details
POST
/api/v0/payment/submit
order-controller
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
cardNumber
stringÂ
optional
cvv
stringÂ
optional
expiry
stringÂ
optional
bankCode
stringÂ
optional
bnplPaymentOptionId
stringÂ
optional
vpa
stringÂ
optional
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 2024-11-22 05:21:25