---
title: "Upsert account payment configuration"
method: POST
path: "/accounts/{accountId}/paymentConfig"
tags: ["Accounts"]
---

# Upsert account payment configuration

`POST /accounts/{accountId}/paymentConfig`

## Request

- Base URL: `https://api.app.subskribe.com`
- URL: `https://api.app.subskribe.com/accounts/{accountId}/paymentConfig`
- Auth: API key in header `X-API-Key`

Creates or updates the payment configuration for the specified account

## Path parameters

- `accountId` string, required

## Request body

- AccountPaymentConfigurationJson
  - `id` string
  - `accountId` string, required
  - `excludeFromPaymentRetries` boolean, required

## Response `200`

successful operation

- AccountPaymentConfigurationJson
  - `id` string
  - `accountId` string, required
  - `excludeFromPaymentRetries` boolean, required

---

[API](https://skmtc.dev/dealhub/apis/subskribe-api.md) - [All operations](https://skmtc.dev/dealhub/apis/subskribe-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dealhub/apis/subskribe-api/revisions/c1ee531b82ce?raw)
