Send a request to this endpoint to enrol a cardholder in Click to Pay and add a card to the account. You may override the cardholder’s email address and phone number, by using the field overrides.
If you provide cardOverrides, the billing address fields present in cardOverrides override the corresponding values sent to Visa for this request.
Any billing address fields omitted from cardOverrides fall back to the existing stored cardholder data.
If cardOverrides is omitted entirely, the existing stored cardholder data is used for all billing address fields.
If the request is successful, Visa returns a unique request ID (requestTraceId).
Please note that this endpoint submits data to Visa Click to Pay and some fields, especially the card billing address, are validated according to Visa requirements. These validations may be stricter than Enfuce API validations. For example, billing address lines must not exceed 64 characters, and certain special characters are not allowed. Enfuce does not automatically modify address data before submitting it to Visa, so requests may fail if the provided billing address does not meet Visa’s requirements.
For Click to Pay enrolment, Visa applies the following restrictions to billing address fields:
addressLine1-addressLine3: maximum 64 characters eachcity: maximum 32 characterspostalCode: maximum 9 characterscountry: 3-character ISO 3166 alpha-3 code when provided[, ], {, }, :, &, $, ^, !, =, ;, *, #, backtick, <, >, ", ”@ character is not allowed in billing address fields.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier of the customer. You have received this via the Customer API.
The audit user to log the request
Unique identifier of the card type you want to enrol in C2P. You have received this via the Card API. Note: If you send multiple card IDs, the request fails and returns an error.
1 elementUnique identifier assigned to each issuer. Note: If you are using our BIN sponsorship, we provide you the customerBID; else, Visa provides you the customerBID.
"123456"
Customer overrides are used to override the customer information that is stored in the Visa C2P.
Card overrides are used to provide Visa-compliant billing address fields specifically for the Click to Pay request.
Any fields present in cardOverrides override the corresponding billing address values sent to Visa for that request.
Any omitted fields fall back to the existing stored cardholder data.
{
"addressLine1": "1000 Market Street",
"addressLine2": "Building 56",
"city": "San Francisco",
"postalCode": "94105",
"country": "USA"
}Accepted
Unique identifier of the request
36"351562ba-83cf-11ee-b962-0242ac120002"