---
title: "Withdraw money"
method: POST
path: "/v1/interest/withdrawal"
tags: ["Interest engine"]
---

# Withdraw money

`POST /v1/interest/withdrawal`

## Request

- Base URL: `https://sandbox.pismolabs.io/interest-engine`
- URL: `https://sandbox.pismolabs.io/interest-engine/v1/interest/withdrawal`
- Auth: HTTP bearer

Withdraw amount from an account.

This endpoint generates the following events.
- [Interest withdrawal succeeded](https://developers.pismo.io/events/docs/interest-engine-interest-withdrawal-success-1) when withdrawal operation succeeds
- [Interest withdrawal failed](https://developers.pismo.io/events/docs/interest-engine-interest-withdrawal-failure-1) when withdrawal operation fails

For more information, refer to the [Interest-bearing accounts](doc:interest-bearing-accounts) guide.

## Headers

- `content-type` string, required
- `authorization` string, required

## Request body

- InterestWithdrawalRequest
  - `tracking_id` string, UUID, required: Tracking ID for the operation to ensure idempotence. Must be an alphanumeric UUID with the alphabetical characters in lowercase.
  - `account_id` string, number, required: Account ID. Must be between 1 and 64.
  - `amount` number, double, required: Amount to be deposited
  - `withdrawal_date` string, date, required: Deposit date. Format = YYYY-MM-DD.
  - `metadata` Metadata: Free-form key-value metadata. The serialized JSON must not exceed 4096 bytes.
  - `external_account_id` string: External account ID managed by the requester

## Response `200`

OK

- InterestWithdrawalResponse
  - `tracking_id` string, UUID, required: Tracking ID for the operation to ensure idempotence. Must be an alphanumeric UUID with the alphabetical characters in lowercase.
  - `external_account_id` string: External account ID managed by the requester

## Other responses

- `400`: Bad request
- `401`: Unauthorized access
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/banking-interest-operations.md) - [All operations](https://skmtc.dev/pismo/apis/banking-interest-operations/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/banking-interest-operations/revisions/a8e72194ee5e?raw)
