v1

latestOpenAPI 3.0.02026-08-04134348905.1 KB
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

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

useGasStationboolean

Option to request to use Gas Station to cover fees for acceptor.

vaultIdstring required

ID of vault to use for the settlement

Example request

{
  "walletAmounts": [
    {
      "assetType": "BTC",
      "quantity": "10.45234733"
    }
  ]
}