---
title: "Adds a payment card to the user's wallet."
method: POST
path: "/wallet/admin/{userId}/paymentcards"
tags: ["wallet"]
---

# Adds a payment card to the user's wallet.

`POST /wallet/admin/{userId}/paymentcards`

Adds a payment card to the user's wallet

## Headers

- `X-Request-Id` string

## Request body

- PaymentCard
  - `id` string, required
  - `pan` string, required — Must be sixteen digits, optionally in blocks of 4 separated by a dash
  - `cvc` string, required — Card Verification Code
  - `startDate` string, required — Must be in one of these four formats: MM/YY MMYY MMYYYY MM/YYYY
  - `expiryDate` string, required — Must be in one of these four formats: MM/YY MMYY MMYYYY MM/YYYY
  - `nameOnCard` string, required
  - `creationDate` string, date-time
  - `balance` Currency — Schema defining monetary amount in given currency.
    - `amount` string, required — The amount in the specified currency
    - `currencyCode` string, required — The alpha-3 code (complying with ISO 4217) of the currency that qualifies the amount
  - `apr` number
  - `cardtype` 'CREDIT' | 'DEBIT' | 'PREPAID'

## Response `201`

request to create payment card accepted

- PaymentCardsPostResponseBody
  - `id` string

## Other responses

- `400` — BadRequest
- `401` — Unauthorized
- `403` — Forbidden
- `404` — NotFound
- `415` — UnsupportedMediaType
- `500` — InternalServerError

---

[API](https://skmtc.net/backbase/apis/wallet-test-service-api.md) · [All operations](https://skmtc.net/backbase/apis/wallet-test-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/backbase/wallet-test-service-api/versions/5d24d5e7db87/schema)
