#GRIBDO

1 messages ยท Page 1 of 1 (latest)

young veldtBOT
timber vigil
#

Hi there!

#

It should contain the default if that payment method is being set on the Subscription

#

Are you setting the default on the Customer or Subscription?

#

Can you give me an example Sub that you are retrieving?

chrome stream
#

this is the sub from testing environment:
sub_1MRMLsL0XZrnkJmROrbs2gbQ

#

i have seen, some are using something like options.AddExpand("data.field"); is there any documentation about that? or can i do it without sth like that

timber vigil
#

The default_payment_method should be returned here without using expand

#

Can you show me the payload you get back when you retrieve the Sub?

#

What version of the .NET SDK are you using?

chrome stream
#

i am getting the id, but not the payment method

#

i am using 39.104.0

timber vigil
#

Oh

#

Sorry, I thought you weren't getting the ID

#

Yes this is an expandable property

#

So if you want the full object then you expand the default_payment_method

chrome stream
timber vigil
chrome stream
#

Works ๐Ÿ™‚

timber vigil
#

๐ŸŽ‰

chrome stream
#

thank you very much! have a nice evening