Account
Set margin configuration
Changed onSet margin configuration for an account and market
post/account/margin/{market}
Request
- Base URLhttps://api.testnet.paradex.trade/v1
- URLhttps://api.testnet.paradex.trade/v1/account/margin/{market}
- AuthAPI key in header Authorization
Path parameters
marketstring required
Market Name - example: BTC-USD-PERP
Request body
Example request
{
"leverage": 10,
"margin_type": "CROSS",
"on_behalf_of_account": "0x1234567890abcdef"
}Response
OK
Changes
- breaking
added required request body
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking