Was anyone successful in decrypting the CIM profiles that authorize sent? I am facing some issue in doing the same.
โ04-12-2021 09:45 AM
Hello @algoworks888,
The Customer Profile responses sent back by Authorize.net are very clear. An example of the response to a getCustomerProfileRequest is below:
{
"profile": {
"paymentProfiles": [{
"customerPaymentProfileId": "87",
"payment": {
"creditCard": {
"cardNumber": "XXXX1111",
"expirationDate": "XXXX",
"cardType": "Visa",
"issuerNumber": "411111"
}
},
"originalNetworkTransId": "0TN1VE648DFCJSHQ81GZH9F",
"originalAuthAmount": 0,
"billTo": {
"phoneNumber": "000-000-0000",
"firstName": "John",
"lastName": "Doe",
"address": "123 Main St.",
"city": "Bellevue",
"state": "WA",
"zip": "98004",
"country": "USA"
}
}, {
"customerPaymentProfileId": "86",
"payment": {
"creditCard": {
"cardNumber": "XXXX1111",
"expirationDate": "XXXX",
"cardType": "Visa",
"issuerNumber": "411111"
}
},
"originalNetworkTransId": "0STSMT7WLO5D80U0KJR4Z9A",
"originalAuthAmount": 0,
"customerType": "individual",
"billTo": {
"phoneNumber": "123-123-1235",
"firstName": "Customer FirstName",
"lastName": "Customer LastName",
"address": "123 Main St.",
"city": "Bellevue",
"state": "WA",
"zip": "98004",
"country": "USA"
}
}
],
"profileType": "regular",
"customerProfileId": "527262",
"merchantCustomerId": "MerchantCustID",
"description": "Profile description here",
"email": "customer-profile-email@here.com"
},
"messages": {
"resultCode": "Ok",
"message": [{
"code": "I00001",
"text": "Successful."
}
]
}
}
โ04-12-2021 05:33 PM