#k3davis_mandate-ids

1 messages ยท Page 1 of 1 (latest)

sharp saffronBOT
#

๐Ÿ‘‹ 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/1296532001553256539

๐Ÿ“ 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.

trim smelt
timid yacht
#

hm, can i get it from looking up the charge and expanding something or is it only available via the event

#

(the api docs don't seem to mention this property anywhere that i could find)

trim smelt
timid yacht
#

wow ok. i didn't drill down far enough, obviously. my fault. thank you

trim smelt
#

No problem! It's why we're here. ๐Ÿ™‚

timid yacht
#

the docs also state that the mandate property is expandable, but it doesn't seem to accept that: req_oeBhxQf8hWxOaV

trim smelt
#

that is because you didn't specify the full path of the property

#

Since you are requesting a Charge object, you need to specify expand=['payment_method_details.us_bank_account.mandate] or the .NET equivalent.

timid yacht
#

ok, i'll give that a try

#

i'm sorry i;m still struggling with this, adding the full path to the expand allowed the request to succeed (thanks, i didn't know about that) but the returned object still has no mandate data.

i'm inspecting the SDK source and the mandate property doesn't seem to be there

public class ChargePaymentMethodDetailsUsBankAccount : StripeEntity<ChargePaymentMethodDetailsUsBankAccount>
{
    public string AccountHolderType { get; set; }
    public string AccountType { get; set; }
    public string BankName { get; set; }
    public string Fingerprint { get; set; }
    public string Last4 { get; set; }
    public string RoutingNumber { get; set; }
}
trim smelt
#

What version of our .NET SDK are you on?

timid yacht
#

looks like 43.13.0. too old? ๐Ÿ™‚

#

looks like it is a problem with our SDK being too old, looking at the current github source.

trim smelt
#

Since it's not a major version update, you would still be on the same API version

#

So, while you might want to look into updating to a more current version, you could update to 43.21.0 to get the mandate ID and then worry about a larger update later on

timid yacht
#

alrighty. updating the version is planned, but maybe we can make this interim step sooner.

i've wasted enough of your time, thank you for your patience ๐Ÿ™‚

trim smelt
#

It's not a waste. We're here to help! ๐Ÿ™‚

sharp saffronBOT