---
title: "Create a blockchain withdrawal"
method: POST
path: "/blockchain_transfer/withdrawals"
---

# Create a blockchain withdrawal

`POST /blockchain_transfer/withdrawals`

[Available in Production environment] Send funds to your verified blockchain addresses with your StraitsX Business Account

## Headers

- `X-XFERS-APP-API-KEY` string, required
- `X-PUBLIC-KEY-ID` string
- `X-TIMESTAMP` string
- `X-NONCE` string
- `X-SIGNATURE` string

## Request body

- object
  - `address_id` string, required — Address ID is retrieved from the response of Get a list of blockchain addresses API<br>Regex: `/^(?!\s*$).+$/`
  - `amount` number, float, required — Transaction amount (Must be a positive float up to 2 d.p.)<br>Regex: `/^(?!0(\.0+)?$)([1-9]\d*(\.\d+)?|0\.\d*[1-9]\d*)$/`
  - `idempotency_id` string, required — Unique reference number provided by you to prevent double transaction, this cannot be repeated.<br>Regex: `/^\s*.{1,191}\s*$/`
  - `wallet_source` 'sgd' | 'usd' | 'xsgd' | 'xusd' — Which source of funds the deduction will be made from. If no value is specified for this field, XSGD and XUSD withdrawals will, by default, be deducted from the XSGD and XUSD balances respectively.

## Response `200`

200

- object[]
  - `data` object
    - `id` string — Blockchain withdrawal contract ID.
    - `type` string — Request type.
    - `attributes` object
      - `transaction_hash` string — Blockchain transaction hash. Returns `pending` until the transaction is broadcasted and confirmed on-chain.
      - `amount` string — Transaction amount.
      - `network_fees` string — Blockchain network fee for the transaction.
      - `total_amount` string — Total amount deducted (transfer amount + network fees).
      - `transaction_source` string — Wallet address from which the tokens are sent.
      - `status` string — Transaction status.
      - `idempotency_id` string — Idempotency ID for the transaction.
      - `network` string — The blockchain network where the address exists.
      - `token` string — Token being transferred.
      - `created_at` string — Timestamp when the blockchain withdrawal was created.

## Other responses

- `400` — 400

---

[API](https://skmtc.net/straitsx/apis/straitsx-sandbox-base-url.md) · [All operations](https://skmtc.net/straitsx/apis/straitsx-sandbox-base-url/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/straitsx/straitsx-sandbox-base-url/versions/9ceee2969aeb/schema)
