Pular para o conteúdo

Create pool account

Requisição

Creates a Ripplenet pool account, which points to one or more RippleNet accounts using the same currency. With pool accounts, you can view the combined balance of all RippleNet accounts within the pool.

Segurança
Bearer
Corpoapplication/jsonobrigatório
pool_account_namestringobrigatório

The name of the pool account.

currencystringobrigatório

The currency of the pool account.

Exemplo:"USD"
ownerstringobrigatório

The RippleNet address of the owner of the pool account.

Exemplo:"rn.us.ca.san_francisco"
descriptionstring, <= 512 characters

The description of the pool account.

curl -i -X POST \
  https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/ripplenet/config/pool_accounts \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "pool_account_name": "string",
    "currency": "USD",
    "owner": "rn.us.ca.san_francisco",
    "description": "string"
  }'

Respostas

Successfully created pool account.

Corpoapplication/json
pool_account_idstring, (uuid)

The Account ID of the pool account.

pool_account_namestring

The name of the pool account.

currencystring

Currency of the pool account.

descriptionstring

Description of the pool account.

ownerstring

RippleNet address of the owner of the pool account.

Exemplo:"rn.us.ca.san_francisco"
linkedAccountNamesArray of strings

RippleNet accounts linked to the pool account.

Resposta
{ "pool_account_id": "8bb116e3-309b-4f1e-9150-ea3b31a4e22f", "pool_account_name": "string", "currency": "string", "description": "string", "owner": "rn.us.ca.san_francisco", "linkedAccountNames": [ "string" ] }