Credentials

Regenerate Credentials

Regenerates the client ID and client secret for a merchant.

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

ConditionStatus Description
Missing merchant IDMissing id
Invalid ID format (optional)Invalid ID format
Merchant not found (optional)Merchant not found
Failed to generate client IDSome problem occurred while generating client_id
Failed to generate client secretclient_secret generation failed
Internal server errorSomething went wrong
post/api/regenerate-credentials

Request

  • Base URL
    https://jiof.trxns.in
  • URL
    https://jiof.trxns.in/api/regenerate-credentials
  • 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.