post https://api-sandbox.straitsx.com/v1/blockchain_transfer/withdrawals/
[Available in Production environment] Send funds to your verified blockchain addresses with your StraitsX Business Account
When the status of the blockchain withdrawal is updated, a callback will be sent to the URL you configured in your business dashboard. Learn more about how to configure your callback
Sample Callback Payload for Blockchain Withdrawal
{
"data": {
"attributes": {
"amount": 2.0,
"blockchain": "XSGD_MATIC",
"created_at": "2024-06-11T04:48:39.912Z",
"idempotency_id": "testing",
"network": "Polygon",
"network_fees": 0.02,
"status": "completed",
"token": "xsgd",
"total_amount": 2.02,
"transaction_hash": "0x658043f80b1684cce02a0f4c0ed5449589eef495492bae5a849e47e80c46dd4d",
"transaction_source": "0x4fd0f684dcf7c6c862114db8cebfe8bf6bb175c3"
},
"id": "contract_7afa75105cad43579f9589ebe30b6784",
"type": "stablecoin_withdraw_contract"
}
}
Parameter | Description | Sample Value |
---|---|---|
amount | Amount transferred | 2.0 |
blockchain | Blockchain (combination of token & network) | XSGD_MATIC |
created_at | Datetime of creation | 2024-06-11T04%3A48%3A39.912Z |
idempotency_id | Unique idempotency id provided when triggering the withdrawal | testing |
network | Network of the blockchain withdrawal | Polygon |
network_fees | Network fees incurred | 0.02 |
status | Transaction status: completed/pending/cancelled | completed |
token | Token of the blockchain withdrawal | xsgd |
total_amount | Total amount of the transaction | 2.02 |
transaction_hash | Transaction hash | 0x658043f80b1684cce02a0f4c0ed5449589eef495492bae5a849e47e80c46dd4d |
transaction_source | Receiving blockchain address | 0x4fd0f684dcf7c6c862114db8cebfe8bf6bb175c3 |
id | Contract ID of the transaction | contract_7afa75105cad43579f9589ebe30b6784 |
type | Transaction type | stablecoin_withdraw_contract |