Cards Integration Steps
Steps for integration:
API Endpoints
Environment | Base URL |
---|---|
Test | https://pay-uat.enkash.in |
Live | https://pay.enkash.in |
- Obtain your API keys, Client ID, and Client secret for both Sandbox and Production environments
API Keys
Test: Upon completion of onboarding, the API Keys for the sandbox will be shared via email to your registered email id
Live: After successfully performing the test cases, EnKash will provide the production keys
List of APIs
Authentication API
API Name | Function |
---|---|
Partner auth Token | Get authentication token for APIs |
Note on encrypting and decrypting payload
To ensure the security of your transactions, all request payloads for our APIs must be encrypted before sending, and the responses must be decrypted upon receipt. This process guarantees that sensitive data is securely transmitted between your system and our servers. Please follow the encryption and decryption steps provided in the link below to implement this process. By adhering to these guidelines, you help protect the integrity and confidentiality of your transaction data throughout the communication process.
Ecrypting and Decrypting Payload
Common Fields passed in API requests
- companyId: Unique Enkash company id provided to client after onboarding.
- cardAccountId: Unique Enkash reward Account id provided to client after onboarding.
- partnerId : Unique Partner Id provided to client after onboarding
- enkashCardId : Each Enkash Card has a unique Enkash Card Id generated by the system.
- enkashCardTransactionId : Each Enkash Transaction has a unique Id attached to it.
- Authorisation: Bearer Token: required for each API and can be accessed from API : Partner auth Token
- userId / ekUserId : Unique Enkash User Id assosicated with each user in system.