PUT////
Use this endpoint to update cardholder information for Click to Pay for Visa.
For more information about this ecommerce checkout solution, see Click to Pay.
Header parameter
| Fields | Description |
|---|---|
| req-sys-id string Required | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta. Allowable Values: 36 char max |
| external-consumer-id-owner-bid string Required | Visa Business Identifier (BID) of the entity to which an External Consumer ID belongs. Allowable Values: 1–8 chars |
Request body
| Fields | Description |
|---|---|
| user object Required | User’s email address, mobile phone number without country code, first name, last name, locale, and country. Allowable Values: userToken, email, phone, firstName, lastName, locale, country |
| user.userToken string Required | Unique identifier of the cardholder. Allowable Values: 1–36 chars |
| user.email string Required | User’s email address. Allowable Values: 255 char max |
| user.phone string Required | User’s mobile phone number according to ITU-T E.164 (2010) number structure. NOTE: In the E.164 format, the ”+” sign is not included. Allowable Values: 1–16 chars |
| user.firstName string Required | User’s first name. Allowable Values: 1–35 chars |
| user.lastName string Required | User’s last name. Allowable Values: 1–35 chars |
| user.locale string Required | The user-provided language choice. The ISO 639-2 language code is a two-letter country code that represents a language. The ISO maintains the ISO 639-2 language codes. Allowable Values: 2–5 chars |
| user.country string Required | ISO 3166-1 alpha-3 country code. Allowable Values: 3 chars |
Sample request body
JSON
{
"user": {
"userToken": "1234567890",
"firstName": "John",
"lastName": "Smith",
"email": "example@email.com",
"phone": "111-111-1111",
"locale": "en_US",
"country": "USA"
}
}
Response body
| Fields | Description |
|---|---|
| requestTraceId string Returned | Unique identifier of the Visa Click to Pay request. Allowable Values: 1–36 chars |
Sample response body
JSON
{
"requestTraceId": "2b6f0cc904d137be2e1730235f5664094b83"
}