---
title: "Update a provider config"
method: PUT
path: "/payment/providers/{providerId}/configs/{providerConfigId}"
tags: ["ProviderConfigs"]
---

# Update a provider config

`PUT /payment/providers/{providerId}/configs/{providerConfigId}`

Trigger an action to update the provider config.

## Path parameters

- `providerId` string, uuid, required
- `providerConfigId` string, uuid, required

## Headers

- `x-idempotency-key` string, uuid, required

## Request body

- object
  - `accountName` string, string — Account name of the provider.
  - `config` object
  - `accountDisplayName` string, string — Account display name of the provider.
  - `additionalData` object, nullable — Custom key-value data included in authorization webhook notifications. Do not store secrets, credentials, or personally identifiable information (PII). Pass an empty object to clear previously stored data.

## Response `200`

Success.

- object
  - `id` string, uuid, required — Unique identifier of the provider config.
  - `providerId` string, uuid, required — Unique identifier of the provider.
  - `accountName` string, string, required — Account name of the provider.
  - `configSchema` string, required — JSON schema of the provider configuration.
  - `createdAt` string, date-time, required — Date of creation of the provider config.
  - `status` string — The status of the provider config.
  - `config` object
  - `accountDisplayName` string, string, required — Account display name of the provider.
  - `workspaces` string[] — Workspaces that the Provider config belongs to.
  - `providerName` string — Name of the provider.
  - `providerDisplayName` string — Display name of the provider.
  - `notificationUrl` string — Notification URL for this provider config.
  - `additionalData` object — Custom key-value data included in authorization webhook notifications. Do not store secrets, credentials, or personally identifiable information (PII).

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Insufficient Scope.
- `404` — Not Found.
- `429` — Too Many Requests.

---

[API](https://skmtc.net/payrails/apis/payrails-api-reference.md) · [All operations](https://skmtc.net/payrails/apis/payrails-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/payrails/payrails-api-reference/versions/9dd2f0158582/schema)
