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

# Upsert account payment configuration

`POST /accounts/{accountId}/paymentConfig`

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.net/dealhub/apis/quote-api.md) · [All operations](https://skmtc.net/dealhub/apis/quote-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dealhub/quote-api/versions/c30f5b9fbfab/schema)
