Stock donations

To begin with stock donations you will need to fetch a list of tickets using the endpoint GetTickersList.
​
Once a donor chose a ticket, fetch a price for that ticker using the endpoint GetTickerCost. Note that the minimum pledge amount is equivalent to $500.
​
When a donor chooses a ticker, and amount, and provided information about himself (anonymous stock donations are not allowed), create a donation pledge using the endpoint CreateStockDonationPledge. At the response, you will receive donationUuid, and save it for future requests.
​
The next step is providing broker information. You can get a list of supported brokers by calling the endpoint GetBrokersList. After a donor chose a broker, submit a stock donation using the endpoint SubmitStockDonation.
​
The last step is to ask for a donor's signature. We accept PNG in base64 encoding. You can use react-signature-canvas or any other tool to generate a base64 string. Pass it along with donationUuid and sign date to the SignStockDonation.