---
title: "Set the primary member payment card for the currently authenticated member"
method: PUT
path: "/ocapi/v1/members/current/payment-cards/primary"
tags: ["Payments"]
deprecated: true
---

# Set the primary member payment card for the currently authenticated member

`PUT /ocapi/v1/members/current/payment-cards/primary`

## Request

- Base URL: `https://developer.vista.co` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.vista.co/ocapi/v1/members/current/payment-cards/primary`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vista/apis/vista-digital-platform/docs/ocapi/v1/members/current/payment-cards/primary/put.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

#### Licenses Required


- Vista.Ocapi

## Headers

- `loyaltySessionToken` string
- `Connect-Region-Code` string

## Request body

- OcapiV1LoyaltyMembersPaymentCardsRequestsMemberPrimaryPaymentCardUpdate: Represents the information required to update a member entity's primary member payment card
  - `memberPaymentCardId` string, required: Gets the unique identifier of the member payment card

## Response `204`

Member primary payment card updated.

## Other responses

- `400`: Member payment card does not exist.
- `401`: No member authenticated.

---

[API](https://skmtc.dev/vista/apis/vista-digital-platform.md) - [All operations](https://skmtc.dev/vista/apis/vista-digital-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/vista/apis/vista-digital-platform/revisions/c46f30854000?raw)
