Card

Extends \MercadoPago\Entity

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

Methods

Properties

id

id : integer
Attribute

(primaryKey = true)

var

Type(s)

integer

customer_id

customer_id : string
Attribute

(required = true)

var

Type(s)

string

expiration_month

expiration_month : integer
Attribute

()

var

Type(s)

integer

expiration_year

expiration_year : integer
Attribute

()

var

Type(s)

integer

first_six_digits

first_six_digits : string
Attribute

()

var

Type(s)

string

last_four_digits

last_four_digits : string
Attribute

()

var

Type(s)

string

payment_method

payment_method : object
Attribute

()

var

Type(s)

object

security_code

security_code : object
Attribute

()

var

Type(s)

object

issuer

issuer : object
Attribute

()

var

Type(s)

object

cardholder

cardholder : object
Attribute

()

var

Type(s)

object

date_created

date_created : string
Attribute

()

var

Type(s)

string

date_last_updated

date_last_updated : string
Attribute

()

var

Type(s)

string