hello support,
i am trying to implement the Visa In-App Provisioning(Universal card enrollment) in postman and im getting a 401 response error.
I tried encrypting the card data with the JWE encryption method, using my api key and shared secret but somehow, it doesnt work
{
"responseStatus": {
"status": 401,
"code": "9123",
"severity": "ERROR",
"message": "Expected input credentials were not present",
"info": ""
}
}
Hi @infinetwallet,
The error you're seeing is due to the Basic Authentication not being sent in the header with username and password.
For more information, please read the information on this page: Visa Developer Error Codes,
Thanks,
Illana
Hi @infinetwallet,
Please provide the following information so that I may assist you further:
Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.
Thanks,
Illana
Hi @infinetwallet,
The sample request payload for the Enroll Card API is:
{
"encCard": "eyJraWQiOiIyRUkzRE5WU1pHTUFERFlOTUtNMDExd2o3Z2V4WUJILWhOMkpzSFg5NHlkaktjb0VVIiwiZW5jIjoiQTI1NkdDTSIsImFsZyI6IlJTQS1PQUVQLTI1NiJ9.Ahg9Pt2j3UJfVSKj5Tmk8kKEywHoYCbBBvwUKblOh_0M5Nb5RfsDG1Kw9M3-Sqs8_VZZ9rMRZRvDnDFzV8LgRIx-Z5fMQLdoFtOzTpOr-aD-Zx4sQSxkjI1HoZBkZTGkxNiUM5LRNMkJ5HaP0SprddkY4dO3J74xiQNDUTiHlCjsQHnGyWFwcE3B-kq9ooj--AgFMdAkPogNTcLnZoYi3HAgZk2T-Dnq_AbSJzk7xPHtklHEOrFfRRBhsDzRk__sXcmMjFlEJ5T3NK8TCOrdE6q9m13tzTpIrnV3BOWCO4FeKLrkTBzA2270oXLLTX_im0kFCVTKqtCz0oHRPFCAhQ.O7x3brFeJmSyxTER.45ETkDsYpag37X6yeHd0aOBAttQYaPI9333k-Z_t9QQez1VDSfY2yv_S3iDVcSErJP2UnxrTaHm89_bVDAc2yOwZXhxiT-1hEIFf2tJNIF4tSfb4nHiK8YI1exjQevG05KiBpvAqZEd_jF4n8Fl-iiPQFurbqkI.raYixQnXRc_86p3AkMTyZQ"
}
This is the sample payload copied directly from: https://developer.visa.com/capabilities/visa-in-app-provisioning/reference#tag/Universal-Card-Enroll...
Please try this payload and let me know if this helps.
Thanks,
Illana
Hi @infinetwallet,
Ok, I've submitted a ticket with the technical team to see if they can look deeper into your issue.
I'll reach back out when I have an update.
Thanks,
Illana