---
title: "Transfer collateral for margin"
method: POST
path: "/api/prime/trading/v1/accounts/{accountId}/margin/collateral/transfer"
tags: ["Margin"]
---

# Transfer collateral for margin

`POST /api/prime/trading/v1/accounts/{accountId}/margin/collateral/transfer`

## Request

- Base URL: `https://developers.bitgo.com`
- URL: `https://developers.bitgo.com/api/prime/trading/v1/accounts/{accountId}/margin/collateral/transfer`
- Auth: none declared

Transfers collateral for the specified account.

## Path parameters

- `accountId` string, required

## Request body

- object
  - `currency` string
  - `quantity` string

## Response `200`

Collateral transfer response

- object
  - `transferId` string, uuid: The margin transfer ID (UUID) from Trade Falcon
  - `currency` string, required: Symbol of the collateral asset
  - `quantity` string, required: Number representing the balance for the specified collateral
  - `balanceValue` object, required: Returns the value of the collateral.
    - `quantity` string, decimal, required: The specified quantity.
    - `currency` string, required: The specified quantity currency.

## Other responses

- `400`: Bad request - Invalid parameters
- `401`: Unauthorized - Invalid or missing authentication
- `403`: Forbidden - Insufficient permissions
- `422`: Unprocessable Entity - JSON payload is improperly formatted
- `429`: Too Many Requests - Rate limit exceeded
- `500`: Internal Server Error

---

[API](https://skmtc.dev/bitgo/apis/bitgo-api.md) - [All operations](https://skmtc.dev/bitgo/apis/bitgo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bitgo/apis/bitgo-api/revisions/6b6e050a7f84?raw)
