The following is a list of services and use cases supported by Visa ID & Credential API.
The APIs allow clients to modify the following categories of data.
Category | Description | Examples |
---|---|---|
intent |
This specifies the service which the data needs to be enrolled in. |
|
consumerInformation | This object contains information about the consumer. Issuers are required to provide an externalConsumerID to represent each consumer. All data provided will be linked to this identifier. |
|
paymentInformation | This object contains information about the payment instrument. |
|
Endpoint | Overview |
---|---|
Enroll Data POST /v1/enrollData |
|
Enroll Payment Instruments POST /v1/enrollPaymentInstruments |
|
Manage Consumer Information PUT /v1/manageConsumerInformation |
|
Manage Payment Instrument Data PUT /v1/managePaymentInstruments |
|
Get Data POST /v1/getData |
|
Delete Consumer Information POST /v1/deleteConsumerInformation |
|
Delete Payment Instrument Data POST /v1/deletePaymentInstruments |
|
Request Status by Request Trace ID GET /v1/requestStatus/{{requestTraceId}} |
|
{
"intent": {
"type": "PRODUCT_CODE",
"value": "CLICK_TO_PAY"
},
"consumerInformation": {
"externalConsumerID": "63421837-d597-4f0f-89e4-930c1a7b9e85",
"firstName": "Alex",
"middleName": "Noa",
"lastName": "Miller",
"phones": [
"16504005555"
],
"emails": [
"[email protected]"
],
"locale": "en_US",
"countryCode": "USA"
},
"paymentInstruments": [
{
"type": "CARD",
"accountNumber": "4111111145551140",
"nameOnCard": "Alex Miller",
"expirationDate": "2030-01",
"billingAddress": {
"addressLine1": "1000 Market Street",
"addressLine2": "Building 56",
"addressLine3": "Suite 101",
"city": "San Francisco",
"postalCode": "94105",
"state": "CA",
"country": "USA"
}
}
]
}
A successful response body will be a 202. The outcome of enrollment can be retrieved via the Request Status by Request Trace ID API using the requestTraceId provided in the response.
{
"intent": {
"type": "PRODUCT_CODE",
"value": "CLICK_TO_PAY"
},
"consumerInformation": {
"externalConsumerID": "63421837-d597-4f0f-89e4-930c1a7b9e85"
},
"paymentInstruments": [
{
"type": "CARD",
"accountNumber": "4111111145551141",
"nameOnCard": "Alex Miller",
"expirationDate": "2030-12",
"billingAddress": {
"addressLine1": "1000 Market Street",
"addressLine2": "Building 56",
"addressLine3": "Suite 101",
"city": "San Francisco",
"postalCode": "94105",
"state": "CA",
"country": "USA"
}
}
]
}
A successful response body will be a 202. The outcome of enrollment can be retrieved via the Request Status by Request Trace ID API using the requestTraceId provided in the response.
{
"intent": {
"type": "PRODUCT_CODE",
"value": "CLICK_TO_PAY"
},
"consumerInformation": {
"externalConsumerID": "63421837-d597-4f0f-89e4-930c1a7b9e85",
"firstName": "Alex",
"middleName": "Noa",
"lastName": "Miller",
"phones": [
"16504005555"
],
"emails": [
"[email protected]"
],
"locale": "en_US",
"countryCode": "USA"
}
}
A successful response body will be a 202. The outcome of the update can be retrieved via the Request Status by Request Trace ID API using the requestTraceId provided in the response.
{
"intent": {
"type": "PRODUCT_CODE",
"value": "CLICK_TO_PAY"
},
"consumerInformation": {
"externalConsumerID": "63421837-d597-4f0f-89e4-930c1a7b9e85"
},
"paymentInstruments": [
{
"type": "CARD",
"accountNumber": "4111111145551140",
"nameOnCard": "Alex Miller",
"expirationDate": "2030-01",
"billingAddress": {
"addressLine1": "98 Montgomery Street",
"addressLine2": "Suite 24",
"city": "San Francisco",
"postalCode": "94104",
"state": "CA",
"country": "USA"
}
}
]
}
A successful response body will be a 202. The outcome of the update can be retrieved via the Request Status by Request Trace ID API using the requestTraceId provided in the response.
{
"intent": {
"type": "PRODUCT_CODE",
"value": "CLICK_TO_PAY"
},
"consumerInformation": {
"externalConsumerID": "63421837-d597-4f0f-89e4-930c1a7b9e85"
}
}
{
"data": [
{
"intent": {
"type": "PRODUCT_CODE",
"value": "CLICK_TO_PAY"
},
"consumerInformation": {
"externalConsumerID": "63421837-d597-4f0f-89e4-930c1a7b9e85",
"firstName": "Alex",
"middleName": "Noa",
"lastName": "Miller",
"phones": [
"16504323200"
],
"emails": [
"[email protected]"
],
"locale": "en_US",
"countryCode": "USA"
},
"paymentInstruments": [
{
"type": "CARD",
"accountNumber": "4111111145551140",
"nameOnCard": "Alex Miller",
"expirationDate": "2030-01",
"billingAddress": {
"addressLine1": "98 Montgomery Street",
"addressLine2": "Building 109",
"addressLine3": "Suite 26",
"city": "San Francisco",
"postalCode": "94104",
"state": "CA",
"country": "USA"
},
{
"type": "CARD",
"accountNumber": "4111111145551141",
"nameOnCard": "Alex Miller",
"expirationDate": "2030-12",
"billingAddress": {
"addressLine1": "1000 Market Streets",
"addressLine2": "Building 56",
"addressLine3": "Suite 101",
"city": "San Francisco",
"postalCode": "94105",
"state": "CA",
"country": "USA"
}
}
]
}
]
}
{
"intent": {
"type": "PRODUCT_CODE",
"value": "CLICK_TO_PAY"
},
"consumerInformation": {
"externalConsumerID": "63421837-d597-4f0f-89e4-930c1a7b9e85"
}
}
A successful response body will be a 202. The outcome of the update can be retrieved via the Request Status by Request Trace ID API using the requestTraceId provided in the response.
{
"intent": {
"type": "PRODUCT_CODE",
"value": "CLICK_TO_PAY"
},
"consumerInformation": {
"externalConsumerID": "63421837-d597-4f0f-89e4-930c1a7b9e85"
},
"paymentInstruments": {
"type": "CARD",
"accountNumber": "4111111145551141"
}
}
A successful response body will be a 202. The outcome of the update can be retrieved via the Request Status by Request Trace ID API using the requestTraceId provided in the response.
{
"status": "COMPLETED",
"consumerInformation": {
"externalConsumerID": "63421837-d597-4f0f-89e4-930c1a7b9e85"
},
"details": [
{
"intent": {
"type": "PRODUCT_CODE",
"value": "CLICK_TO_PAY"
},
"status": "FAILED",
"errorDetails": [
{
"field": "paymentInstruments[0].type",
"reason": "VIDC-1001"
}
]
}
]
}
This section describes some rules that Click to Pay applies when processing the request it receives via Visa ID and Credentials platform. Note: This section provides an overview of the validations and processing logic applied when an API request is received, it does not replace the API specification.
Visa ID and Credentials APIs perform initial checks on the parameters and follow some rules before securely passing the request to products like Click to Pay. It will return an error if the following conditions occur.
Once the initial checks have been performed by Visa ID and Credentials APIs, request is passed to Click to Pay and further validations and processing logic is applied as detailed below.
Disclaimer: This page is provided on an “as is, where is” basis, “with all faults” known and unknown. This page could include technical inaccuracies or typographical errors. Changes are periodically added to the information herein: these changes will be incorporated in new editions of the document. VISA may make improvements and/or changes in the product(s) and/or the program(s) described in this document at any time. Where potential future functionality is highlighted, visa does not provide any warranty on whether such functionality will be available or if it will be delivered in any particular time. To the maximum extent permitted by applicable law, visa explicitly disclaims all warranties, express or implied, regarding the information contained herein, including any implied warranty of merchantability, fitness for a particular purpose, and non-infringement.
If you have technical questions or questions regarding a Visa service or questions about this document, please contact your Visa representative.