POST Cancel collateral removal
Header parameters
apiKeystringRequired
The API key that was assigned to you by Native
Body
recipientstringRequiredPattern:
The address of the market maker or the settler
^0x[a-fA-F0-9]{40}$
chainstring · enumRequiredExample:
Native blockchain name, eg: ethereum, bsc, etc
ethereum
Possible values: traderstringRequiredPattern:
The address of the trader
^0x[a-fA-F0-9]{40}$
Responses
201
Success
application/json
500
There was an exception with the server
post
POST /lend/v1/lend/cancel-collateral-removal HTTP/1.1
Host: newapi.native.org
apiKey: text
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"recipient": "text",
"chain": "ethereum",
"tokens": [
{
"tokenAddress": "text",
"amount": "text"
}
],
"trader": "text"
}
{
"status": "text",
"readyAt": "2025-06-24T17:22:37.100Z",
"expiresAt": "2025-06-24T17:22:37.100Z",
"data": {}
}
Success response
{
"success": true
}
Error responses
{
"statusCode": 400,
"message": "Collateral removal request not found",
"error": "Bad Request"
}
Last updated