Skip to content

Unable to get StripeResponse.RequestId from ListAutoPagingAsync() calls #2771

Open
@antfitz

Description

Is your feature request related to a problem? Please describe.

Currently we sync data from the Stripe API and utilise the AutoPaging functionality of the SDK. When we receive the Stripe.Charge object back from looping a call to ListAutoPagingAsync(), there is no RequestId stored with object. The Charge.StripeResponse object is null.

Describe the solution you'd like

It would be good to be able to store the RequestId against each object returned from the ListAutoPagingAsync() call (and the other StripeResponse objects).

Describe alternatives you've considered

I can manaully write paginated calls to ListAsync() and using the StartingAfter or EndingBefore and get the headers for each call, but its just much easier to use the provided auto paging functionality of the SDK.

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions