Skip to content

Increase Position Margin​

POST
/v1/perps/positions/margin/increase

Add margin to an open position, denominated in USDC. The floor is the pair's
minMarginAmount (2 USDC). The total margin on the pair after the add must not exceed the
per-pair riskLimit from GET /v1/perps/pairs. A 200 means the margin has landed and
the returned position reflects it. There is no decrease-margin route — reduce the position
instead via POST /v1/perps/positions/reduce.

Authorizations​

apiKey

Your API key

Type
API Key (header: X-VALR-API-KEY)
+
apiSignature

HMAC SHA512 signature of the request (see Authentication section)

Type
API Key (header: X-VALR-SIGNATURE)
+
apiTimestamp

Request timestamp in milliseconds

Type
API Key (header: X-VALR-TIMESTAMP)

Request Body​

application/json
JSON
{
"pair": "BTCUSDC",
"amount": "5",
"payCurrencySymbol": "USDC"
}

Responses​

Margin increased successfully

application/json

Playground​

Authorization
Body

Samples​