Pular para o conteúdo

Update nostro account balance limits

Requisição

Updates minimum and maximum allowed balance limits on a nostro account owned by this financial institution on a ledger on a peered xCurrent instance. Allows owner of nostro account to restrict balance range to less than the account maximum and greater than the account minimum set by partner.

Segurança
Bearer
Caminho
nostroAccountAddressstringobrigatório

The RippleNet address of the nostro account. Use the format accountname@ripplenetaddress where accountname represents the nostro account and ripplenetaddress represents the the peered xCurrent instance that contains the nostro account. For example, sf-aus@rn.us.tx.austin.

Corpoapplication/jsonobrigatório
minimum_allowed_balancenumber

Set to the minimum balance allowed for the account. Updates the value of minimum_allowed_balance for the account.

Exemplo:-1000000
maximum_allowed_balancenumber

Set to the maximum balance allowed for the account. Updates the value of maximum_allowed_balance for the account.

Exemplo:9999999999999900000
core_ledger_refstring

Core ledger reference key. This could be a bank account number for fiat, exchange name for exchange accounts, or a ledger reference for digital accounts. This field is required for exchange accounts

Exemplo:"bitso"
enableboolean

Indicates whether the account should be disabled (false) or active (true).

Padrão:true
Exemplo:true
platform_account_idstring, (uuid)

Platform account ID associated with this RippleNet account.

external_account_idstring

Used to link a customer’s account ID on their systems to their RippleNet account.

account_descriptionstring

Description associated with this RippleNet account.

curl -i -X PUT \
  'https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/ripplenet/config/accounts/{nostroAccountAddress}/nostro-account-update' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "minimum_allowed_balance": -1000000,
    "maximum_allowed_balance": 9999999999999900000,
    "core_ledger_ref": "bitso",
    "enable": true,
    "platform_account_id": "8301de71-1ac1-4edb-8119-73ff911eb9ad",
    "external_account_id": "string",
    "account_description": "string"
  }'

Respostas

Successfully updated balance limits for nostro account on a peered RippleNet node.

Resposta
Sem conteúdo