Pular para o conteúdo

Pool accounts

Use these operations to configure your RippleNet pool accounts.

OperationMethodDescription
Get all pool accountsGETReturns a list of all pool accounts on a RippleNet node.
Get pool account by pool account IDGETGet a pool account by its pool account ID.

Get all pool accounts

Requisição

Returns a list of all pool accounts on a RippleNet node.

Segurança
Bearer
curl -i -X GET \
  https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/config/pool_accounts \
  -H 'Authorization: YOUR_API_KEY_HERE'

Respostas

List of all pool accounts.

Corpoapplication/json
Array [
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": [ … ] } ]