POST Cancel collateral removal

Cancels the settlement request and unpause trading 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/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