EnKash API Document
HomePayment GatewayPayoutsCreate Account
HomePayment GatewayPayoutsCreate Account
Login
  1. Voucher Processing
  • EnKash APIs
  • Payment Gateway
    • Payment Gateway Overview
    • Payment Gateway Sign Up
    • Payment Methods
    • Supported Integrations
    • Payment APIs
    • Test Card Details
    • Authorization
      • About Authorization
      • Get Authorization Token
    • Orders
      • Order Overview
      • About Order
      • Create Order
      • Get Order Status
      • Get BNPL Payment Modes
    • Payments
      • Payment Overview
      • About Payment
      • Get Transaction Status
      • Submit Payment Detail
    • Refunds
      • About Refund
      • Refund
    • Payment Links
      • Upi Intent Link Detail
    • Settlements
      • About Settlement
      • Get Settlement Payout By Id
      • Search Settlement Payouts
    • QR Generation API
      • Get Dynamic QR Code
    • Payment Button
    • Qr Code
      • Create QR
      • Create QR Customer
      • Search QR Code
      • Get QR Code
      • Cancel QR Code
  • Payouts
    • Payouts Overview
    • Payouts Sign Up
    • Payout Methods
    • Payouts Integration Steps
    • Ecrypting and Decrypting Payload
    • Get Authentication Token
      • Get Authentication Token
    • Beneficiary Apis
      • Create Beneficiary
      • Search Beneficiary
      • Delete Beneficiary
    • Transfer Apis
      • Create Payout
      • Search Payouts
      • Create Batch Payout
    • Payout Account Apis
      • Get Source Bank Account Details
      • Add Source Bank Account
      • Get Balance
  • Account Payables
    • Accounts Payable Overview
    • Vendor Management
      • Beneficiary Apis
        • Update Beneficiary
        • Create Beneficiary
        • Update Bulk Beneficiary
        • Create Bulk Beneficiary
        • Get Beneficiaries V1
        • Get Beneficiaries
        • Change beneficiary status
        • Get Beneficiary
    • Invoice Management
      • Payout Apis
        • Search Payouts V1
        • initiate
        • validateInvoices
        • bulkCreatePayout
        • Create Payout
        • Update Payouts
        • Search Payouts
        • createBulkPayoutForPartnerIntegration
        • Update Bulk Payouts
        • Update Approval Status
        • Get Invoice Data
        • Delete Payout
  • Account Receivable
    • Accounts Receivable Overview
    • Get Authentication Token Copy
      • Get Authentication Token
    • Customer Management
      • Customer Apis
        • createCustomer
        • Activate customer
        • createBulkCustomer
        • bulkUpdate
        • Deactivate customer
        • searchCustomer
        • deleteCustomerByCustomerId
        • updateCustomer
    • Customer Contacts Management
      • Customer Apis
        • getCustomerContactDetails
    • Invoice Management
      • invoice-controller
        • createInvoice
        • invoiceBulkUpload
        • Dispatch Invoice Collection
        • Delete Invoice Collection
        • searchCollectionInvoices
        • getInvoice
        • updateInvoice
    • Payment Reminders
      • customer-reminder-controller
        • createCustomerReminder
        • getCustomerReminders
        • getCustomerReminder
        • deleteReminder
        • updateCustomerReminder
  • Loyalty
    • Loyalty Overview
    • Sign Up - Loyalty
    • Use Cases
    • Reward APIs
    • Authorization
      • SSO LOGIN
      • Client Authentication
    • Employee R&R
      • Create And Allocate point
      • Get Transaction details
      • Get User Details
    • Channel Incentives
      • Create And Allocate point
      • Get Transaction details
      • Get User Details
    • brand loyalty
      • Get Coin Event
      • Create Coin Event Configuration
      • Update Coin Event Configuration
      • Allocate Coins to User
    • Voucher Processing
      • Get Cart for User
        GET
      • Add to cart
        POST
      • Update Cart
        PATCH
      • Order Search
        POST
      • Get Order Details
        POST
      • Create Order
        POST
    • Voucher Catalog
      • Search Catalog
      • Get Product Catalog Details
      • Get Product Configs (Denominations)
  • Expense Management
    • Expense Management Overview
    • Sign Up - Expense Management
  • Corporate Cards
    • Corporate Cards Overview
    • Sign Up - Corporate Cards
    • Corporate Cards Integration Steps
    • Authorization
      • Get Authorization Token
    • Meal Cards
      • Card APIs
        • Create Card
        • View Card
        • Set Pin Card
        • Search Cards
        • Replace Card
        • Physical Card
        • Block Card
        • Update Card balance
      • CardControls
        • Update Card Velocity Rules
        • Get Card Velocity Rules
      • Transactions
        • Get Card Transactions
      • Account
        • Get Card Account
        • Create Card Account
      • Generate Otp Card
    • Fuel Cards
      • Card APIs
        • Create Card
        • Search Cards
        • View Card
        • Block Card
        • Physical Card
        • Set Pin Card
        • Replace Card
        • Update Card balance
      • CardControls
        • Update Card Velocity Rules
        • Get Card Velocity Rules
      • Transactions
        • Get Card Transactions
      • Account
        • Get Card Account
        • Create Card Account
      • Generate Otp Card
  • Verification Suite
    • Verification Suite Overview
    • Bank Account Verification
    • GSTN Verification
    • PAN Verification
    • UPI(VPA) Verification
  • 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
  1. Voucher Processing

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
Master Order Id
transactionId
string 
required
Unique Tranasction ID
paidVia
string 
required
paid via which instrument
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"
}
Previous
Order Search
Next
Create Order
Built with