- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PaymentProfile Order
Are the PaymentProfiles that are returned when calling getCustomerProfileRequest returned in any particular order? I have some clients that have multiple PaymentProfiles, not all that are active (not expired) and I want to retrieve the most recent profile. As it stands now, I am looping over all the payment profiles and evaluating which ones are active and which have expired. Are they listed in a descending order by creation date?
โ10-06-2023 02:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://developer.authorize.net/api/reference/index.html#customer-profiles-get-customer-profile-ids
Here it appears the IDs are returned in numeric ascending order, which is probably the order in which they were created.
โ10-08-2023 05:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks @marine2026 that is what I am seeing as well. I wish that there was something actually documented though so that I can trust putting that logic into my code.
โ10-10-2023 06:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dean,
I recommend calling the tech support line and asking them for verbal clarification that the profile IDs are created in numeric ascending order. That knowledge would increase your confidence....
David
โ10-10-2023 08:21 AM

