---
title: "(Deprecated) Register a Card for Direct Payments (PCI-DSS compliant only)"
method: POST
path: "/v2/moneyins/card/register"
tags: ["MoneyIns | Cards"]
---

# (Deprecated) Register a Card for Direct Payments (PCI-DSS compliant only)

`POST /v2/moneyins/card/register`

Register a card and associate it with a Payment Account. The end-user does not have to re-enter their card details for future payments.<br /><b>Important:</b> Ensure your website login is secured to avoid any security breach that may causes unauthorized access (for example, phishing). <br /><b>Note:</b> Lemonway does not recommend you use the MoneyIn method from January 2021. You should now use POST /moneyins/card/direct/3dini and PUT /moneyins/card/direct/{transactionid}/3dconfirm only.

## Headers

- `Authorization` string, required
- `PSU-Accept-Language` string
- `PSU-IP-Address` string, required
- `PSU-User-Agent` string

## Request body

- RegisterCardInput
  - `accountId` string, required — Payment Account ID
  - `card` CardInfo
    - `cardType` 0 | 1 | 2 — Card Type<br/>0 = CB.<br/>1 = Visa.<br/>2 = Mastercard.<br/>
    - `cardNumber` string — Card Number
    - `cardCode` string — CVV Code
    - `cardDate` string — Card Expiration Date
  - `specialConfiguration` string — Leave Empty

## Response `200`

OK

- RegisterCardOutput
  - `card` Card
    - `id` integer
    - `is3DS` boolean — Card with 3-DS authentication
    - `country` string — Card issuing country
    - `authorizationNumber` string — Authorization number
    - `maskedNumber` string — Masked card number
    - `expiration` string — Expiration date (if available)
    - `type` string — Card type (example: Visa or Mastercard)
    - `isRegistered` boolean — Card is registered
    - `holderName` string — Card's holder name
  - `error` Error
    - `code` integer
    - `message` string
    - `psp` PSP
      - `message` string — Get the Error Message from PSP

## Other responses

- `401` — Unauthorized
- `500` — InternalServerError

---

[API](https://skmtc.net/lemonway/apis/account-onboarding-management-api.md) · [All operations](https://skmtc.net/lemonway/apis/account-onboarding-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lemonway/account-onboarding-management-api/revisions/73309fe68e2d/schema)
