Withdrawal Info

Get withdrawal information by ID

GETWithdrawal Info
Endpoint URL
https://testnet.trustsig.xyz/v1/withdrawal/info?id=1e602c35-7080-4fd4-a245-cf0c971423c8

⚙️Authentication Status

⚠️ API Key is required for all requests Webhook Secret

🔑

Headers

x-api-key
Required

API Key is required for all requests

Accept-Language
Optional

Select Language

Parameters

id
string Required

Withdrawal ID

📝

Request Example

Terminal
curl --location 'https://testnet.trustsig.xyz/v1/withdrawal/info?id=1e602c35-7080-4fd4-a245-cf0c971423c8' \
--header 'Accept-Language: en' \
--header 'x-api-key: YOUR_API_KEY_HERE'

Response Example

200 OK
JSON Response
{
    "data": {
        "id": "1e602c35-7080-4fd4-a245-cf0c971423c8",
        "seq_num": 1,
        "order_id": "WD-20250101-001",
        "order_user_reference": "USER001",
        "amount": "1000.00",
        "withdrawal_amount": 1000.00,
        "fee": 25.00,
        "net_amount": 975.00,
        "from_currency": "THB",
        "to_currency": "THB",
        "bank_account": {
            "bank_code": "SCB",
            "bank_name": "ธนาคารไทยพาณิชย์",
            "account_number": "123-456-7890",
            "account_name": "นาย สมชาย ใจดี"
        },
        "withdrawal_status": "WITHDRAWAL_COMPLETE",
        "is_completed": true,
        "status": "COMPLETED",
        "requested_at": "2025-01-01T10:00:00.000Z",
        "approved_at": "2025-01-01T10:30:00.000Z",
        "completed_at": "2025-01-01T11:00:00.000Z",
        "created_at": "2025-01-01T10:00:00.000Z",
        "updated_at": "2025-01-01T11:00:00.000Z",
        "organization_id": "7686e9f3-1b6f-4100-9060-a0afb39b3541",
        "agent_id": "aacc3472-f3c3-49bb-9040-d5a6aff283bf",
        "transaction_history": [
            {
                "timestamp": "2025-01-01T10:00:00.000Z",
                "status": "WITHDRAWAL_PENDING",
                "description": "สร้างคำขอถอนเงิน"
            },
            {
                "timestamp": "2025-01-01T10:30:00.000Z",
                "status": "WITHDRAWAL_APPROVED",
                "description": "อนุมัติการถอนเงิน"
            },
            {
                "timestamp": "2025-01-01T11:00:00.000Z",
                "status": "WITHDRAWAL_COMPLETE",
                "description": "ถอนเงินสำเร็จ",
                "transaction_reference": "TXN987654321"
            }
        ]
    },
    "success": true,
    "message": "ดึงข้อมูลสำเร็จ",
    "timestamp": "2025-01-01T11:05:00.000Z"
}
📋

Response Parameters

id
string Optional

Withdrawal ID

order_id
string Optional

Withdrawal Reference

order_user_reference
string Optional

Customer Name

amount
string Optional

Withdrawal Amount

withdrawal_amount
number Optional

Withdrawal Amount

fee
number Optional

Amount

net_amount
number Optional

Withdrawal Amount

bank_account
object Optional

Account Name

withdrawal_status
enum Optional

Withdrawal Status

is_completed
boolean Optional

Withdrawal Status

status
string Optional

Status

requested_at
string Optional

Date From

approved_at
string Optional

Processed At

completed_at
string Optional

Completed At

created_at
string Optional

Created At

updated_at
string Optional

Updated At

transaction_history
array Optional

Transaction ID

📊

Withdrawal Status Documentation

✅ Success

  • • WITHDRAWAL_COMPLETE - Completed At
  • • WITHDRAWAL_APPROVED - Success

⏳ Processed At

  • • WITHDRAWAL_PENDING - Pending
  • • WITHDRAWAL_PROCESSING - Processing
  • • WITHDRAWAL_REVIEWING - Processing

❌ Failed/Cancelled

  • • WITHDRAWAL_REJECT - Failed
  • • WITHDRAWAL_FAILED - Failed
  • • WITHDRAWAL_CANCELED - Cancelled
💡

Example

🔍 Status

  • • Withdrawal Status
  • • Withdrawal Information
  • • Documentation

🔄 Webhook Setup

  • • Configure webhook endpoints to receive real-time payment notifications
  • • Verify Signature
  • • Settings
⚠️

Error

404 Not Found

Not Found

401 Unauthorized

Invalid API Key

429 Too Many Requests

Rate Limit Exceeded