Credentials
Regenerate Credentials
Regenerates the client ID and client secret for a merchant.
Failure conditions (all return statusCode: 900 with the description below):
| Condition | Status Description |
|---|---|
| Missing merchant ID | Missing id |
| Invalid ID format (optional) | Invalid ID format |
| Merchant not found (optional) | Merchant not found |
| Failed to generate client ID | Some problem occurred while generating client_id |
| Failed to generate client secret | client_secret generation failed |
| Internal server error | Something went wrong |
post/api/regenerate-credentials
Request
- Base URLhttps://jiof.trxns.in
- URLhttps://jiof.trxns.in/api/regenerate-credentials
- AuthHTTP bearer
Request body
Example request
{
"id": "2"
}Response
Success or failure — see statusCode in the body.
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.