Enroll Card
Link an additional Visa card PAN to an already-enrolled user. Each user can have multiple cards linked to their offer account.
When to Use
▾
Use this endpoint when:
- A user wants to add a second or subsequent card to the program
- Linking a replacement card after losing one
How to Use
▾
/v3/vop/enroll-cardStep 1: Get the User ID
▾
Use the RM-issued userId returned by Enroll User.
Step 2: Send the Card Details
▾
POST the user ID, card PAN, and card name to /v3/vop/enroll-card.
Step 3: Store the Card ID
▾
The response returns the new card.id. Use it for Unenroll Card.
Request Parameters
▾
RM-issued user ID returned by [Enroll User](./enroll-user).
Example: "1699331101742889953"
Visa card PAN (full card number).
Example: "4364484100392451"
Display name of the card.
Example: "Ambank Visa Infinite"
Response Parameters
▾
Created card record.
RM-issued card ID.
Example: "1699331146943520156"
RM-issued user ID.
Example: "1699331101742889953"
Card display name.
Example: "Ambank Visa Infinite"
Last four digits of the card PAN.
Example: "2451"
Card type (`"CREDIT"`, `"DEBIT"`).
Example: "CREDIT"
Enrollment timestamp.
Example: "2023-11-07T04:25:46Z"
Last update timestamp.
Example: "2023-11-07T04:25:46Z"
`"SUCCESS"` if enrollment succeeded. Otherwise returns an error code. See [Error Codes](../error-codes).
Example: "SUCCESS"