#itgben

1 messages · Page 1 of 1 (latest)

proud ravineBOT
teal fable
frosty path
#

So in order to do a Direct Charge I need to issue the statements "stripe.terminal.locations.create" and "stripe.terminal.readers.create" everytime?

teal fable
#

no, you don't need to create a location and reader everytime

#

that's a one time thing

frosty path
#

Is there anyway to associate a reader with a Connect account manually through the Dashboard?

teal fable
#

what do you mean by associate a reader with a connect account?

frosty path
#

const reader = await stripe.terminal.readers.create({
registration_code: "{{READER_REGISTRATION_CODE}}",
label: "Alice's Reader",
location: '{{LOCATION_ID}}'
,
}, {
stripeAccount: '{{CONNECTED_ACCOUNT_ID}}'

});

#

This code creates a reader associated with a Connect account right?

teal fable
#

ah yeah, that code creates a reader associated with a Connect account. I don't know off the top of my head if you can do that via the Dashboard, but you can try it on your own Dashboard/connected account. You'd probably need to ensure the connected account has terminal enabled on their account first though which may not be very feasible in reality since you may have many connected accounts

frosty path
#

So really I should run the code once and store the necessary data needed on my end in order to properly setup a Connect account with Reader use?

teal fable
#

yep, that's right

frosty path
#

Ok. thank you.