Enkash Developer Portal
Home
Home
Login
  1. Redemption
  • Back to home
  • Reward APIs
  • Token APIs
    • Authentication
      POST
    • Single Sign On (SSO)
      POST
  • Reward Allocation
    • Create And Allocate Points
      POST
    • Bulk Create And Allocate Rewards
      POST
    • Get Reward Account Details
      POST
    • Get Reward Transaction Details
      POST
    • Get User Details
      POST
    • Get User Card Details
      POST
  • Incentive Allocation
    • Incentive Create And Allocation
      POST
    • Get Incentive Transaction details
      POST
    • Get User Details
      POST
  • Redemption
    • User Authentication
      POST
    • Get Cart for User
      GET
    • Search Catalog
      POST
    • Get Product Catalog Details
      GET
    • Get Product Configs (Denominations)
      GET
    • Add to cart
      POST
    • Update Cart
      PATCH
    • Create Order
      POST
    • Order Search
      POST
    • create order
      POST
    • Fetch Order Info by Partner order Reference id
      POST
  • Point Management
    • Overview
    • Create Event
      POST
    • Get Event
      GET
    • Update Event
      PATCH
    • Allocate Coins
      POST
    • Get Balance
      GET
  1. Redemption

Fetch Order Info by Partner order Reference id

Developing
POST
/api/v0/order/orderDetails
This API faciltates fetching order details such as voucher code, pin and other important details.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Example
{ "orderId": "OR631764TS4UC"}

Request Code 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 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{ "orderId": "OR631764TS4UC"}'

Responses

🟢200Success
application/json
Body

Example
{
  "paylod" : {
  "orderId": "12345",
  "paymentStatus": "SUCCESS",
  "orderStatus": "SUCCESS",
  "totalQuantity": 10,
  "totalAmount": 5000.00,
  "orderAmount": 4500.00,
  "paidAmount": 4500.00,
  "partnerOrderReferenceId": "REF123456789",
  "voucherDetailsList": [
    {
      "cardNumber": "1234567890123456",
      "pin": "1234",
      "expiryDate": "2025-12-31T23:59:59"
    },
    {
      "cardNumber": "6543210987654321",
      "pin": "5678",
      "expiryDate": "2026-06-30T23:59:59"
    }
  ]
  },
  "response_message": "Success",
  "response_code": "0"
}
Modified at 2025-01-25 09:51:56
Previous
create order
Next
Overview
Built with