Credentials

Get Credentials

Fetches the client ID and client secret for a merchant / user.

Failure conditions (all return statusCode: 900 with the description below):

ConditionStatus Description
Missing user IDUser ID is missing
User not foundUser not found
Credentials not foundUser Client ID or Client Secret not found
Invalid ID format (optional)Invalid ID format
Internal errorSomething went wrong
post/api/getCredentials

Request

  • Base URL
    https://jiof.trxns.in
  • URL
    https://jiof.trxns.in/api/getCredentials
  • Auth
    HTTP bearer

Request body

idstring required

Merchant / user identifier.

Example request

{
  "id": "2"
}

Response

Success or failure — see statusCode in the body.

OR

Example response

{
  "statusCode": 200,
  "statusDesc": "Credentials fetched successfully",
  "data": {
    "clientId": "02f501d355e30247ac1f612520c9148dcadb94a9bce6b070",
    "clientSecret": "ab9a64b02dbd658a3106ef6192ca2e5afbd2218b40eb82908f3b1bac31a7a56b"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.