How do I create a user wallet in Stripe?

Viewed 4593

I’m trying to create a wallet for a user in Stripe. Other uses can donate into another user’s wallet and that user can withdraw the funds into their account. This account should remain untouched by the account owner and controlled by the software.

This will need to be seperate from the primary account which holds funds for subscriptions from users which the Stripe account owner can withdraw (income).

Is this possible with Stripe/Stripe Connect and can anyone point me in the right direction?

2 Answers

You can create a wallet by using charge feature of stripe i.e. for nodeJs it is stripe.charges.create({}) function.

It may vary depending upon your language of choice. You can prompt the user to recharge his wallet and create a charge through which you can transfer the amount to the admin account use a parameter in your db to store the user's current wallet balance for each payment deduct the required amount from the said user's account and add it to the other user's account.

Click here for more details ! Cheers!

Related