Payments
Gets the list of member payment card entities for the currently authenticated member
Changed onLicenses Required
- Vista.Ocapi
get/ocapi/v1/members/current/payment-cards
Request
- Base URLhttps://developer.vista.co (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
loyaltySessionTokenstring
Current Loyalty session token, represents a 'signed-in' member
Connect-Region-Codestring
Region Code
Response
Success
Example response
{
"cards": [
{
"cardDetails": {
"maskedCardNumber": "411111......1111",
"type": "VISA",
"expiryMonth": 1,
"expiryYear": 27
}
}
]
}Changes
- info
added to the
//response propertyallOflist for the response status - info
removed from the
//response propertyallOflist for the response status
- info