#Ken Wong-IDs
1 messages · Page 1 of 1 (latest)
They do not change. ch is the prefix for a Charge ID. When you say some with ch some with pi, where are you getting each?
not being too familiar with the front end, i was working with an accountant here... she had both a ch and pi ID for a transaction or something, so I got a little confused.
i thought one transaction either had 1, but not both... is that my understanding correct?
Oh I see. So a these are two different kinds of objects
A PaymentIntent is for the process of trying to collect a payment from a customer. When you try to confirm it, it will generate a Charge which is an actual attempt to collect payment
i see.
What are you trying to do or understand with these at the moment?
i am about to start on grabbing all the transactions from the API that was processed through our billing software and compare to make sure we captured all the items to print on a bill
so for pi_ ids, are they grabbed from another endpoint?
I'm going to be working on this endpoint that another dev team member in the discord gave me: https://stripe.com/docs/api/payment_intents/list#list_payment_intents-created-gte
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That sounds right.
Charges can be directly made without a PaymentIntent but if your integration only uses PaymentIntents, they will be the objects to list
ok. so would a transaction return two records? a CH and a PI record?
Not sure what you mean by "transaction".
Is that one of your objects or colloquially referring to a Stripe object?
All successful PaymentIntents will have a successful charge associated with them
i'm trying to use the parameter created.gte - but in postman, it says it does not exist... i want to bring back all records greater than a certain date based on epoch time.
i tried several variations. the reference doc doesn't have the right info, it seems
i figured it out... use brackets
Ah, yep, you got it. 🙂
The problem I have right now is paginating. I'm using Postman, I saw the manual paging video using the last id. I'm also using SSIS w/ ZappySys and the way Stripe pages isn't the normal routine of fetch the next URL or record ID, but it is the last ID of the record set to start the next record set. Any other option to have it cycle through the list using URL parameter that isn't using the method of taking the last ID method?
@fiery oracle no there is no other solution
ok