Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Production getCustomerPaymentProfileListRequest has hardcoded limit of 10?

So we ran our first production check of expiring credit cards earlier this week, and got back 10 results instead of the much larger number we expected.
The problem appears to be that the production function getCustomerPaymentProfileListResponse doesn't work as advertised.   While you can specify a paging limit between 1 and 1000, the production gateway appears to always use a paging limit of 10 in the response.

Calling this (sensitive data censored out):

<getCustomerPaymentProfileListRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">

Returns this (sensitive data censored out):

    xmlns:xsi="" xmlns:xsd=""

[Only 10 PaymentProfile records]

I was able to work around the problem by continuing to fetch data with ever-increasing paging-offsets until I got a response back with no payment profiles.
Who Me Too'd this topic