Yeah, I did read this already. So what's the difference between registration and enrollment? This is confusing. The documentation explains what it does but does NOT explain the reason for resitering or enrolling? In all the docs I've read and I've read a lot, it appears that enrolling and registering is the same? Please help. Thanks.
Can I get some clarification on this please?
Hi,
Registration: Register a primaryAccountNumber or Visa token or Bank Account Number in VTC.
https://developer.visa.com/capabilities/vctc/reference#vctc__customer_rules__v1__registration
Batch Enrollment: This API will allow Issuer to enroll multiple cards in to VTC with common set of VTC controls. API accepts List of Cards and control rules templates what will be applied to all cards being enrolled. forceEnrollment flag is set to true then any previous enrollment for any of requested PAN will be over written with then controls in the request.
https://developer.visa.com/capabilities/vctc/reference#vctc__customer_rules__v1__batch_enrollment
Community Forum Post: https://community.developer.visa.com/t5/Getting-Started-with-Visa/Customer-Rules-API-Batch-Enrollmen...
Thank you,
Diana
Hi pwharff,
Registration will return the document ID that will be associated with the PAN. Later you can use the document ID to invoke the Customer Rules API and establish the controls. Batch Enrollment will register a list of PANs and will also establish the same controls for the list of PANs that are enrolled.
Thank you,
Diana
Hi pwharff,
This issue was due to VTC Sandbox code error. Please retest the /v1/consumertransactioncontrols/batch API and let me know if you have other questions.
Sample Request:
{
"cardsType":"PAN",
"enrolledCards":[
{
"accountIdentifier":"4161***********"
}
],
"controlRules":{
"globalControl":{
"alertThreshold":10,
"declineThreshold":100,
"isControlEnabled":true,
"shouldAlertOnDecline":true,
"shouldDeclineAll":false
},
"transactionControls":[
{
"alertThreshold":10,
"controlType":"TCT_ATM_WITHDRAW",
"declineThreshold":100,
"isControlEnabled":true,
"shouldAlertOnDecline":true,
"shouldDeclineAll":false
}
]
},
"forceEnrollment":true
}
Sample response :
{
"receivedTimestamp": "2018-04-10 23:25:46.926",
"processingTimeinMs": 188,
"resource": {
"status": "SUCCESS"
}
}
Thank you,
Diana
Awesome! Thanks Diana. That worked.