POST Request collateral removal

Creates a collateral removal request and start the time delay. Note that Market Maker will be paused at this point from other activities.

post
Header parameters
apiKeystringRequired

The API key that was assigned to you by Native

Body
recipientstringRequired

The address of the market maker or the settler

Pattern: ^0x[a-fA-F0-9]{40}$
chainstring · enumRequired

Native blockchain name, eg: ethereum, bsc, etc

Example: ethereumPossible values:
traderstringRequired

The address of the trader

Pattern: ^0x[a-fA-F0-9]{40}$
Responses
201
Success
application/json
post
POST /lend/v1/lend/request-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-25T00:59:22.553Z",
  "expiresAt": "2025-06-25T00:59:22.553Z",
  "data": {}
}

Success response

{
    "success": true,
    "id": "ffa84899-3c76-4e2b-a720-10c5d9bc0da0"
}

Error responses

// Pending request
{
    "statusCode": 400,
    "message": "Pending request exists, please cancel previous request!",
    "error": "Bad Request"
}

Last updated