satang-api
Search
⌃K

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 [email protected] 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:
GET https://your-oauth-api-url/get-deposit-address?access_token=cf60766c0a3f4929a44985b7a3eb536a
&coin=BTC
200 OK
Content-Type: application/json
{
"coin": "BTC",
"address": "32ovuktGjD8CQs4e6G2nCkEGGrKvXQQgtf",
"tag": null
}
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:
GET https://your-oauth-api-url/get-deposit-address?access_token=cf60766c0a3f4929a44985b7a3eb536a
&coin=XLM
200 OK
Content-Type: application/json
{
"coin": "XLM",
"address": "GDHISAMF43GJN3Q2F2WEOFASN4HHM5S435X4GQL62FBMZCY7IHWPEQ5X",
"tag": "100"
}
get
https://api.satang.pro
/api/estimated-price/?pair&amount&side
Estimated Price
post
https://satangcorp.com
/api/portal-orders/
Create new Portal order
Last modified 2yr ago