---
updatedAt: 2026-05-27T16:34:25.000Z
agentTools:
  projectIndex: https://api.atsanywhere.io/llms.txt
---

# Create Payment Method

Allows you to create a new payment method.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/payment_methods": {
      "post": {
        "responses": {
          "201": {
            "description": "Created a new payment method.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethod"
                }
              }
            }
          },
          "403": {
            "description": "Not authorized"
          },
          "422": {
            "description": "Fields were invalid or missing.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "errors": {
                      "type": "object",
                      "properties": {
                        "field_name": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "example": "can't be blank"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal system error.  Please contact support in the event that this occurs."
          }
        },
        "summary": "Create Payment Method",
        "description": "Allows you to create a new payment method.",
        "tags": [
          "Payment Methods"
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/PaymentMethodPayload"
        }
      }
    }
  },
  "info": {
    "version": "1.0.0",
    "title": "Applicant Tracking API",
    "description": "Applicant Tracking API"
  },
  "servers": [
    {
      "url": "https://api.applicant-tracking.com/api/v1"
    }
  ],
  "components": {
    "requestBodies": {
      "PaymentMethodPayload": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/PaymentMethodPayload"
            }
          }
        },
        "required": true
      }
    },
    "schemas": {
      "PaymentMethod": {
        "properties": {
          "id": {
            "type": "string",
            "example": "1"
          },
          "company_id": {
            "type": "string",
            "example": "1"
          },
          "display_name": {
            "type": "string",
            "example": "Main Account"
          },
          "first_name": {
            "type": "string",
            "example": "Alex"
          },
          "last_name": {
            "type": "string",
            "example": "Smith"
          },
          "payment_type": {
            "type": "string",
            "example": "credit_card"
          },
          "card_vendor": {
            "type": "string",
            "example": "Visa"
          },
          "masked_card_number": {
            "type": "string",
            "example": "XXXX-XXXX-XXXX-XXXX"
          },
          "expiration_month": {
            "type": "string",
            "example": "11"
          },
          "expiration_year": {
            "type": "string",
            "example": "2023"
          },
          "billing_address": {
            "type": "string",
            "example": "1 Main St."
          },
          "billing_address_2": {
            "type": "string",
            "example": "Unit 6"
          },
          "billing_city": {
            "type": "string",
            "example": "Philadelphia"
          },
          "billing_state": {
            "type": "string",
            "example": "PA"
          },
          "billing_zip": {
            "type": "string",
            "example": "19019"
          },
          "billing_country": {
            "type": "string",
            "example": "United States"
          },
          "chargeable": {
            "type": "boolean",
            "description": "False when the card is expired or has no usable payment profile.",
            "example": true
          },
          "expired": {
            "type": "boolean",
            "description": "True when the card is past its expiration date.",
            "example": false
          }
        }
      },
      "PaymentMethodPayload": {
        "properties": {
          "display_name": {
            "type": "string",
            "example": "Main Account"
          },
          "payment_method_nonce": {
            "type": "string",
            "example": "tok_abc123",
            "description": "A tokenized payment profile from the billing provider (for example a ChargifyJS token). When present, the card is registered with the company's billing provider."
          },
          "job_id": {
            "type": "string",
            "example": "123",
            "description": "When present, the new payment method is assigned to the job's incidentals account."
          }
        }
      }
    }
  }
}
```