Customer - Account
Get credit card information
get/v2/user/customer/account/creditCardInfo
Headers
If-None-Matchstring
ETag value to identify the last known version of requested resource.
To avoid useless exchange, we recommend you to indicate the ETag you previously got from this operation.
If the ETag value does not match the response will be 200 to give you a new content, otherwise the response will be: 304 Not Modified, without any content.
For more details go to this link: http://tools.ietf.org/html/rfc7232#section-2.3
Response
User credit card information
Example response
{
"links": {
"self": {
"href": "/v2/user/customer/account/creditCardInfo",
"method": "GET"
},
"saveCreditCardInfo": {
"href": "/v2/user/customer/account/creditCardInfo",
"method": "PUT"
}
},
"creditCardInfo": {
"cardNumber": "1234567890091234",
"cardType": "VISA"
}
}