How to make automatic purchases with Paypal or Stripe to add balance to my account from a Nodejs server

I am trying to do a web hosting service as a reseller, and I want that when a client of mine makes a purchase to choose a droplet part of that money goes to digital ocean for the droplet

Is it possible to do this automatically with PayPal or Stripe? is it necessary to join digital ocean partners? Acazo digital Ocean allows you to recharge money from its API?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @facufernandez974,

I’ll recommend going over the API documentation, it’s exactly for that created. Basically, when you create a droplet, your accounts starts getting charged for it.

It’s up to you to implement a system that charges your customers as for your account with DIgitalOcean, it get’s charged as usual, at the end of the month.

Anyway, here is the API Documentation: