#phonicuk-checkout-paymentintent

1 messages ยท Page 1 of 1 (latest)

frozen mothBOT
grim spear
#

phonicuk-checkout-paymentintent

floral spoke
#

howdy ๐Ÿ‘

grim spear
floral spoke
#

ah or I can do it by the subscription ID itself

grim spear
#

yeah both work!

floral spoke
#

I can't see in the example how you specify if you're requesting the session based on the Intent or the Subscription

#

for reference I'm using the C# API

#

does it figure it out automatically from the ID prefix?

grim spear
#

no, you have to pass the id in the right parameter

floral spoke
#

how do you do that in the C# API when doing SessionService.Get() ?

#

is that via ExtraParams?

grim spear
#

you don't, you use the List API that I linked to

floral spoke
#

aaah I got it

#

can I specify both the payment_intent and subscription to combine the searches?

#

actually that's redundant, I'll use the pi - cool I think I'm sorted

grim spear
#

awesome!

floral spoke
#

what's the maximum depth of expansions?

grim spear
#

4

floral spoke
#

does data. count as one of the expansions?

grim spear
#

yes

floral spoke
#

righto, one query to get the list and another to get the expanded session it is!

#

aah perfect, all working nicely - thank you for your time, have a good evening ๐Ÿ™‚