#jd-dev_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1430260136521371839
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- jd-dev_api, 5 hours ago, 14 messages
What charge type do you use for your connect payment? Direct Charges, Destination Charges, or Separate Charges or Transfers? If you're unsure, it'll be helpful to share an example Payment Intent ID (pi_123) which you want to retrieve, so that I can take a look how your integration works
i don't remember now but here is an payment intent id pi_3SKavjCbKxPFheRp1X2ElIHO
Thanks for sharing! This is a Destination Charge integration. To check the payments transferred to the connected account, I'd recommend using List Charges API with Stripe-Account header as connected account ID.
- List Charges API: https://docs.stripe.com/api/charges/list
- Add
Stripe-Accountheader: https://docs.stripe.com/api/connected-accounts
hey i have one more question when i expand the payment intent fetched from list charges api it's null... it should have the id of the payment intent that was originally created
and my second question is can i use list payment intent api to fetch those payment intent in which destination is a specif connected account? i don't see anything in the documentation that we could do that
Hello
For 1/ That's expected since the PaymentIntent has been created on the Platform account and is owned by the Platform. You'd want to expand source_transfer parameter instead - https://docs.stripe.com/api/charges/object#charge_object-source_transfer
For 2/ Unfortunately, no.. There are no parameters in the PaymentIntents API that let's you do that
and once you expand the source_transfer -> you'd want to look at source_transaction - https://docs.stripe.com/api/transfers/object#transfer_object-source_transaction
which should be the PaymentIntent ID you're looking for
ok i got it... just last question.... can i use metadata to filter out payment intents?
It won't work for List Endpoint but I believe Search PaymentIntents API should let you filter via metadata