- 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
Create Order
Developing
POST
/api/v0/partner/create-order
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
Content-Type
stringÂ
required
Example:
application/json
Body Params application/json
denomination
integerÂ
required
orderReferenceId
stringÂ
required
productCatalogId
stringÂ
required
quantity
integerÂ
required
Example
{
"denomination": 0,
"orderReferenceId": "string",
"productCatalogId": "string",
"quantity": 0
}
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 'https://test.your-api-server.com/api/v0/partner/create-order' \
--header 'Content-Type: application/json' \
--data-raw '{
"denomination": 0,
"orderReferenceId": "string",
"productCatalogId": "string",
"quantity": 0
}'
Responses
🟠401Success
application/json
Body
payload
stringÂ
required
errorResponse
objectÂ
required
timestamp
stringÂ
required
requestId
stringÂ
required
errorType
stringÂ
required
errorMessage
stringÂ
required
response_code
integerÂ
required
response_message
stringÂ
required
Example
{
"payload": "User does not have adequate authority",
"errorResponse": {
"timestamp": "2024-07-11 05:57:19",
"requestId": "D8C06486E01FD4071CEB10F177B8AFE8",
"errorType": "UNAUTHORIZED",
"errorMessage": "User does not have adequate authority"
},
"response_code": 1,
"response_message": "Failure"
}
Modified at 2024-09-02 11:58:39