Stock exchange to trade company's own stock with API - stock

Is there a US-based stock exchange, where a small company could sell/buy back its own stock programmatically in near real-time?

Generally you need to register with a clearing house who will provide you with api access to the exchange(s) that your company trades on.

Related

Late fees for customer profiles with or without recurring billing subscriptions in authorize.net

For a school that has many enrollments of children and their parents making payments, is there a way in the Authorize.net API to charge customer profiles late fees? They may be enrolled in recurring billing subscriptions or not. Does authorize.net allow late fees and balances to be paid? I'm wondering how to implement this with the APIs.
I find these APIs helpful, but not the complete solution:
* Create a Subscription from Customer Profile
* Get Customer Profile
* Get Customer Payment Profile
There is no API call for handling with late fees. If your amounts to charge are going to vary for any reason, adding late fees being an example, you would want to build your own engine for making payments. The best way to do this is to use the CIM API to create and manage payment accounts and then charge against them. That way you can charge a varying amount if a late fee needs to be added. Of course this means you are responsible for handling all payments and cannot count on a built in scheduling engine like the one provided by the ARB API.

How users currency accounts address are updated during currency trading on Exchanges like Coinbase and Binance?

My naive understanding behind how currency trading works on Exchanges like Binance and Coinbase is each users are provided with unique address and when the respective currencies trade happens on exchanges like Binance or Coinbase, both the parties accounts get's updated live on blockchain.
To elaborate more, In case of ETH/BTC trading, let's say, Mr Foo wants to trade his ETH with Mr Bar's BTC on Binance exchange. Binance will provide both of them with unique address respectively to their currency. So when the ETH/BTC trade take place, Mr Foo will receive the BTC on his newly generated unique BTC address and Mr Foo's ETH account will be deducted . On the other side, Mr Bar's BTC account will be deducted and Ether account is updated with newly received ether.
I'm really confuse regarding whether these currency trading on exchanges execute live on Blockchain? Recently during Bitcoin and Ethereum network congestion, I did BTC/ETH trading on HITBTC, the process happened instantaneously, but I've to wait for hours during withdrawal process. Also Hitbtc seems to be using same Ethereum account (0x65e2c5175e2e618f48e70343b14c31b280e42d90) to transfer fund during withdraw request for multiple users. It seems that these exchanges are using the same address for serving multiple users.
Could somebody explain how users accounts are updated during currency trading on exchanges like Coinbase and Binance? Does trading immediately happens live on blockchain? Or Exchanges only shows the users with fake trading balances until it's withdrawn? Do the Exchanges use same address to accept deposits from multiple users?
Thank you for your time.
Check out this thread for a brief explanation of Coinbase's order management.
Answer on the reddit thread, supposedly from a coinbase insider.
In addition, my comment above was just based on intuition and my general knowledge of the way brokers work.
Brokers
Brokers tend to match orders first since they are in the business of exchanging, not investing. Meaning they make their most consistent revenue from fees generated by facilitating customer orders, not by investing in the securities or assets that they help to buy/sell.
Sometimes in order to fulfill an order the broker will go long or short a particular asset class, in this case bitcoin or ethereum, etc. If this happens the broker is exposed to fluctuations in the price of that asset against the asset they are trying to grow (cash).
Now, since Coinbase is heavily involved in crypto it might be part of their strategy to hold Bitcoin or Ethereum inventory, but I would doubt it would figure much since that would undermine public trust in their institution as an impartial exchange. No one really likes to hear their broker bet against them, it tends to engender resentment.
Technicals
Coinbase is setup as a software wallet, meaning you have an account, with the private keys stored on their server. So it is possible for them to facilitate some of the trading between bitcoin accounts without ever having to match orders with an account holder outside their system.
Meaning, they can collect/match/fill the orders in batches and then submit those batches to bitcoin miners. This would allow them to quickly "fulfill" your order, and then send you verification once it has been posted to the blockchain.
Further Reading
Although it is not specifically geared towards crypto exchanges there is an excellent book on the subject of how markets actually function.
Market Microstructure in Practice

Payment Gateway process

I have to integrate a payment gateway in my web app. I am negotiating with PGs to get most suitable offer. Most of them have:
Setup Fees
Annual/Monthly Fees.
Per Transaction Fees (1%-5%)
Rule of thumb is- Higher the setup fees, lower Transaction Fees.
My question here is "Are payment gateways compulsory?" I have used several sites like ebay, flipkart, amazon etc which take credit card info directly on their portal, authorizing it directly from bank, bypassing 3rd party payment gateways. (This is how it seems.)
What happens behind the scenes here? What is the process to directly accept payments and authorize it from bank?
What tentative transaction volume is needed to make the above scenario profitable?
I used to work for bluesnap (previously called Plimus) which is an on-line payment-processing company. A payment-processing company - is a company that authorizes and charges the credit-card against the processing gateways.
Many people confuse payment-processing companies with processing gateways. As a small business you can either use one of the payment-processing companies or use self-service such as Authorize.net, Paypal etc.
There are plenty of resources over the web that explain about payment-processing but I don't think that it will be very interesting to read, unless you decide to build your own gateway...
In order to work directly against one of the gateways you need to process millions of transactions per day - which I don't believe you have the capacity.

Implementing transaction fee for auction sites using Google Checkout

Suppose there is an auction site that uses google checkout exclusively. How would one set things up so that when the buyer sends money to the seller google checkout sends something like 1% of it to the auction site much like how ebay charges a fee.
Google Checkout is a payment flow between one seller and one buyer. There is no support for automatic third party commissions.
You need to setup two separate transactions where the seller pays the auction broker the commission or listing fee.

One eCommerce Store using multiple PayPal accounts

I was wondering if someone knew of a way to theoretically have one eCommerce store to act as a medium where sellers can sign up and sell goods and use their PayPal account to receive payments instead?
So, Vendor A signs up, stores their PayPal information. Whenever a customer purchases items form Vendor A, the money goes straight to Vendor A's PayPal account rather than the eCommerce store acting as a middleman and later has to payout all the vendors.
Sounds possible to me, as long as you have the vendor's paypal information, however that would make your data a security risk, because you would have to store the paypal information for multiple vendors.