Ttushe / docs
nsk_test_Operational

Store/rotate your PSP credentials for this environment

Secrets are write-only and encrypted at rest; a new/rotated key is pending until a send-test passes. The environment is your API key’s environment.

PUThttps://api.trytushe.com/v1/config/providers/credentials

Deprecated

PUT/v1/config/providers/credentials

Authorization

api-key
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

{  "status": true,  "statusCode": 200,  "message": "Request processed successfully",  "timestamp": "2026-10-03T16:30:00.000Z",  "path": "/v1/accounts",  "data": {    "provider": "paystack",    "environment": "test",    "apiKeySet": true,    "apiKeyLast6": "a1b2c3",    "webhookSecretSet": false,    "status": "pending",    "webhookPath": "/webhooks/paystack/live/whr_live_a1b2c3"  }}