If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more
Customer
Represents customer information for the shopping cart.
nameobject<object>Optional
The name of the payer. Supports only the given_name and surname properties.
object properties
2 properties
given_namestringOptional
When the party is a person, the party's given, or first, name.
Match^.*$Length0 <= length <= 140
surnamestringOptional
When the party is a person, the party's surname or family name. Also known as the last name. Required when the party is a person. Use also to store multiple surnames including the matronymic, or mother's, surname.
Match^.*$Length0 <= length <= 140
phoneobject<Phone>Optional
The phone number in its canonical international E.164 numbering plan format.
Phone properties
3 properties
country_codestringRequired
The country calling code (CC), in its canonical international E.164 numbering plan format. The combined length of the CC and the national number must not be greater than 15 digits. The national number consists of a national destination code (NDC) and subscriber number (SN).
Match^[0-9]{1,3}?$Length1 <= length <= 3
national_numberstringRequired
The national number, in its canonical international E.164 numbering plan format. The combined length of the country calling code (CC) and the national number must not be greater than 15 digits. The national number consists of a national destination code (NDC) and subscriber number (SN).
Match^[0-9]{1,14}?$Length1 <= length <= 14
extension_numberstringOptional
The extension number.
Match^[0-9]{1,15}?$Length1 <= length <= 15
email_addressstringOptional
The internationalized email address. Note: Up to 64 characters are allowed before and 255 characters are allowed after the @ sign. However, the generally accepted maximum length for an email address is 254 characters. The pattern verifies that an unquoted @ sign exists.