Enkash Developer Portal
Home
Home
Login
  1. Vendor Payment
  • Back to home
  • APIs - BBPS
  • Bill Payment
    • Webhook
      • Setup Webhook Endpoint
    • Create Bill
      • Create Bill Without Bill Fetch
      • Create Bill After Successful Bill Fetch
    • Fetch Bill
      • Fetch Current Bill
      • Fetch Biller List
      • Fetch Biller Categories
      • Prepaid Plan
      • Fetch Bulk Bill Details
      • Get Utility Bill By Reference ID
      • Get Utility Bill Status
    • Payment
      • Confirm Debit for Bill Payment
      • Initiate Bill Payment via EnKash PG
    • Generate Authentication Token
  • Vendor Payment
    • Business Onboarding
      • Initiate Entity Check
      • Register Entity
      • Bharat Connect B2B ID Registration
      • Search Entity
    • Invoice
      • Create Invoice
      • Confirm Invoice
      • Change Invoice Status
      • Edit Invoice
    • Payment
      • Pay Invoice
      • Payment Confirmation
    • Purchase Order
      • Send Purchase Order Request
      • Confirm Purchase Order
      • Edit Purchase Order
      • Change Purchase Order Status
    • Credit Note
      • Send C/N Request
      • Confirm C/N Request
      • Status Change C/N Request
    • Financing
      • Request Financing
      • Share Bid
      • Respond To Bid
    • Webhook
      • Business Onboarding
        • Check Entity Webhook
        • Entity Registration Response Webhook
        • Search Entity Response Webhook
        • Registration ID Response Webhook
      • Invoice
        • Create Invoice Request Webhook
        • Create Invoice Response Webhook
        • Confirm Invoice Request Webhook
        • Confirm Invoice Response Webhook
        • Status Change Invoice Request
        • Status Change Invoice Response Webhook
        • Edit Invoice Request Webhook
        • Edit Invoice Response Webhook
      • Payment
        • Payment Response Webhook
        • Payment Confirmation Response Webhook
        • Payment Request Webhook
        • Payment Confirmation Request Webhook
      • Credit Note
        • Send C/N RequestWebhook
        • Send C/N Response Webhook
        • Confirm C/N Request Webhook
        • Confirm C/N Response Webhook
        • Status Change C/N Request Webhook
        • Status Change C/N Response Webhook
      • Purchase Order
        • 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 Webhook
      • Financing
        • Financing Response Webhook
        • Respond Bid Response Webhook
        • Share Bid Request Webhook
    • Generate Authentication Token
      POST
Home
Home
Login
  1. Vendor Payment

Generate Authentication Token

POST
/oauth/token
📌
To generate an authentication token, send a POST request to our OAuth endpoint. This request authenticates your credentials and returns an access token, which you will use to authorize all subsequent API calls.
Make sure your credentials are properly encoded and transmitted securely during this process to protect sensitive information.

Request

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 '/oauth/token' \
--header 'Authorization: Basic ZW5rYXNoLWNsaWVudDplbmthc2gtc2VjcmV0' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'username=6660686678' \
--data-urlencode 'password=Test@1234567' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'clientId=CEKQ08TRRG'

Responses

🟢200Success
application/json
Body

Example
{
    "accessToken": "string",
    "tokenType": "string",
    "expiresIn": 0,
    "refreshToken": "string"
}
Modified at 2025-12-24 17:40:10
Previous
Share Bid Request Webhook
Built with