Portal (Obsoleted)
Connect your app. Easily buying and selling through our platform.
Portal is a new Satang Pro platform API where you can connect your application to us through your existing OAuth API and let your users and our users be connected. Your application user then could buy or sell through our exchange platform (now only buying cryptocurrency is supported) and get the crypto/fiat back to your application in seconds or up to minutes.
Please contact support@satang.com with the title "API Request: Portal OAuth Connect" in case you're interested to provide your platform OAuth API. We will whitelist and let your user be connectable to our exchange platform.
In order for Portal and your application to correctly work together, you will need to provide your OAuth API:
We will use this API (access_token is your application OAuth access token, we will get this automatically after your user has logged in through your OAuth API, coin is an upper-cased standard cryptocurrency unit name) to get your user deposit address. If your path is not /get-deposit-address
please provide us with the info in the contact above.
The returning JSON of the API should be obvious except for the tag
field. This field is for the cryptocurrency with optional tag or memo, such as XRP or XLM. For example:
Estimated Price
GET
https://api.satang.pro/api/estimated-price/?pair&amount&side
Get current estimated price of the pair provided that you want to execute the order with the amount parameter. If side is buy, then the amount refers to the amount of fiat currency you want to pay, if side is sell then the amount refers to the amount of cryptocurrency you want to sell.
Query Parameters
Create new Portal order
POST
https://satangcorp.com/api/portal-orders/
Create a new Portal order. This order is an immediate-or-cancel order, meaning if it does not match immediately after execution, if will get cancelled. After the order is matched, the amount matched (minus standard trading and withdrawal fees) will be sent through your. If side is buy, then the amount refers to the amount of fiat currency you want to pay, if side is sell then the amount refers to the amount of cryptocurrency you want to sell.
Headers
Request Body
Last updated