Question

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

Posted October 22, 2021 144 views
Node.jsAPIPayments

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?

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.

×
Submit an Answer
1 answer

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:

https://docs.digitalocean.com/reference/api/api-reference/