InfyDigi Merchant APIs
  1. Authentication
InfyDigi Merchant APIs
  • Introduction
  • Process Flow
  • Error Codes
  • Authentication
    • Generate Token
      POST
  • Account
    • Get Account Status
      GET
    • Save Profile Image
      POST
  • Payments
    • Fund Transfer
      POST
    • Fetch Transaction Details
      GET
  • Utilities
    • Check IFSC Code
      GET
  1. Authentication

Generate Token

POST
https://api.infydigi.com/v1/auth/authenticate
This API helps in getting an Access Token (Field Name - token). This access token is used in the subsequent APIs for the purpose of request authentication.

Request

Body Params application/json
username
string 
required
User name shall be shared by InfyDigi post onboarding
password
string 
required
Password shall be shared by InfyDigi post onboarding
Example
{
    "username":"infydigi@gmail.com",
    "password":"11223344"
}

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://api.infydigi.com/v1/auth/authenticate' \
--header 'Content-Type: application/json' \
--data-raw '{
    "username":"infydigi@gmail.com",
    "password":"11223344"
}'

Responses

🟢200Success
application/json
Body
respCode
integer 
required
msg
string 
required
data
object 
required
merchantId
string 
required
token
string 
required
Example
{
    "respCode": 200,
    "msg": "success : token generation successfully",
    "data": {
        "merchantId": "08810816",
        "token": "eyJhbGciOiJIUzI1NiJ9.eyJhY2Nlc3MiOiJ3cml0ZSIsInVzZXJUeXBlIjoiTUVSQ0hBTlRfU0VMRl9DUkVBVEUiLCJzdWIiOiJpbmZ5ZGlnaUBnbWFpbC5jb20iLCJpYXQiOjE3MzcyMTkzNTIsImV4cCI6MTczOTgxMTM1Mn0.RtII73S_9xfDARzDpHJ7YskeWHmOX7cCS1i_gLalPcM"
    }
}
Modified at 2025-01-18 18:08:31
Previous
Error Codes
Next
Get Account Status
Built with