- EnKash APIs
- Payment Gateway
- Payment Gateway Overview
- Payment Gateway Sign Up
- Payment Methods
- Supported Integrations
- Payment APIs
- Test Card Details
- Authorization
- Orders
- Payments
- Refunds
- Payment Links
- Settlements
- QR Generation API
- Payment Button
- Qr Code
- Payouts
- Account Payables
- Account Receivable
- Loyalty
- Loyalty Overview
- Sign Up - Loyalty
- Use Cases
- Reward APIs
- Authorization
- Employee R&R
- Channel Incentives
- brand loyalty
- Voucher Processing
- Voucher Catalog
- Expense Management
- Corporate Cards
- Verification Suite
- Payout Data Apis
- Beneficiary Apis
- tiny-url-controller
- test-controller
- company-category-limits-controller
- bank-holiday-controller
- Authentication Apis
- utility-payment-controller-v-1
- user-controller-v-1
- Payout Apis
- gst-payment-controller
- biller-controller-v-1
- Virtual Account Apis
- Vendor Payment Entry Controller
- Utm Based Config Apis
- User Apis
- User Group Apis
- axis-nodal-controller-v-1
- icici-nodal-controller
- axis-nodal-controller
- subscription-controller
- Sign Up API's
- sftp-detail-controller
- sanction-screening-controller
- risk-check-controller
- Reward Page Notification Apis
- refund-transaction-controller
- purchase-order-controller
- Pricing Plan
- Pre Qualification Apis
- Pg Balance Apis
- Payout Transaction Apis
- payment-request-controller
- Payment Gateway Apis
- pay-by-link-controller
- Partner Integration Apis
- outstanding-amount-controller
- otp-controller
- OnBoarding Config Apis
- Nudge Apis
- Multi Factor Auth Apis
- mail-callback-controller
- M2P Apis
- anchor-partner-api-controller
- amazon-sn-s-notification-controller
- Karza Controller
- Instant Payout Apis
- ICICI Connected Banking Apis
- gstin-data-controller
- Generate Pdf APIs
- fin-bit-controller
- File Store Apis
- file-transfer-controller
- feedback-controller
- Fd Payment Histories
- Favorite Api
- Expense Product Apis
- equifax-controller
- Encryption Apis
- early-payment-offer-controller
- Document
- digital-signature-controller
- digital-locker-controller
- Credit Provider Risk Check API
- credit-provider-detail-controller
- Config Apis
- company-pg-controller
- company-branch-code-controller
- communication-controller
- Chat Bot Apis
- card-token-controller
- Card Product Master Apis
- card-product-controller
- Card Application Memo Apis
- Card Application Apis
- CardAccountTenant Apis
- Card Account Addition Mapping Apis
- Cam Automation Apis
- bulk-file-detail-controller
- bulk-file-data-controller
- Bill Payment Apis
- Company Biller Apis
- Beneficiary Detail Apis
- Bbps Complaint Management Apis
- Bank IFSC
- Bank Detail Apis
- Bank Card Controller
- AWS Secret Manager Properties Apis
- Authority Apis
- Anchor Detail Apis
- penny-drop-controller
- Mobile Otp Apis
- Mobile Authentication Apis
- oauth-client-detail-controller
- url-generator-controller
- Health Check Apis
- Single Sign On Apis
- Bulk Upload Sample File Apis
- credit-policy-controller
- Payout Logs
- Help Apis
- Geo Location Controller
Get Order Details
Developing
POST
/api/v0/order/orderDetails
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
authorization
stringÂ
required
Example:
Bearer tYte80xqTDUodXslo2ShHle_eXo
Content-Type
stringÂ
required
Example:
application/json
Body Params application/json
orderId
stringÂ
required
Example
{ "orderId": "OR631764TS4UC"}
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/order/orderDetails' \
--header 'authorization: Bearer tYte80xqTDUodXslo2ShHle_eXo' \
--header 'Content-Type: application/json' \
--data-raw '{ "orderId": "OR631764TS4UC"}'
Responses
🟢200Success
application/json
Body
payload
objectÂ
required
orderId
stringÂ
required
transactionId
stringÂ
required
paidVia
stringÂ
required
totalAmount
integerÂ
required
orderAmount
integerÂ
required
savings
integerÂ
required
createdOn
stringÂ
required
surcharge
integerÂ
required
surchargeGst
integerÂ
required
enableDownload
booleanÂ
required
enableRefresh
booleanÂ
required
productDetails
array [object {15}]Â
required
coinsUsed
integerÂ
required
status
stringÂ
required
response_code
integerÂ
required
response_message
stringÂ
required
Example
{
"payload": {
"orderId": "OR130130HKQXN",
"transactionId": "EK50710Y8AA",
"paidVia": "anXXXXXXXXX@okicici",
"totalAmount": 50,
"orderAmount": 48.25,
"paidAmount": 48.25,
"savings": 1.75,
"createdOn": "2023-11-24T18:07:09",
"surcharge": 0,
"surchargeGst": 0,
"pgName": "Enkash_PGM",
"txnMessage": "Transaction completed.",
"enableDownload": true,
"enableRefresh": false,
"productDetails": [
{
"orderDetailsId": "OD163185825K5N5J",
"productCatalogId": "PC5037883073U90K",
"productLogoUrl": "https://image.enkash.in/VOUCHER/IMAGES/amazon_pay_gift_card.png",
"totalQuantity": 1,
"sellAmount": 48.25,
"savings": 1.75,
"name": "Amazon Pay Gift Card",
"description": "Amazon Pay Gift Cards can be seamlessly converted to Amazon Pay balance. Now customers can use their amazon pay balance to shop across 10cr+ products on Amazon, recharge their mobile numbers & purchase vouchers of 150+ brands on Amazon except apps, certain global store products and other Amazon Pay gift cards. Not only this, Amazon Pay balance can be used to pay on 3rd party merchants like Redbus, Bookmyshow, Faasos Fresh menu, Housejoy.in etc.",
"termsAndCondition": "<a href=\"http://amzn.to/21kt4iE\" target=\"http://amzn.to/21kt4iE\"> http://amzn.to/21kt4iE </a> <br> <br> Amazon Gift Cards (\"GCs\") are issued by Pine Labs under the brand name of Qwikcilver. <br> <strong> - </strong> Credit and Debit Cards issued outside India cannot be used to purchase Amazon.in Gift Cards.<br/> <strong> - </strong> To add your GC to your Amazon Pay balance, visit <a href=\"http://www.amazon.in/addgiftcard\" target=\"http://amazon.in/addgiftcard\"> www.amazon.in/addgiftcard </a> <br/> <strong> - </strong> Beneficiary can apply the 14 digit code (under scratch card) on <a href=\"http://www.amazon.in/addgiftcard\" target=\"http://amazon.in/addgiftcard\"> www.amazon.in/addgiftcard </a> and add the gift card balance in his/her Amazon.in account. This balance gets automatically applied at the time of next purchase. There is no cap on number of gift cards that can be added to an account.<br/> <strong> - </strong> Amazon Pay balance is a sum of all balances associated with the GCs in your Amazon.in account.<br/> <strong> - </strong> Amazon Pay balance are redeemable across all products on Amazon.in except apps, certain global store products and other Amazon.in gift cards.<br/> <strong> - </strong> Amazon Pay balance must be used only towards the purchase of eligible products on <a href=\"http://amazon.in\" target=\"http://amazon.in\">amazon.in</a>.<br/> <strong> - </strong> The GCs, including any unused Amazon Pay balance, expire one year from the date of issuance of the GC.<br/> <strong> - </strong> GCs cannot be transferred for value or redeemed for the cash.<br/> <strong> - </strong> Qwikcilver, Amazon Seller Service Private Limited (\"Amazon\") or their affiliates are not responsible if a GC is lost, stolen, destroyed or used without permission.<br/> <strong> - </strong> For Complete terms and conditions, see <a href=\"http://www.amazon.in/giftcardtnc\" target=\"http://www.amazon.in/giftcardtnc\"> www.amazon.in/giftcardtnc </a><br/> <strong> - </strong> Amazon.in logo/trademark is an IP of Amazon or its affiliates and the Qwikcilver trademark/logo is an IP of Qwikcilver.<br/> <strong> - </strong> To redeem your GC, visit <a href=\"http://www.amazon.in/addgiftcard\" target=\"http://www.amazon.in/addgiftcard\"> www.amazon.in/addgiftcard </a> <br/> <strong> - </strong> Certain merchants may provide you services only on the pre-condition that you allow us to hold balances in your Amazon Pay balance: Gift Card till the service completion by the merchant. However, your prior consent would be taken before holding such balances. In such cases, you agree and authorize us to: <br> <strong> (i) </strong> hold your balance until service completion; and <br> <br> <strong> (ii) </strong> fail the transaction if your balance in the Amazon Pay Gift Card is less than the actual amount charged by the merchant at the end of the services.<br/><br> You may request for revalidation of any expired Gift Cards. Upon receipt of such request, the Gift Card may be revalidated after due verification and subject to applicable terms and conditions.",
"howToRedeem": "<strong> Redeem your gift card: </strong> To add our GC to your Amazon Pay balance, Visit <a href=\"http://amazon.in/addgiftcard\" target=\"http://amazon.in/addgiftcard\">www.amazon.in/addgiftcard</a> . Alternatively, you can redeem by entering Gift Card Code at Amazon Pay Add Gift Card through the app.<br/> <strong>Start Shopping:</strong> Choose from over 10cr + products on Amazon.in and selected third party merchants.<br/> <strong> Pay using balance:</strong> Gift cards added to your Amazon Pay balance will be available as a payment method during checkout. Any unused balance will remain in your Amazon account and can be used for subsequent purchases.<br/> To check Gift Card balance or activation status of your card, please visit <a href=\"https://amazonbal.qwikcilver.com\" target=\"https://amazonbal.qwikcilver.com\">http://amazonbal.Pine Labs.com</a><br/> Your gift card balance can be selected as a payment option during the checkout process. Alternatively, you can enter the gift card code during checkout.",
"category": "Ecommerce",
"aggregator": "QWIK_CILVER_AMAZON",
"details": [
{
"orderDetailsItemId": "ODI313159123VM9CS",
"mrp": 50,
"discount": 3.5,
"savings": 1.75,
"paidAmount": 48.25,
"code": "6014868841594879",
"pin": "5EVQ-7Y3TRZ-9CAJ",
"expiryDate": "2024-11-22 18:30:00",
"pdfUrl": "https://s3.ap-south-1.amazonaws.com/image.enkash.in/htmlToPdf_output/RWD12490GFLO_2023_11_24_12_38_48.pdf"
}
],
"qrCode": "https://image.enkash.in/VOUCHER/PRODUCT/IMAGES/Amazon_Pay_Gift_Card_PC5037883073U90K.png",
"aggregatorProductId": "EGCGBAPYNEHAT001",
"status": "SUCCESS"
}
],
"coinsUsed": 0,
"status": "SUCCESS"
},
"response_code": 0,
"response_message": "Success"
}