#kylemandell

1 messages ยท Page 1 of 1 (latest)

wind forumBOT
halcyon swallow
#

ah sorry I saw you're using Connect

#

well the API will tell you exactly what field is needed if you look at the requirements field on the Account object in question ๐Ÿ™‚

#

if you have the acct_xxx ID I can tell you

fluid mulch
#

acct_1ITU0yRUZxKATleN

halcyon swallow
#

while I look, can you look at requirements yourself and see what you find?

fluid mulch
#

sure

halcyon swallow
#

you'll see it has "settings.bacs_debit_payments.display_name" in past_due, and that's exactly what field is needed

fluid mulch
#

But where can I set that? There's seemingly no option in either the sdk or dashboard to actually set that prop?

halcyon swallow
#

not sure what you mean

#

ah maybe it's not supported on Update and only Create

fluid mulch
#

Yeah there's no bacs_debit_payments in the type is the issue

halcyon swallow
#

maybe try it with @ts-ignore really , the API might accept it

#

if it doesn't, well it definitely exists on Create, so I suppose you have to provide the value at that point instead

fluid mulch
#

I'm also not seeing it on create

weary blaze
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

halcyon swallow
#

ok I checked and you apparently can't change this

#

we have a few internal bugs tracking this. Let me try to figure out how it's meant to work

fluid mulch
#

Yeah I noticed in Stripe dashboard if I clicked on "Add missing information" it just took me to a blank page with no fields

halcyon swallow
#

from what our KB says internally, you should be able to pass it on Update. Can you please try it, with @ts-ignore or whatever you need?(the types can be wrong if the API is not annotated properly internally).

#

Platform should use "Stripe" as display_name for Bacs Debit:

Use the Account update API call to set the settings.bacs_debit_payments.display_name parameter to "Stripe".

First, create a new GB Custom Connect account:

curl https://api.stripe.com/v1/accounts
-d type=custom
-d country=gb
-d "capabilities[card_payments][requested]"=true
-d "capabilities[bacs_debit_payments][requested]"=true
-d "capabilities[transfers][requested]"=true

Update account setting with the settings[bacs_debit_payments][display_name] parameter:

curl https://api.stripe.com/v1/accounts
-X POST
-H "Stripe-Account"={{CONNECTED_ACCOUNT_ID}}
-d "settings[bacs_debit_payments][display_name]"=Stripe

fluid mulch
#

Sure, will give that a try

halcyon swallow
#

gotta run for a bit, will check back later. But in any case stripe.accounts.update("acct_xxxx", {settings:{bacs_debit_payments:{display_name:"Stripe"}}} is how to do it in Node

fluid mulch
#

I assume I can customise the display name and that it doesn't have to be Stripe?

halcyon swallow
#

well that's a can of worms

fluid mulch
#

I think we may actually already have this. I believe the display name was set on another account a long time ago by Support and I'm fairly sure it isn't set to Stripe, will double check though ๐Ÿ™‚ Thanks for your help