Enkash Developer Portal
Home
Home
Login
  1. Authentication
  • Back to home
  • Wallet APIs
  • Authentication
    • Auth Token
      POST
  • Wallet Setup
    • Create Wallet
    • Update Wallet Details
    • VKYC Link Generation
    • VKYC Status
    • Get Wallet Details
  • Wallet Management
    • Load Money
    • Generate Transaction OTP
    • Get Transaction Details
    • Get Wallet Balance
    • Load Limit Check
  • Fund Transfers
    • Add Beneficiary
    • Search Beneficiaries
    • Fund Transfer
    • Wallet To Wallet Transfer
    • Get Fund Transfer Status
  • Merchant Payments
    • Initate Merchant Payment
    • Merchant Settlement
    • Settlement Status
  • Webhooks
    • Payment Notify Request
  1. Authentication

Auth Token

POST
https://ekpayout-uat.enkash.in/oauth/token
📌
This endpoint is used to obtain an OAuth 2.0 access token from the Enkash authentication service. You must call this endpoint to validate their credentials and retrieve an access token, which is then required for all subsequent API requests.
The generated token should be included in the Authorization header (as a Bearer token) when accessing any protected Enkash APIs.

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Header Params

Body Params application/x-www-form-urlencoded

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 'https://ekpayout-uat.enkash.in/oauth/token' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Cookie: _cfuvid=f5yil.adja6WY54i74vh4ra.7UO0u2fMcW3Sd7nDXbM-1737528925925-0.0.1.1-604800000; JSESSIONID=3811B357B64F1FB6E0C97811B55F13AA; _cfuvid=w0XP61XaIRNwrQKB6k8gpRdZPaCGnEwn8Gh8Lq9YcLs-1752583721627-0.0.1.1-604800000' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'username=6001020030' \
--data-urlencode 'password=Enkash@1234567' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'clientId=CEKQ08TRRG'

Responses

🟢200OK
application/json
Body

Examples
{
    "access_token": "bg-xFpMtGNl2jJGD8VPR4YZpNcA",
    "token_type": "bearer",
    "refresh_token": "PAADpFl7dsgQBE-21fSSccCMlVE",
    "expires_in": 86399,
    "scope": "read write trust"
}
Modified at 2025-11-20 18:13:50
Previous
Authentication
Next
Create Wallet
Built with