Dear Team
Could you support on below error as is not clear if there is a field issue or jwe encryption problem.
The jwe had been encrypted with share_secred under the specific api key for encryption(the one used in kid)
Resp:
{"errorResponse":{"status":400,"message":"Input for encPaymentInstrument is invalid or inconsistent with the profile.","reason":"invalidParameter","details":[{"location":"encPaymentInstrument"}]}}
Call to provisionedTokens
https://sandbox.digital.visa.com/vts/provisionedTokens?apiKey=LPF23GQIUDEQCGYTYRBF21dP2Kcxxxxxxxxxxx...
Here is the string for x-pay-token:
563360527vts/provisionedTokensapiKey=LPF23GQIUDEQCGYTYRBF21dP2Kxxxxxxxxxxxxxxxxx{"clientAppID":"RomCard","clientWalletAccountID":"RomCard","locationSource":"WIFI","locale":"en_US","clientWalletAccountEmailAddressHash":"DSJFLDSFJSDKNGJ234NSD2","protectionType":"SOFTWARE","panSource":"MANUALLYENTERED","consumerEntryMode":"KEYENTERED","encPaymentInstrument":"eyJpdiI6IlNHaHhnenBGVTZRZkxQTF8iLCJ0YWciOiJmNkwyV3lvT2wzSUJ6eXQzMEhRd25BIiwiYWxnIjoiQTI1NkdDTUtXIiwiZW5jIjoiQTI1NkdDTSIsImlhdCI6MTU2MzM2MDUyNywiZXhwIjoxNTYzMzY0MTI3LCJpc3MiOiJwcm92aXNpb25lZFRva2VucyIsImtpZCI6IkNPMERLTjE5VUJaM0IwOUtRSVVCMTNvUmUxMG1wYmg0bW1XRmttNXNuTy1UTExBZE0iLCJhdWQiOjE1NjMzNjA1Mjd9.1q5mz4PbnF3ck_O567BsqG1JmFh9wymFaVmTk79F2jg.s6t-jRBm5oxSKy2p.k7hj3wOMxcC7fFsj0SvSexTQLda0rbwXbp5c5mhPRngVvZeh7_ov8NKYf8TtHohmC74qjRphia9EaM-PjgXNwb5PHfppS1CTPIYAplVoXUx7P5fcG_MxAc7WOV9MYhh3si9IYTevwhTFhIJM9MR-qsOzwoVCLnKELnpYePLsU8W7ODw9B8Bm7kPfkFbRv1qk-fa-FNYw9FECVsbbX11q0CLsIC33xAXuZ2oJOmpxL4QYUcsu9y5E-VaiJPKeJ0DRrcgF6clSGMRiH0Vqz6Taw48ToNS48r0UKpS4rkjcjJbPyV7DWijEIojlJRh1dy_FzXrK-Q.P1tFsPvvCjoIqs9gnFAwUw","presentationType":["ECOM"]}
here is the body:
{"clientAppID":"RomCard","clientWalletAccountID":"RomCard","locationSource":"WIFI","locale":"en_US","clientWalletAccountEmailAddressHash":"DSJFLDSFJSDKNGJ234NSD2","protectionType":"SOFTWARE","panSource":"MANUALLYENTERED","consumerEntryMode":"KEYENTERED","encPaymentInstrument":"eyJpdiI6IlNHaHhnenBGVTZRZkxQTF8iLCJ0YWciOiJmNkwyV3lvT2wzSUJ6eXQzMEhRd25BIiwiYWxnIjoiQTI1NkdDTUtXIiwiZW5jIjoiQTI1NkdDTSIsImlhdCI6MTU2MzM2MDUyNywiZXhwIjoxNTYzMzY0MTI3LCJpc3MiOiJwcm92aXNpb25lZFRva2VucyIsImtpZCI6IkNPMERLTjE5VUJaM0IwOUtRSVVCMTNvUmUxMG1wYmg0bW1XRmttNXNuTy1UTExBZE0iLCJhdWQiOjE1NjMzNjA1Mjd9.1q5mz4PbnF3ck_O567BsqG1JmFh9wymFaVmTk79F2jg.s6t-jRBm5oxSKy2p.k7hj3wOMxcC7fFsj0SvSexTQLda0rbwXbp5c5mhPRngVvZeh7_ov8NKYf8TtHohmC74qjRphia9EaM-PjgXNwb5PHfppS1CTPIYAplVoXUx7P5fcG_MxAc7WOV9MYhh3si9IYTevwhTFhIJM9MR-qsOzwoVCLnKELnpYePLsU8W7ODw9B8Bm7kPfkFbRv1qk-fa-FNYw9FECVsbbX11q0CLsIC33xAXuZ2oJOmpxL4QYUcsu9y5E-VaiJPKeJ0DRrcgF6clSGMRiH0Vqz6Taw48ToNS48r0UKpS4rkjcjJbPyV7DWijEIojlJRh1dy_FzXrK-Q.P1tFsPvvCjoIqs9gnFAwUw","presentationType":["ECOM"]}
unecrypted payload:
{"accountNumber":"4411059860000004","name":"BillEvans","cvv2":"123","expirationDate":{"month":"10","year":"2015"},"billingAddress":{"line1":"801MetroCenterBlvd","line2":null,"city":"FosterCity","state":"CA","country":"US","postalCode":"94404"}}
Hey @mihaidicu,
I'll take a look and get back to you soon!
Hey @mihaidicu,
In this case, we're going to need some contact information from you, or your access key, not the Shared Secret key from your credentials. These apis are currently available by invitation only, and we'll redirect you to the associated technical account manager. Please submit this query to us by sending an email to developer@visa.com and please reference this community forum link so that we can provide you with further assistance and get your contact information through email.
For further assistance, please email developer@visa.com.
Exactly same error here. Did you get it solved mihaidicu?