Hello, I'm trying to create a customer payment profile using the encrypted data (opaque data) returned from acceptjs. The response message i'm getting is saying that i require card data??
REQUEST WITH BANK OPAQUE DATA:
{
"customerProfileId": "1813863342",
"paymentProfile": {
"payment": {
"Item": {
"dataDescriptor": "COMMON.ACCEPT.INAPP.PAYMENT",
"dataValue": "eyJjb2RlIjoiNTBfMl8wNjAwMDUyREVFMjEwNUMxMEI5RTc0NzY5REFEQzY1Q0E1M0E3RTYxMkY2ODdCQkVBRjE0QjQ5QjI4NkEzODI2RjIyNENGQkNCRkVBOUYxQjk0MzBEOEE0QkRGRTZDMEYxQ0I3Mjc4IiwidG9rZW4iOiI5NTE1NDQ5NjA5MTQyNDczMzA0NjA0IiwidiI6IjEuMSJ9",
"dataKey": null
}
},
"driversLicense": null,
"taxId": null,
"defaultPaymentProfileSpecified": false,
"customerTypeSpecified": false,
"billTo": {
"phoneNumber": null,
"faxNumber": null,
"email": null,
"firstName": null,
"lastName": null,
"company": null,
"address": "fasdgf",
"city": "Fak",
"state": "Fake State",
"zip": "FAKEYOU",
"country": "Fake Country"
}
},
"validationModeSpecified": false,
"merchantAuthentication": null,
"clientId": null,
"refId": null
}
RESPONSE FROM AUTHORIZE:
{
"customerProfileId": null,
"customerPaymentProfileId": null,
"validationDirectResponse": null,
"refId": null,
"messages": {
"resultCode": 1,
"message": [{
"code": "E00014",
"text": "Card Number is required."
},
{
"code": "E00014",
"text": "Expiration Date is required."
}]
},
"sessionToken": null
}
01-09-2018 09:02 AM