#Ketlark
1 messages · Page 1 of 1 (latest)
Hi there, this is just an example code, You can try passing a dict containing bank account information.
Yes but i use the sdk in typescript, and the input type is a string
i can't put a dict with infos
Hey! Taking over for my colleague. Let me catch up.
When calling the API, you can send the dic, here's for example
external_account:{
object: 'bank_account',
country: 'FR',
currency: 'EUR',
account_number: 'FR1420041010050500013M02606'
}
Do you mean like the sdk is blocking you from doing this?
I see, you are using Typescript, and the property is strongly typed, for this case, you need to not use the SDK, try doing a call like normal API call
maybe you can transfer this issue to api integration in order to handle a object type as input ?
if we do so, then the sdk will take either a String or an Object
but atm i will use the raw API, thanks for your help
yes that's the point
Thanks for your feedback in the meanwhile!
np dude, keep doing an amazing work