- Explore Our Product Suite
- Payment Gateway
- Payouts
- Prepaid Cards
- About Prepaid Card
- Key Capabilities
- Getting Started
- APIs
- API Access & Authorization
- Encryption & Decryption Guide
- Auth TokenPOST
- Create Card AccountPOST
- Create Gift CardPOST
- Create Prepaid CardPOST
- Set Card PINPOST
- Load Card BalancePOST
- Get Card Account DetailsPOST
- Generate Card OTPPOST
- View Card DetailsPOST
- Card Usage ControlsPOST
- Get Card Usage LimitsPOST
- Request Card ReplacementPOST
- Block Card POST
- Order Physical CardPOST
- Get Card Details POST
- Get Transaction DetailsPOST
- Get All Transaction detailsPOST
- Bharat Connect (BBPS)
- About Bharat Connect
- Invoice Payments
- Invoice
- Payment
- Financing
- Onboarding
- cdNote
- Purchase Order
- webhook-invoice
- webhook-payments
- webhook-business-onboarding
- webhook-financing
- webhook-cdNote
- Webhook Purchase Order
- Webhook Send Purchase Order Request
- Webhook Send Purchase Order Response
- Webhook Confirm Purchase Order Request
- Webhook Confirm Purchase Order Response
- Webhook Edit Purchase Order Request
- Webhook Edit Purchase Order Response
- Webhook Status Change Purchase Order Request
- Webhook Status Change Purchase Order Response
- Bill Payments
- Accounts Payable
- Account Receivable
- Expense Management
- Rewards & Incentives
- Verification Suite
Auth Token
Developing
POST
https://ekpayout-uat.enkash.in/oauth/token
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
Cookie
stringÂ
required
Example:
_cfuvid=f5yil.adja6WY54i74vh4ra.7UO0u2fMcW3Sd7nDXbM-1737528925925-0.0.1.1-604800000; JSESSIONID=3811B357B64F1FB6E0C97811B55F13AA
Content-Type
stringÂ
required
Example:
application/x-www-form-urlencoded
Body Params application/x-www-form-urlencoded
username
stringÂ
required
Example:
6660686687
password
stringÂ
required
Example:
Test@1234567
grant_type
stringÂ
required
Example:
password
clientId
stringÂ
required
Example:
CEKEY1SKIU
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://ekpayout-uat.enkash.in/oauth/token' \
--header 'Cookie: _cfuvid=f5yil.adja6WY54i74vh4ra.7UO0u2fMcW3Sd7nDXbM-1737528925925-0.0.1.1-604800000; JSESSIONID=3811B357B64F1FB6E0C97811B55F13AA' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic Og==' \
--data-urlencode 'username=6660686687' \
--data-urlencode 'password=Test@1234567' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'clientId=CEKEY1SKIU'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}