---
title: "Create a card payment account"
method: POST
path: "/v1/PaymentAccounts/paymentcard"
tags: ["PaymentAccounts"]
---

# Create a card payment account

`POST /v1/PaymentAccounts/paymentcard`

Creates a new payment account for debit or credit cards.

## Request body

- RevAppPostModelsCard
  - `name_first` string, required — First name of the card holder
  - `name_last` string, required — Last name of the card holder
  - `card_number` string, required — Card number
  - `expiration_month` integer, required — Expiration month of the card
  - `expiration_year` integer, required — Expiration year of the card
  - `customer_id` integer, required — Foreign identifier indicating the customer account associated with this payment method
  - `address_id` integer — Foreign identifier indicating the address associated with this payment method If no address is supplied, the billing address on the customer is used

## Response `201`

Created

- RevWebAPIModelsCreate
  - `ok` boolean
  - `id` integer

## Other responses

- `400` — BadRequest
- `500` — InternalServerError

---

[API](https://skmtc.net/rev-io/apis/rev-io-api.md) · [All operations](https://skmtc.net/rev-io/apis/rev-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rev-io/rev-io-api/revisions/135571434f6c/schema)
