Save PSP credentials

View as Markdown
This API allows a merchant to securely store credentials for a selected Payment Service Provider (PSP). Each PSP may require different credentials **Request Body** | Field | Type | Required | Description | | --- | --- | --- | --- | | `pspId` | string | Yes | Unique identifier of the Payment Service Provider | | `credentialKey` | string | Yes | Credential key used to identify the specific credential type for the PSP | | `credentialSecret` | string | Yes | The credential value or secret associated with the key | | `pspClientId` | string | yes(nium only) | client id in nium | Response Body 200 OK | **Field** | **Type** | | --- | --- | | timestamp | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') | | message | string | 400 BAD REQUEST - 403 FORBIDDEN - 401 UNAUTHORIZED - 500 INTERNAL ERROR | **Field** | type | | --- | --- | | timestamp | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') | | title | string | | type | string | | status | number | | soaCode | string | | detail | string |

Request

This endpoint expects an object.
pspIdstringRequired
pspClientIdstringRequired
credentialKeystringRequired
credentialSecretstringRequired

Response

OK
messagestring
timestampstring