Create Settlement

Security(Ledger_API_Key and Ledger_API_User) or Ledger_API_Key and Ledger_API_User and Ledger_Store_Auth_Token) or Ledger_API_User or Ledger_API_User and Ledger_Store_Auth_Token)
Request
Request Body schema: application/json

Settlement creation payload

from_pledge_id
required
string <uuid>
id
required
string <uuid>
object or null
Default: null
required
object
(BitcoinSendTransactionCreationData (object or null)) or (EthereumSendTransactionCreationData (object or null)) or (EthereumExecuteContractTransactionCreationData (object or null)) or (EthereumDeployContractTransactionCreationData (object or null)) or (RippleSendTransactionCreationData (object or null)) or (StellarSendTransactionCreationData (object or null)) or (TezosSendTransactionCreationData (object or null)) or (CardanoSendTransactionCreationData (object or null)) or (SolanaSendTransactionCreationData (object or null)) or (SolanaLightTokenSendCheckedCreationData (object or null)) or (SolanaLightTokenSendCheckedFundedCreationData (object or null)) or (SolanaCreateAssociatedTokenAccountCreationData (object or null)) or (PolkadotSendTransactionCreationData (object or null)) or (PolkadotBondExtraTransactionCreationData (object or null)) or (PolkadotUnbondTransactionCreationData (object or null)) or (PolkadotRebondTransactionCreationData (object or null)) or (PolkadotSetPayeeTransactionCreationData (object or null)) or (PolkadotWithdrawTransactionCreationData (object or null)) or (PolkadotChillTransactionCreationData (object or null))
Default: null
Responses
200

Settlement result

400

Invalid request data

post/settlements
Request samples
application/json
{
  • "from_pledge_id": "e6a3f426-7d86-4a76-86f7-b5f0f57eddec",
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "inbound_transaction_intent": null,
  • "meta": {
    },
  • "outbound_transaction_intent": null
}
Response samples
application/json
{
  • "from_pledge_id": "e6a3f426-7d86-4a76-86f7-b5f0f57eddec",
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "inbound_transaction_intent": null,
  • "meta": {
    },
  • "outbound_transaction": null,
  • "state": "string"
}
Copyright © Ledger Enterprise Platform 2023. All right reserved.