#chase-tiptop

1 messages ยท Page 1 of 1 (latest)

neat meteorBOT
upper jacinth
turbid onyx
#

req_KosQww045XETnH

#

Some context is I'm building a proof-of-concept test flow to create an account and pay them with Stripe Connect

#

I've got the account side working but blocked on having funds to pay them

upper jacinth
turbid onyx
#
    transferParams := &stripe.TransferParams{
        Amount:      stripe.Int64(1500),
        Currency:    stripe.String(string(stripe.CurrencyUSD)),
        Destination: stripe.String(a.ID),
    }
    tr, err := Client.Transfers.New(transferParams)
#

I'm trying to use the Transfers API, is that the right one?

#

Not seeing a way to specify source account number

upper jacinth
#

As the error suggested, you can change your payout settings to a manual schedule before topping off the balance.

#

With transfers API, you would need to have the funds on the account.

turbid onyx
#
        Settings: &stripe.AccountSettingsParams{
            Payouts: &stripe.AccountSettingsPayoutsParams{
                Schedule: &stripe.AccountSettingsPayoutsScheduleParams{
                    Interval: stripe.String(string(stripe.AccountSettingsPayoutsScheduleIntervalManual)),
                },
            },
        },

How do I change my payout settings to a manual schedule?

I'm currently setting manual payout for the connected account I create

#

Which API should I use to pay it from my account balance to the connected accounts debit card?

upper jacinth
turbid onyx
#

๐Ÿ”ฅ just changed it in the Dashboard, testing topup now

upper jacinth
#

You cannot directly do that. You'd use the Transfers API to move funds from the Platform to your Connected account.

turbid onyx
#

Okay topup worked, testing transfer now

#

Amazing! Transfer worked ๐Ÿš€

req_BcNvvG4ijO6Nh3

#

Okay so it says this account now has $15 acct_1M0CM2PWIpbetkn5

#

Now I want to pay their card

#
  1. How do I add a debit card to a connected account?
  2. How do I do a payout to this debit card?
upper jacinth
turbid onyx
#

I notice that there's no place to put card info or token in

#

I'm wondering about the frontend piece where the user inputs their info and we add the payment method to the account

upper jacinth
#

Can you share the type of connected account?

#

With Express, I think you'd need to log in to the Express Dashboard and add the banking details under Payout.

turbid onyx
#

We're doing Custom Connect

#

How do I add a Debit Card with this method?

#

Ideally we can use something like the Payments token where our servers don't need to move the card data

#

We'd like to do the instant payout to a debit card using the balance we transfer

#

Ideally the whole process

Transfer+Payout -> bank account happens in <2 minutes

upper jacinth
#

I'll need to test this on my end. Give me some time please.

turbid onyx
#

You're amazing ๐Ÿ™ thanks so much!

upper jacinth
turbid onyx
#

Perfect ๐Ÿ‘ many thanks to both of you for digging into this ๐Ÿ”ฅ

#

Can you send me specifically the code that I can use to get this token?

elder sage
#

You pass 'external_account' => 'tok_visa_debit' for example

turbid onyx
#

๐Ÿ”ฅ awesome, that'll get me unblocked in development

#

Wondering how this should work in production as well

#

Ideally I'd like to pass that data through and use the tok_visa_debit token in the backend for test only

elder sage
#

that's how you collect card details client-side securely and get a tok_123

turbid onyx
#

This is gold ๐Ÿ‘ have a React example by chance?

elder sage
#

I do not sorry, but it's mostly the same thing

turbid onyx
#

All good, I appreciate y'all ๐Ÿ™

elder sage
#

this but you pass the currency parameter like my jsfiddle

turbid onyx
#

Perfect!

#

I'll test out the API with the test token and then start wiring up the frontend ๐Ÿ”ฅ

#

Thanks so much for the help y'all!!