#Alex Rodriguez

1 messages · Page 1 of 1 (latest)

lapis patioBOT
hasty grove
#

Hi there!

#

But you cannot pass a PaymentIntent ID there

wintry inlet
#

But limited to 30 days also right?

hasty grove
#

You would pass the event name.

#

But limited to 30 days also right?
Correct

wintry inlet
#

ok thanks, I don't think that really gives us a lot to work with

tropic shard
#

Hello, I think there is actually a way to do this with that endpoint

#

Try running it and pass the paramterer object_id=pi_123456..., that should list events related to that intent

#

Though I think that that might only be events directly related to the payment intent, ie payment_intent.* events. For other ones like charge.* I think you would need to make other list calls

wintry inlet
#

ok thanks, I'll try that one. Is there any way to overcome 30 day limit? Even if it involves paying more..

tropic shard
#

Unfortunately not, the data is actually deleted beyond that point. For that you would have to save the relevant event data in your own DB and look it up there

wintry inlet
#

cool thanks all 🙂

#

I just tried and it works like magic, please document this in your API reference

tropic shard
#

Will put in that feedback. Not sure why it isn't there already