In an effort to secure ETN profit on e-commerce sales I’ve been playing around with integration into the Cryptopia API.
Basically, when a sale is made on a website using the Instant Payment API, I’m automatically connecting to the Cryptopia API and checking a few things (available ETN, open orders, order amount greater than minimum trade size, etc) and if everything checks out, I sell the same amount as I’ve just received at the current bid price, effectively locking in the profit of the ETN I’ve just received.
Below are 3 screenshots in the process:
Successful payment by customer
Cryptopia order confirmation in store backend
Trade confirmation on Cryptopia
This whole process requires that you maintain a relevant balance on the Cryptopia exchange in order to place sell orders, and you can only place orders for a minimum of $1 on the ETNUSDT pair.
I would love to hear your feedback on this method if you have any.
Thanks in advance