<!-- source: https://secondlayer.tools/docs/api-reference#get-sbtc-withdrawal -->

## sBTC peg-out lifecycle by request_id

`GET /v1/index/sbtc/withdrawals/{request_id}`

One withdrawal's full lifecycle: the request, the accept or reject, and the Bitcoin settlement of its sweep. Once it is accepted or rejected and past finality, it is cached for good and answers `If-None-Match` with 304.

### Path parameters

| Name | Type | Description |
| --- | --- | --- |
| `request_id` | integer, required | Withdrawal request id. |

### Responses

- `200` The withdrawal's lifecycle
- `304` The resource is past finality and matches your `If-None-Match` ETag.
- `400` `request_id` is not a non-negative integer
- `401` This bind requires the instance token, and it was missing or wrong
- `404` No withdrawal request has this id
- `429` Rate limited; retry after `Retry-After` seconds

### Example

```bash
curl https://api.secondlayer.tools/v1/index/sbtc/withdrawals/3405 \
  -H "Authorization: Bearer $SECONDLAYER_API_KEY"
```

```json
{
  "withdrawal": {
    "request_id": 3405,
    "status": "ACCEPTED",
    "amount": "221653",
    "sender": "SP2WRMQD3G4G8BR0120Y390CT6A8BTE6MB0JQ5EHA",
    "recipient_btc_version": 4,
    "recipient_btc_hashbytes": "0xa7d5ce640208ed037950d4c849c805e881209d6a",
    "requested": {
      "block_height": 9048225,
      "block_time": "2026-09-23T12:01:45.000Z",
      "tx_id": "0x0e132d74a062d9327bbf25b371dd3fa7171f5e3479131b046106c1f6086a9780"
    },
    "accepted": {
      "block_height": 9048547,
      "block_time": "2026-09-23T13:24:47.000Z",
      "tx_id": "0xddedcfe67fe6c63339781619867816a69fc054e4a83b7358a8f07e983f2a1b68",
      "sweep_txid": "0x0efad88eb01e248fd8321ada99cb74f7258948226eae106f8be5a5917d7473e4",
      "signer_bitmap": "0"
    },
    "rejected": null,
    "settlement": {
      "sweep_txid": "0x0efad88eb01e248fd8321ada99cb74f7258948226eae106f8be5a5917d7473e4",
      "btc_confirmations": 8,
      "settlement_confirmed": true,
      "btc_block_height": 968278,
      "confirmed_at": "2026-09-23T14:35:25.473Z"
    },
    "finalized": true
  },
  "tip": {
    "block_height": 9048929,
    "finalized_height": 9048671,
    "lag_seconds": 22,
    "source_block_height": 9048929
  }
}
```
