#chase-tiptop
1 messages ยท Page 1 of 1 (latest)
Hi, no need to share a sample code. Instead, can you share the request id with me please? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
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
If you're trying to test a Connect Payout, you can use these bank numbers: https://stripe.com/docs/connect/testing#account-numbers
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
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.
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?
You can change this in the Dashboard here, https://dashboard.stripe.com/settings/payouts
๐ฅ just changed it in the Dashboard, testing topup now
You cannot directly do that. You'd use the Transfers API to move funds from the Platform to your Connected account.
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
- How do I add a debit card to a connected account?
- How do I do a payout to this debit card?
Yeay! You can now use these test Payout payment details to run a Payout test, https://stripe.com/docs/connect/testing#account-numbers
This section, https://stripe.com/docs/connect/testing#payouts of the document
I'm assuming it's this API https://stripe.com/docs/api/payouts/create
I notice that there's no place to put card info or token in
Should I create a PaymentMethod https://stripe.com/docs/api/payment_methods/create
I'm wondering about the frontend piece where the user inputs their info and we add the payment method to the account
Can you share the type of connected account?
With Custom account, https://stripe.com/docs/api/accounts/update#update_account-external_account you can update the external account with the above testing data.
With Express, I think you'd need to log in to the Express Dashboard and add the banking details under Payout.
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
I'll need to test this on my end. Give me some time please.
You're amazing ๐ thanks so much!
My colleague Rubeus was able to find the exact API, https://stripe.com/docs/api/external_accounts we were looking for for adding the debit card as an External account for Custom connect.
Perfect ๐ many thanks to both of you for digging into this ๐ฅ
So I'm assuming I can use https://stripe.com/docs/js to get a token and use that token here?
Can you send me specifically the code that I can use to get this token?
You pass 'external_account' => 'tok_visa_debit' for example
๐ฅ 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
This is gold ๐ have a React example by chance?
I do not sorry, but it's mostly the same thing
All good, I appreciate y'all ๐