---
title: "[Sandbox] Mock a user withdrawal status"
method: PUT
path: "/sandbox/withdrawals/{withdrawal_id}"
---

# [Sandbox] Mock a user withdrawal status

`PUT /sandbox/withdrawals/{withdrawal_id}`

[Available in Sandbox environment only] Mock the status of a user withdrawal

## Path parameters

- `withdrawal_id` string, required

## 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
  - `data` object
    - `attributes` object
      - `status` 'completed' | 'failed', required — Accepts `completed` or `failed`

## Response `200`

200

- object
  - `data` object
    - `id` string — Withdrawal contract ID.
    - `type` string — Request type.
    - `attributes` object
      - `amount` string — Withdrawal transaction amount.
      - `fees` string — Fees charged for the transaction.
      - `transactionRemarks` string — External transaction reference which will be seen by the recipient.
      - `idempotencyId` string — Idempotency ID for the transaction.
      - `currency` string — Transaction currency.
      - `bankAccount` object — Destination bank account details.
        - `account_no` string — Bank account number.
        - `account_holder_name` string — Name of the bank account holder.
        - `bank` string — Bank abbreviation.
        - `swift_bic` string — Bank SWIFT/BIC code.
        - `routing_code` unknown
        - `intermediary_swift_bic` unknown
      - `status` string — Transaction status.
      - `netAmount` string — Net amount.
      - `createdAt` string — Timestamp when the transaction was created.
      - `updatedAt` string — Timestamp when the transaction was last updated.

---

[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/revisions/9ceee2969aeb/schema)
