#delgesu1745_api

1 messages ¡ Page 1 of 1 (latest)

vestal sealBOT
#

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

📝 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.

novel fog
#

Of course, using one of our offical SDKs is recommended.

worldly oasis
#

Ha! I totally overlooked the brackets for the array structure with the expand.

#

Sadly, I can't because its for an app that uses no-code API setup (kinda like Zapier).

novel fog
#

Ah, gotcha.

worldly oasis
#

Thanks for the help!

novel fog
#

No problem!

worldly oasis
#

Hey one other question.

#

How do I get the default payment method on file for a customer via the get customer request?

#

I tried expanding the default_source, but I don't see anything attached to this customer, even though I know there's a default source.

#

It is a test customer with a test card, so not sure if that matters.

novel fog
#

Can you give me the ID of the Customer so I can take a look?

#

Having default_source populated would be unusual unless you're using a very old integration; that property has been considered legacy for some time now.

worldly oasis
#

Gotcha. Yeah I found it under invoice_settings.default_payment_method

#

Oh I see why I missed it the first time. This software tool I'm using doesn't seem to parse the nested objects.

novel fog
#

Ah.