Update Card by Card ID in C2Pay
Send a request to this endpoint to update Card info.
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.
Billing address restrictions
For Click to Pay card updates, 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- The following characters are not allowed:
[,],{,},:,&,$,^,!,=,;,*,#, backtick,<,>,",” - The
@character is not allowed in billing address fields.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
The card id of which card you want to update.
Query Parameters
The audit user to log the request.
Body
Unique 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"
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"
}Response
Accepted
Unique identifier of the request
36"351562ba-83cf-11ee-b962-0242ac120002"

