The cards class is the way to store card data of your customers safely to improve the shopping experience.
This will allow your customers to complete their purchases much faster and easily, since they will not have to complete their card data again.
This class must be used in conjunction with the Customer class.
| link |
Click here for more infos |
|---|---|
| RestMethod |
(resource="/v1/customers/:customer_id/cards", method="create") |
| RestMethod |
(resource="/v1/customers/:customer_id/cards/:id", method="read") |
| RestMethod |
(resource="/v1/customers/:customer_id/cards/:id", method="update") |
| RestMethod |
(resource="/v1/customers/:customer_id/cards/:id", method="delete") |
| package |
Default |
id : integer
| Attribute |
(primaryKey = true) |
|---|---|
| var |
integer
customer_id : string
| Attribute |
(required = true) |
|---|---|
| var |
string
expiration_month : integer
| Attribute |
() |
|---|---|
| var |
integer
expiration_year : integer
| Attribute |
() |
|---|---|
| var |
integer
first_six_digits : string
| Attribute |
() |
|---|---|
| var |
string
last_four_digits : string
| Attribute |
() |
|---|---|
| var |
string
payment_method : object
| Attribute |
() |
|---|---|
| var |
object
security_code : object
| Attribute |
() |
|---|---|
| var |
object
issuer : object
| Attribute |
() |
|---|---|
| var |
object
cardholder : object
| Attribute |
() |
|---|---|
| var |
object
date_created : string
| Attribute |
() |
|---|---|
| var |
string
date_last_updated : string
| Attribute |
() |
|---|---|
| var |
string