Menu

1 / 2

How to test Stripe Connect transfers without a connected account

DEV Community·FetchSandbox·7 months ago
#j8HMRkyv
#stripe#webhooks#api#transfer#account
Reading 0:00
15s threshold

The transfer API call is easy. The testing setup is not.

Stripe Connect lets platforms move money to connected accounts.

The API is four calls:

Create a transfer to a connected account

Verify the transfer.created webhook fires

Create a payout from the connected account

Verify the payout.created webhook fires

On paper, that is maybe ten minutes of reading.

In practice, getting to the point where you can actually test this flow takes much longer than the code itself.

The setup tax

Before you can make a single test transfer, you need:

A platform account with Connect enabled

A connected account that has completed onboarding

That connected account needs a verified external account (bank details) for payouts

Your platform needs the right capabilities configured

Enough test balance in the right currency

That is a lot of infrastructure for what is ultimately four API calls.

Most developers skip the full setup.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.