#-reduce-_api

1 messages ¡ Page 1 of 1 (latest)

vale flaxBOT
#

👋 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/1298970896488468501

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

native spear
quiet harbor
#

what param tells if payment Was charged with Link method

#

?

native spear
#

payment_method_details[type]: 'link'

quiet harbor
#

thanks. And one last question Can I somehow fill charges in my database? If I Only have subscription id or checkout session id?

#

Maybe simpler:
Can I somehow take charges based od subscription id or checkout session id? (all) ?

native spear
#

You'd look at the related Payment Intent and find the latest_charge field. Will have a ch_xxx ID

quiet harbor
#

I dont have payment intent either ^^

native spear
#

You can find it via payment_intent on Checkout Session or latest_invoice[payment_intent] on the Subscription

#

There is no direct relation between Charge and Subscription or Checkout