Create Withdrawal — USDT
ถอนคริปโต ส่งเข้า wallet address ปลายทาง
https://testnet.trustsig.xyz/v1/withdrawal/createRequest/cryptoAuthentication Status
API Key is required for all requests Webhook Secret
Headers
x-api-keyYour shop API key
x-signatureHMAC-SHA256 of timestamp|method|fullUrl|body signed with your secret key, sent as 64 hex characters
How to create the signaturex-timestampCurrent Unix time in milliseconds — must be the same value used to create x-signature
Parameters (Request Body)
order_idA unique order reference ID from your system (e.g., mystore_order_1234, uuid). Please use the same Order ID for the same transaction and do not generate a new one.
order_user_referenceรหัสอ้างอิงผู้ใช้ฝั่งร้าน เช่น รหัสสมาชิกหรือรหัสผู้เล่น ระบบบันทึกไว้กับรายการถอนและส่งกลับมาในข้อมูลรายการ
currencyสกุลเงินที่ถอน รับเฉพาะ "USDT"
amountจำนวน USDT ที่จะถอน ต้องมากกว่า 0 ถ้าร้านตั้งยอดถอนขั้นต่ำไว้ (คิดเป็น USD) ยอดที่ต่ำกว่านั้นระบบจะปฏิเสธด้วย error 10028
withdrawal_addresswallet address ปลายทาง ต้องเป็น address ที่ถูกต้องของเครือข่ายตาม chain ที่ส่งมา ถ้าไม่ถูกต้องจะได้ error 10002
chainเครือข่ายที่จะส่ง USDT ออกไป ใช้ได้ tron, ethereum หรือ bsc และต้องเป็นตัวพิมพ์เล็ก ค่าอื่น เช่น offchain หรือ TRON ที่เป็นตัวพิมพ์ใหญ่ ระบบจะปฏิเสธด้วย error 10003
asset_typeมาตรฐานโทเคนของ USDT ให้เลือกตาม chain คือ tron ใช้ trc20, ethereum ใช้ erc20 และ bsc ใช้ bep20 (ไม่สนตัวพิมพ์เล็ก-ใหญ่)
additionalOptional JSON object for your own data, such as a note or your user ID. It is stored with the withdrawal and returned in the withdrawal data.