---
title: "Creates a PaymentMethod resource."
method: POST
path: "/payment_methods"
tags: ["PaymentMethod"]
---

# Creates a PaymentMethod resource.

`POST /payment_methods`

Creates a PaymentMethod resource.

## Request body

- PaymentMethod
  - `id` string
  - `integration` string — The key of the integration source e.g. "quickbooks", or "xero"
  - `srcId` string — The unique identifier of the source 3rd party integration
  - `name` string, nullable — Name for the payment method
  - `type` string, nullable — Type of the payment method
  - `created` string, date-time, nullable — Date the payment method was created
  - `modified` string, date-time, nullable — Date the payment method was last modified

## Response `201`

PaymentMethod resource created

- PaymentMethod
  - `id` string
  - `integration` string — The key of the integration source e.g. "quickbooks", or "xero"
  - `srcId` string — The unique identifier of the source 3rd party integration
  - `name` string, nullable — Name for the payment method
  - `type` string, nullable — Type of the payment method
  - `created` string, date-time, nullable — Date the payment method was created
  - `modified` string, date-time, nullable — Date the payment method was last modified

## Other responses

- `400` — Invalid input
- `422` — Unprocessable entity

---

[API](https://skmtc.net/bossinsights/apis/boss-insights.md) · [All operations](https://skmtc.net/bossinsights/apis/boss-insights/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bossinsights/boss-insights/versions/d08a107895ad/schema)
