v1

latestOpenAPI 3.0.12026-08-06135498863.0 KB
Payments

Gets a member payment card for the currently authenticated member by its unique identifier

Licenses Required

  • Vista.Ocapi
get/ocapi/v1/members/current/payment-cards/{memberPaymentCardId}

Path parameters

memberPaymentCardIdstring required

The member payment card identifier

Headers

loyaltySessionTokenstring

Current Loyalty session token, represents a 'signed-in' member

Connect-Region-Codestring

Region Code

Response

Success

idstring required

Gets the unique identifier

isPrimaryboolean required

Gets a value indicating whether this is the primary card

isUsedForRecurringSubscriptionBillingboolean required

Gets a value indicating whether this card is used for automatic payments for a recurring member subscription

Example response

{
  "cardDetails": {
    "maskedCardNumber": "411111......1111",
    "type": "VISA",
    "expiryMonth": 1,
    "expiryYear": 27
  }
}