cancel
Showing results for 
Search instead for 
Did you mean: 

Response to expect - customerPaymentProfileId or customerPaymentProfileIdList

In CIM I see a response sometimes that that shows customerPaymentProfileId and

sometimes customerPaymentProfileIdList.  List always shows up with more than one payment profile but the CIMXML Examples show both could occur when only one payment profile is sent.  I am using this to parse out the data and so need to know what to expect both in payment profiles and Customer profiles.

 

Do I need to somehow code for both possibilities?

 

Thanks

spenceka
Contributor
2 REPLIES 2

If creating a profile, the payment profile ID list is supposedly sent whenever one or more payment profiles are created. I'd say check for the list first, and if it doesn't exist, use the single value.

TJPride
Expert

Thanks for confriming my suspicions.