Enkash Developer Portal
Home
Home
Login
  1. Home
  • Back to home
  • Expense APIs
  • Token API
    POST
  • Expenses
    POST
  • Advance
    POST
  • Partner Auth Token
    POST
  • Untitled Endpoint
    POST
  1. Home

Partner Auth Token

Developing
POST
https://ekpayout-uat.enkash.in/oauth/token
This endpoint is used to obtain an OAuth 2.0 token from the Enkash service. It allows clients to authenticate and receive a token that can be used for subsequent API requests.

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=Test@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-09-27 12:05:18
Previous
Advance
Next
Untitled Endpoint
Built with