---
title: "Create a Payment Method Group"
method: POST
path: "/payment_method_groups"
tags: ["Payment Method Groups"]
---

# Create a Payment Method Group

`POST /payment_method_groups`

## Request

- Base URL: `https://api.justifi.ai/v1`
- URL: `https://api.justifi.ai/v1/payment_method_groups`
- Auth: none declared. Required headers: `Authorization`, `Sub-Account`
- TypeScript: <https://skmtc.dev/justifi/apis/justifi-api-documentation/docs/payment_method_groups/post.ts> (a function with typed inputs; its response is checked against the schema)

You can create payment methods groups ahead of time, then associate payment methods and easily filter them.

## Headers

- `Authorization` string, required
- `Sub-Account` string, required

## Response `201`

Payment method group was created successfully

- object
  - `id` string, uuid: the object id, also found in the data object
  - `type` string: the object type, or array of objects
  - `data` object: the attributes for the object
    - `id` string: the object id
    - `account_id` string: the account_id associated with the object
    - `platform_account_id` string: the account_id for the platform account associated with the object
  - `page_info` unknown

---

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