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

# Create a card payment

`POST /v1/Payments/card`

Creates a payment using a debit or credit cards.

## Request body

- RevAppPostModelsPaymentsCardPayment
  - `card` RevAppPostModelsPaymentsCard, required
    - `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
    - `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
  - `save_payment_information` boolean — Save the card information on the customer profile for future transactions
  - `customer_id` integer, required — Primary identifier of customer to create this payment for.
  - `amount` number, double, required — Amount to create this payment for.
  - `reference_number` string, required — The reference number of this payment.
  - `received_date` string, date-time — Specify the date this payment was received.

## 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)
