Skip to main content
POST
Deallocate from a bonded earn strategy

Authorizations

API-Key
string
header
required

Your public API key. Identifies the partner making the request.

API-Sign
string
header
required

HMAC signature over the request, computed with your private key.

API-Nonce
string
header
required

Monotonically increasing nonce included in the request signature.

Headers

Idempotency-Key
string<uuid>
required

Client-generated canonical UUIDv4 that uniquely identifies a request for safe retries.

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$

Path Parameters

account_id
string
required

Globally unique public identifier for an account.

Required string length: 14 - 42
strategy_id
string
required

Identifier of the bonded earn strategy to allocate to or deallocate from.

Required string length: 20
Pattern: ^ES[A-Z2-7]{5}-[A-Z2-7]{5}-[A-Z2-7]{6}$

Body

application/json

Request to deallocate funds from a bonded earn strategy.

amount
string
required

Amount in the strategy's asset, as a decimal string.

Required string length: 1 - 64
Example:

"2.0"

Response

The deallocation request was accepted and is pending.

data
object
required

Confirmation that an allocate or deallocate request was accepted.