Create (fiat/crypto)
Create a new withdrawal request
POSTCreate (fiat/crypto)
Endpoint URL
https://testnet.trustsig.xyz/v1/withdrawal/createRequest/fiatAuthentication Status
API Key is required for all requests Webhook Secret
Headers
x-api-keyRequired
API Key for authentication
x-signatureRequired
HMAC-SHA256 signature for authentication
x-timestampRequired
Timestamp (milliseconds) for signature
Parameters (Request Body)
withdrawal_modestring Required
Withdrawal Status
order_idstring Required
A 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.
amountnumber Required
Withdrawal Amount
currencystring Required
Currency
receiver_bankstring Required
Bank Name
receiver_namestring Required
Recipient
withdrawal_addressstring Required
Account Number
chainstring Required
Type
asset_typestring Required
Type
additionalobject Required
Metadata
Request Example
Terminal
curl --location 'https://testnet.trustsig.xyz/v1/withdrawal/createRequest/fiat' \
--header 'Content-Type: application/json' \
--header 'x-api-key: $SIGNATURE_API_KEY' \
--data '{
"withdrawal_mode": "FIAT",
"order_id": "ORDER-123456789",
"amount": 10.5,
"currency": "THB",
"receiver_bank": "SCB",
"receiver_name": "MR. John Snow",
"withdrawal_address": "9999999999",
"chain": "offchain",
"asset_type": "native",
"additional": {
"description": "test withdrawal",
"reference_user_id": 123
}
}'Response Example
200 OK
JSON Response
{
"data": {
"id": "650c44b0-7371-4e73-a766-d3216b87e7a2",
"seq_num": 489,
"source_id": "wpayz",
"unique_hash": "8f1a9c432af55a04f606458cdabf3a77ce01f28bebe6d059b0caa07d064ed5b2",
"order_id": "ORDER-12345678111",
"withdrawal_mode": "FIAT",
"receiver_bank": "SCB",
"receiver_name": "MR. John Snow",
"currency": "THB",
"address": "9999999999",
"amount": "100",
"chain": "offchain",
"asset_type": "native",
"network": "testnet",
"fee_model_type": "PERCENTAGE",
"fee": 0,
"fee_amount": 0,
"realized_amount": 100,
"tx_value": 3.0983145,
"exchange_rate": 0.030829,
"withdrawal_status": "PENDING",
"additional": {
"description": "test withdrawal",
"reference_user_id": 123
},
"created_at": "2025-10-08T19:38:18.586Z"
},
"success": true,
"code": 0
}