---
title: "Register CVV for a card payment"
method: POST
path: "/customers/{id}/payment-methods/{card_id}/cvv"
tags: ["PaymentMethods"]
---

# Register CVV for a card payment

`POST /customers/{id}/payment-methods/{card_id}/cvv`

## Request

- Base URL: `https://public-api.alternativepayments.io`
- URL: `https://public-api.alternativepayments.io/customers/{id}/payment-methods/{card_id}/cvv`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `/oauth/token` scopes: `payments:write`

Register an encrypted CVV token for a specific card and invoice

## Path parameters

- `id` string, required
- `card_id` string, required

## Request body

- CreateCardCvvInput: CVV registration information
  - `cvv_secret` string
  - `product_id` string
  - `product_type` 'invoice'
  - `provider` 'evervault'

## Response `201`

Created

- CreateCardCvvResponse: Create card CVV response
  - `success` boolean

## Other responses

- `400`: Bad Request
- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/alternativepayments/apis/alternative-payments.md) - [All operations](https://skmtc.dev/alternativepayments/apis/alternative-payments/llms.txt) - [OpenAPI document](https://skmtc.dev/alternativepayments/apis/alternative-payments/revisions/281251358a5b?raw)
