Atlas Settlement Network
Accept a settlement
Permissions required: Propose and Accept settlements and Read vault activity
Accept a proposed settlement and select wallets to receive funds to and/or send funds from.
post/atlas/settlements/{settlementId}/accept
Request
- Base URLhttps://api.anchorage-staging.com/v2
- AuthAPI key in header Api-Access-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
settlementIdstring required
ID of settlement to authorize
Headers
Api-Signaturestring required
A hex-encoded Ed25519 signature of timestamp_epoch_seconds + uppercase(http_method) + request_path + request_body.
Construction example:
toHex(
ed25519Sign(
signing_key,
'{}{}{}{}'.format(timestamp_epoch_seconds, toUpper(httpMethod), httpRequestPath, httpBody)
)
)
Api-Timestampinteger required
Current timestamp, represented as unix epoch seconds
Request body
Example request
{
"walletAmounts": [
{
"assetType": "BTC",
"quantity": "10.45234733"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.