Pular para o conteúdo

Get liquidation configuration by ID

Requisição

Returns a liquidation configuration by ID.

Segurança
Bearer
Caminho
liquidation_config_idstring, (uuid)obrigatório

ID of the liquidation configuration you want to retrieve.

curl -i -X GET \
  'https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/ripplenet/config/liquidation_config/{liquidation_config_id}' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Respostas

Liquidation Configuration

Corpoapplication/json
liquidation_config_idstring, (uuid)

The unique identifier for this Liquidation Configuration.

namestring

Display name for this Liquidaton Configuration.

source_addressstring

Full RippleNet address of the source account in the form accountname@host.

destination_addressstring

Full RippleNet address of the destination account in the form accountname@host.

liquidation_modestring

Mode in which this Liquidation Configuration operates.

Enum:"PER_PAYMENT""SMART_LIQUIDATION_PER_PAYMENT"
price_guaranteestring

Price guarantee for the Liquidation quote.

Enum:"FIRM""INDICATIVE"
liquidation_typestring

Indicates the amount the liquidation is based on

Enum:"SENDER""RECEIVER""XRP"
Resposta
{ "liquidation_config_id": "ce732202-aed8-4051-a58e-204364537ee9", "name": "string", "source_address": "string", "destination_address": "string", "liquidation_mode": "PER_PAYMENT", "price_guarantee": "FIRM", "liquidation_type": "SENDER" }