Re: Customer Rules API - Batch Enrollment Error

pwharff
Helper

Re: Customer Rules API - Batch Enrollment Error

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.

pwharff
Helper

Re: Customer Rules API - Batch Enrollment Error

Can I get some clarification on this please?

API_Products
Visa Developer Support Specialist

Re: Customer Rules API - Batch Enrollment Error

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




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

pwharff
Helper

Re: Customer Rules API - Batch Enrollment Error

This is the same reply from before. Maybe I should ask the question differently. If I register 3 different PANs using 3 separate calls to the registration API, would this be the same as using a batch enrollment API for those 3 PANs, but with a single API call?
API_Products
Visa Developer Support Specialist

Re: Customer Rules API - Batch Enrollment Error

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




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Products
Visa Developer Support Specialist

Re: Customer Rules API - Batch Enrollment Error

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




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

pwharff
Helper

Re: Customer Rules API - Batch Enrollment Error

Awesome! Thanks Diana. That worked.