---
title: "Create payment method"
method: POST
path: "/appReseller/v1/paymentMethods"
tags: ["AppResellerPaymentMethod"]
---

# Create payment method

`POST /appReseller/v1/paymentMethods`

## Request

- Base URL: `https://marketplace.appdirect.com/api`
- URL: `https://marketplace.appdirect.com/api/appReseller/v1/paymentMethods`
- Auth: none declared
- TypeScript: <https://skmtc.dev/appdirect/apis/companies/docs/appReseller/v1/paymentMethods/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a payment method on behalf of the specified user

## Request body

- AppResellerPaymentMethodRequest: Creates a payment method for the specified user
  - `ownerId` string, required: ID of the user for whom to create the payment method
  - `companyId` string, required: ID of the user's company
  - `paymentMethodType` string, required: Payment method types supported by AppReseller
  - `properties` object: List of payment method properties. Varies by payment method type
  - `billingAddress` BillingAddress, required: Billing address
    - `street1` string, required: First line of a street address
    - `street2` string, nullable: Second line of a street address, such as apartment or unit number
    - `city` string, required: City or town
    - `country` string, required: Country code in ISO-3166 format
    - `state` string, required: State, province, or region
    - `zip` string, required: ZIP or postal code
    - `phone` string, nullable: Phone number
    - `salutation` string, nullable: Personal salutation
    - `companyName` string, nullable: Company name
    - `fax` string, nullable: Fax number
    - `faxExtension` string, nullable: Fax number extension
    - `poBox` string, nullable: Post office box number

## Response `200`

Success

- AppResellerPaymentMethod: Payment method information
  - `id` string, required: Payment method ID
  - `accountDisplay` string: Account display text, such as the last 4 digits of the credit card number
  - `default` boolean, required: Indicates whether this is the user's default payment method
  - `paymentMethodType` string, required: Payment method types supported by AppReseller
  - `properties` object: List of payment method properties. Varies by payment method type
  - `billingAddress` BillingAddress, required: Billing address
    - `street1` string, required: First line of a street address
    - `street2` string, nullable: Second line of a street address, such as apartment or unit number
    - `city` string, required: City or town
    - `country` string, required: Country code in ISO-3166 format
    - `state` string, required: State, province, or region
    - `zip` string, required: ZIP or postal code
    - `phone` string, nullable: Phone number
    - `salutation` string, nullable: Personal salutation
    - `companyName` string, nullable: Company name
    - `fax` string, nullable: Fax number
    - `faxExtension` string, nullable: Fax number extension
    - `poBox` string, nullable: Post office box number
  - `owner` UserAssociation, required: A minimum version of a user: includes only the user ID, first name, and last name
    - `id` string, required: User ID
    - `firstName` string, required: User first name
    - `lastName` string, required: User last name

## Other responses

- `401`: Unauthorized

## Changes

- **2026-11-06** `1fc240f06971`: 6 breaking, 8 info
  - added the new required request property `billingAddress`
  - added the new required request property `companyId`
  - added the new required request property `ownerId`
  - added the new required request property `paymentMethodType`
  - …10 more

[Operation history](https://skmtc.dev/appdirect/apis/companies/changes/appReseller/v1/paymentMethods/post.md)

---

[API](https://skmtc.dev/appdirect/apis/companies.md) - [All operations](https://skmtc.dev/appdirect/apis/companies/llms.txt) - [OpenAPI document](https://skmtc.dev/appdirect/apis/companies/revisions/1fc240f06971?raw)
