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

Single Sign On (SSO)

Developing
POST
/api/v0/partner/enKashCard/sso-token
📌
SSO allows users to access multiple applications or services using a single set of login credentials. With SSO, users authenticate once through a trusted identity provider, and gain seamless access to all integrated systems, eliminating the need to log in separately for each application. This enhances user experience, improves security, and simplifies access management.

Request

Header Params
partnerId
string 
required
Example:
CRMXWB3ZM
Content-Type
string 
required
Example:
application/json
Authorization
string 
required
Example:
••••••
Cookie
string 
required
Example:
JSESSIONID=BC1A71C9BC65576B3AB0E78896971B9E
Body Params application/json
cardAccountId
string 
required
Card Account ID
companyId
string 
required
Company ID
enkashCardId
string 
required
Enkash CARD HOLDER ID
Example
{
    "cardAccountId": "CAQL8YCV3",
    "companyId" : "CEK1PU9AOO",
    "enkashCardId" : "EKCDM5AVZY"
}

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/enKashCard/sso-token' \
--header 'partnerId: CRMXWB3ZM' \
--header 'Authorization: ••••••' \
--header 'Cookie: JSESSIONID=BC1A71C9BC65576B3AB0E78896971B9E' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cardAccountId": "CAQL8YCV3",
    "companyId" : "CEK1PU9AOO",
    "enkashCardId" : "EKCDM5AVZY"
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-05-23 22:14:54
Previous
Authentication
Next
Create And Allocate Points
Built with