---
title: "Create"
method: POST
path: "/payments/create/"
---

# Create

`POST /payments/create/`

Creates a payment method for an individual customer.

## Request body

- object
  - `customer` string, required — Customer ID
  - `cc_number_ending` string, required — Last four digits of credit card number
  - `cc_holder` string — Credit card holder. Required depending on integration.
  - `cc_exp_date` string — Credit card expiration date (format: MM/YYYY or MM/YY). Required depending on integration.
  - `billing_address` string — Billing address record ID
  - `label` string — Payment label
  - `token_id` string, required — Token ID
  - `cc_type` integer — Credit card type code
  - `payment_method` string — Method of payment - "paypal", "credit card", "applepay", or "googlepay"

## Response `200`

200

- object
  - `customer` string
  - `billing_address` string
  - `cc_number_ending` unknown
  - `public_id` string
  - `label` unknown
  - `token_id` string
  - `cc_holder` unknown
  - `cc_type` integer
  - `cc_exp_date` string
  - `payment_method` string
  - `live` boolean
  - `created` string
  - `last_updated` string

## Other responses

- `400` — 400
- `403` — 403

---

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