Skip to content

Instantly share code, notes, and snippets.

@earthchie
Created September 4, 2019 12:31
Show Gist options
  • Save earthchie/6d7018f3a5e575828ec458cd902d4172 to your computer and use it in GitHub Desktop.
Save earthchie/6d7018f3a5e575828ec458cd902d4172 to your computer and use it in GitHub Desktop.
Satang.Pro API

API

PromptPay Deposit QR code

Request

POST https://api.tdax.com/api/qr-deposits/
Authorization:  TDAX-API <Api-Key>
Signature: <Your-Signed-Request-Signature>
Content-Type: application/json

{
  "{"amount":"500.00"}"
}

Response

200 OK
{
  "qr_data": "00020101021230680016A00000067701011201150105560042039800218000000011562216680030350053037645406500.005802TH5906SATANG62120708DSTG22646304D763",
  "ref1":	000000011562216680,
  "ref2":	500,
  "amount":	500.00
}

Instant Withdrawal

Limited to 5,000 THB per user per day.

Request

POST https://api.tdax.com/api/withdrawals/
Authorization:  TDAX-API <Api-Key>
Signature: <Your-Signed-Request-Signature>
Content-Type: application/json

{
  "dst_bank_account_id": <your-bank-account-id>,
  "method": "instant",
  "amount": "3000",
  "currency": "thb"
}

Response

201 Created

Crypto Withdrawal

Limited to 5,000 THB per user per day.

Request

POST https://api.tdax.com/api/crypto-withdrawals/
Authorization:  TDAX-API <Api-Key>
Signature: <Your-Signed-Request-Signature>
Content-Type: application/json

{
  "address": <your-crypto-address>,
  "amount": "1000",
  "currency": "jfin"
}

Response

201 Created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment