---
title: "account/withdraw-my-account"
method: POST
path: "/account/withdraw-my-account"
tags: ["Account Endpoints"]
---

# account/withdraw-my-account

`POST /account/withdraw-my-account`

## Request

- Base URL: `https://earthnode-dev.vopay.com/api/v2`
- URL: `https://earthnode-dev.vopay.com/api/v2/account/withdraw-my-account`
- Auth: none declared

This endpoint will credit your default bank account by withdarwing funds from your VoPay account.

To set a default bank account, please use the /bank-account/set-my-bank-account endpoint.

## Request body `application/x-www-form-urlencoded`

- object
  - `AccountID` string, required: Your account ID
  - `Key` string, required: API key for the account
  - `Signature` string, required: Hashed signature for the request
  - `Amount` number, required: The amount to credit to your bank account.
  - `ClientReferenceNumber` string: An optional reference number to associate with the transactions
  - `Notes` string: An optional note to associate with the transactions.
  - `IdempotencyKey` string: A unique key which the server can use to recognize and reject subsequent retries of the same request.
  - `GLCode` string: An optional unique identification general ledger code.
  - `ParentTransactionID` string: The parent funding transaction the withdrawal will be linked to, can become a split payment with multiple withdrawals. The withdrawal is created in the waiting status and is released automatically once the funds of the parent transaction have been released. The parent transaction must belong to your account and its currency must match the withdrawal currency.

## Response `200`

- object
  - `Success` boolean, required: True if the request was successful, false if it failed
  - `ErrorMessage` string, required: Contains a description of the error if the request failed
  - `TransactionID` integer, required: The unique ID of the funding transaction that was just created. This ID should be saved as it is required order to look up the status information on the transaction.
  - `Flagged` string: Details on why the transaction was flagged, if applicable. Flagged transactions will need to be confirmed by using the /account/transaction/confirm endpoint.

## Changes

- **2026-11-03** `71f251deb318`: 2 info
  - added the new optional request property `ParentTransactionID`
  - added the optional property `Flagged` to the response with the `200` status

[Operation history](https://skmtc.dev/vopay/apis/accounts/changes/account/withdraw-my-account/post.md)

---

[API](https://skmtc.dev/vopay/apis/accounts.md) - [All operations](https://skmtc.dev/vopay/apis/accounts/llms.txt) - [OpenAPI document](https://skmtc.dev/vopay/apis/accounts/revisions/71f251deb318?raw)
