Updates this object
The properties that can be updated:
-
card => addressCity City of the cardholder.
(required)
-
card => addressCountry Country code
(ISO-3166-1-alpha-2 code) of residence of the cardholder.
(required)
-
card => addressLine1 Address of the cardholder.
(required)
-
card => addressLine2 Address of the cardholder if
needed. (required)
-
card => addressState State code (USPS code) of
residence of the cardholder. (required)
-
card => addressZip Postal code of the cardholder. The
postal code size is between 5 and 9 in length and only contain
numbers or letters. (required)
-
card => cvc CVC security code of the card. This is
the code on the back of the card. Example: 123 (required)
-
card => expMonth Expiration month of the card. Format
is MM. Example: January = 01 (required)
-
card => expYear Expiration year of the card. Format
is YY. Example: 2013 = 13 (required)
-
card => id ID of card. If present, card details for
the customer will not be updated. If not present, the customer will
be updated with the supplied card details.
-
card => name Name as appears on the card.
(required)
-
card => number Card number as it appears on the card.
[max length: 19, min length: 13]
-
email Email address of the customer (required)
-
name Customer name [min length: 2] (required)
-
reference Reference field for external applications use.
-
token If specified, card associated with card token will
be added to the customer
- Parameters:
auth_args - an Authentication object used for the API call. If no value is
passed the gloabl keys simplify.public_key and
simplify.private_key are used. For backwards compatibility the
public and private keys may be passed instead of an
Authentication object.
- Returns:
- a Customer object.
|