EnKash API Document
HomePayment GatewayPayoutsCreate Account
HomePayment GatewayPayoutsCreate Account
Login
  1. Authorization
  • Payment Gateway Overview
  • Payment Gateway Sign Up
  • Payment Methods
  • Supported Integrations
  • Payment APIs
  • Test Card Details
  • Authorization
    • About Authorization
    • Get Authorization Token
      POST
  • Orders
    • Order Overview
    • About Order
    • Create Order
      POST
    • Get Order Status
      GET
    • Get BNPL Payment Modes
      GET
  • Payments
    • Payment Overview
    • About Payment
    • Get Transaction Status
      GET
    • Submit Payment Detail
      POST
  • Refunds
    • About Refund
    • Refund
      POST
  • Payment Links
    • Upi Intent Link Detail
      GET
  • Settlements
    • About Settlement
    • Get Settlement Payout By Id
      GET
    • Search Settlement Payouts
      POST
  • QR Generation API
    • Get Dynamic QR Code
  • Payment Button
  • Qr Code
    • Create QR
    • Create QR Customer
    • Search QR Code
    • Get QR Code
    • Cancel QR Code
  1. Authorization

About Authorization

The Get Authorization Token API is essential for authenticating requests made to our other APIs. Here’s a step-by-step guide to help you integrate this API into your system:
Purpose
The Get Authorization Token API generates an authentication token that must be included in the headers of subsequent API requests. This token verifies that the request is from an authorized source, ensuring secure communication with our server.
Endpoint URL: https://olympus-pg-uat.enkash.in/api/v0/merchant/token (Test Environment)
Method: Post
Request Headers
Ensure you include the following headers in your request:
Content-Type: application/json
API-Key: Your unique API key provided by Enkash
Response
On a successful request, the server responds with a JSON object containing the authentication token. Example
FieldTypeDescription
tokenstringThe generated authentication token
expiryinteger (int64)The expiration time of the token, represented in milliseconds
resultCodeinteger (int32)The result code indicating the status of the token generation request
resultMessagestringA message providing additional information about the result of the token generation request
Previous
Test Card Details
Next
Get Authorization Token
Built with