Skip to main content

Unenroll Card

Unlink a single Visa card from a user's enrollment without removing the user.

When to Use​

▾

Use this endpoint when:

  • A user replaces a card and wants to remove the old one
  • Removing a specific card while keeping the user enrolled

How to Use​

▾
Endpoint
DELETE/v3/vop/unenroll-card

Step 1: Get the IDs​

▾

Use the RM-issued userId and cardId from Enroll User or Enroll Card.

Step 2: Send the DELETE Request​

▾

DELETE /v3/vop/unenroll-card with userId and cardId in the body.

Step 3: Verify the Response​

▾

A "SUCCESS" code confirms the card was unlinked.


Request Parameters​

▾
userIdSTRINGrequired

RM-issued user ID returned by [Enroll User](./enroll-user).

Example: "1699331101742889953"

cardIdSTRINGrequired

RM-issued card ID returned by [Enroll Card](./enroll-card).

Example: "1699331146943520156"


Response Parameters​

▾
codeSTRING

`"SUCCESS"` if the card was unlinked. Otherwise returns an error code. See [Error Codes](../error-codes).

Example: "SUCCESS"