Enkash Developer Portal
Home
Home
Login
  1. Authorisation
  • Back to home
  • Payment Gateway APIs
  • Authorisation
    • Get Authorization Token
      POST
  • Order
    • Create Order
    • Get Order Status
    • Get Order By Merchant Order Id
    • Get BNPL Payment Methods
    • Get Dynamic UPI QR
    • UPI Intent Links
  • Payment
    • Submit Payment Request
    • Get Transaction Status
    • Validate OTP
    • Resend OTP
    • Payment Notify Request
    • Get UPI Transaction Status
    • Verify UPI VPA
  • Refund
    • Refund
  • Settlement
    • Get Settlement Payout By ID
    • Search Settlement Payouts
  • Split Settlement
    • Create Split Settlement Account
    • Update Split Settlement Account
    • Get All Split Settlement Account
    • Deactivate Split Settlement Account
    • Activate Split Settlement Account
    • Submit Payment with Split Details
    • Edit Or Deferred Split Settlement
  • E-Commerce Plugins
  • UPI QR
    • Create UPI QR
    • Get UPI QR
    • Search UPI QR
    • Create Customer
    • Search Customer
    • Cancel UPI QR
  • UPI Autopay
    • Create UPI Mandate
    • Update UPI Mandate
    • Revoke UPI Mandate
    • Get UPI Mandate
    • UPI Mandate Callback
    • Mandate Pre-debit Notification
    • Execute Mandate Debit
    • Mandate Debit Callback
  • Payment Links
    • Payment Link APIs
    • Create Payment Link
    • Get Payment Link Details
    • Delete Payment Link
    • Webhook Request
  1. Authorisation

Get Authorization Token

POST
/api/v0/merchant/token
📌
This API generates an authentication token that must be included in the headers of all subsequent API requests. The token authenticates the client and ensures that only authorized users can interact with the server, providing a secure communication channel.

Request

Body Params application/json

Example
{
    "accessKey": "string",
    "secretKey": "string"
}

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 '/api/v0/merchant/token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "accessKey": "string",
    "secretKey": "string"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "token": "string",
    "expiry": 0,
    "resultCode": 0,
    "resultMessage": "string"
}
Modified at 2025-06-25 20:16:57
Previous
Authorisation
Next
Order
Built with