Skip to content

RippleNet Server API (4.0.0)

The RippleNet Server API provides you the ability to develop custom applications to manage or interact with your RippleNet instance.

Check out the best practices and tutorials.

Authentication

All API operations require a bearer access token for your target environment.<br>Learn how to request the access token.

API environments

The RippleNet Server API creates a dynamic [domainPrefix] that consists of {tenant}.{environment}.

Note: This example uses aperture as the tenant. Your tenant ID is different.

EnvironmentDomaing PrefixDomainBase URL
Testaperture.testripplexcurrent.comhttps://aperture.test.ripplexcurrent.com
UATaperture.uatripplexcurrent.comhttps://aperture.uat.ripplexcurrent.com
Productionaperture.prodripplexcurrent.comhttps://aperture.prod.ripplexcurrent.com
Languages
Servers
Mock server

https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/

https://[domainPrefix].ripplexcurrent.com/v4/

Account configuration

Operations

Get accounts

Request

Gets a list of all accounts.

Security
Bearer
Query
account_namesArray of strings

List of account names provided as a search query.

balancenumber

Balance value filter.

balance_upper_limitnumber

Balance upper limit when using the BETWEEN range operator

balance_range_operatorstring

Operator to filter balance by range.

Default "EQUAL_TO"
Enum"EQUAL_TO""GREATER_THAN""LESS_THAN""BETWEEN"
disabledboolean

Returns disabled accounts by default. To hide disabled accounts, set to false.

Default true
ownerstring

Ripplenet address of the owner of the account.

currencystring

Currency filter to apply on accounts. Must be in uppercase.

sort_fieldstring

Attribute for how to sort the results.

Default "LAST_MODIFIED_DATE"
Enum"ACCOUNT_NAME""CURRENCY""BALANCE""LAST_MODIFIED_DATE"
sort_directionstring

Direction of sorted results.

Default "ASC"
Enum"ASC""DESC"
pageinteger

The page number for paginated results. The value is zero-based, where 0 represents the first page.<br/> Set it to 0 to get the first page of results.

Default 0
sizeinteger[ 1 .. 100 ]

Number of objects to return per page.

Default 10
external_account_idsArray of strings

List of external account IDs provided as a search query.

curl -i -X GET \
  'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/config/accounts?account_names=string&balance=0&balance_upper_limit=0&balance_range_operator=EQUAL_TO&disabled=true&owner=string&currency=string&sort_field=ACCOUNT_NAME&sort_direction=ASC&page=0&size=10&external_account_ids=string' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successfuly returned list of accounts.

Bodyapplication/json
firstboolean

true if this is the first page.

lastboolean

true if this is the last page.

numberinteger

page number

numberOfElementsinteger

Number Of elements in this request

sizeinteger

page size

totalElementsinteger(int64)

Total number of elements for the given request

totalPagesinteger

Total number of pages for the given request

sortArray of objects

Sort details of this page

directionstring

Direction of the sort

Example: "ASC"
propertystring
ignoreCaseboolean
nullHandlingstring
Example: "NULLS_FIRST"
ascendingboolean
Example: true
descendingboolean
Example: false
contentArray of objects
namestringrequired

Account name and unique identifier on RippleNet.

Example: "conct_usd_sf"
balancenumberrequired

Balance available in the account.

Example: 0
ownerstringrequired

RippleNet address of the owner of the account.

Example: "rn.us.ca.san_francisco"
currencystringrequired

Currency supported by the account.

Example: "USD"
disabledbooleanrequired

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

Example: false
minimum_allowed_balancenumberrequired

Minimum balance allowed for the account. For nostro accounts, RippleNet Server uses the greater of this value and the owner_min_allowed_balance to set the account balance minimum.

Example: -1000000
maximum_allowed_balancenumberrequired

Maximum balance allowed for the account. For nostro accounts, RippleNet Server uses the lesser of this value and the owner_max_allowed_balance to set the account balance maximum.

Example: 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

Example: "bitso"
rounding_modestringrequired

Determines whether calculations for this account are rounded up or down to maintain precision.

Default "HALF_UP"
Enum"HALF_UP""HALF_DOWN""DOWN"
Example: "HALF_UP"
scaleintegerrequired

Number of decimal places used when calculating rounding for this account.

Example: 2
low_liquidity_thresholdnumberrequired

When the sender's account balance is less than or equal to this amount, after payment settlement execution, a low-liquidity message is logged at the INFO level.

Example: 1000
owner_min_allowed_balancenumberrequired

Minimum balance allowed by the owner of a nostro account. RippleNet Server uses the greater of this value and the minimum_allowed_balance to set the account balance minimum.

Example: -100000
owner_max_allowed_balancenumberrequired

Maximum balance allowed by the owner of a nostro account. RippleNet Server uses the lesser of this value and the maximum_allowed_balance to set the account balance maximum.

Example: 72036854775
platform_account_idstring(uuid)

Platform account ID associated with this RippleNet account.

external_account_idstring

Customer's account ID on their systems associated with this RippleNet account.

account_descriptionstring

Description associated with this RippleNet account.

Response
application/json
{ "first": true, "last": true, "number": 0, "numberOfElements": 0, "size": 0, "totalElements": 0, "totalPages": 0, "sort": [ {} ], "content": [ {} ] }

Create account

Request

Creates an account on the xCurrent ledger. An account stores balances and enables transfers between accounts on the ledger.

Security
Bearer
Bodyapplication/jsonrequired
namestringrequired

Provide the name of the account. This value must be unique within the xCurrent instance.

Example: "conct_usd_sf"
ownerstringrequired

Provide the RippleNet address of the owner of the account.

Example: "rn.us.ca.san_francisco"
currencystringrequired

Provide the currency of the account. Ripple recommends using ISO-4217 currency codes, although no formal constraint is enforced.

Example: "USD"
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

Example: "bitso"
rounding_modestring

Set to determine whether calculations for this account should be rounded up or down to maintain precision.

Default "HALF_UP"
Enum"HALF_UP""HALF_DOWN""DOWN"
scaleinteger

Set to the number of decimal places to be used when calculating rounding for this account. The allowable range is 0-9.

Default 2
low_liquidity_thresholdnumber

If the balance of a sender account meets or goes below this low_liquidity_threshold value after settlement execution, a low-liquidity message is logged at the INFO level.

Example: 1000
minimum_allowed_balancenumber

Set to the minimum balance allowed for the account.

Default -100000
maximum_allowed_balancenumber

Set to the maximum balance allowed for the account.

Default 72036854775
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 POST \
  https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/config/accounts \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "conct_usd_sf",
    "owner": "rn.us.ca.san_francisco",
    "currency": "USD",
    "core_ledger_ref": "bitso",
    "rounding_mode": "HALF_UP",
    "scale": 2,
    "low_liquidity_threshold": 1000,
    "minimum_allowed_balance": -100000,
    "maximum_allowed_balance": 72036854775,
    "platform_account_id": "8301de71-1ac1-4edb-8119-73ff911eb9ad",
    "external_account_id": "string",
    "account_description": "string"
  }'

Responses

Successfully created account.

Bodyapplication/json
namestringrequired

Account name and unique identifier on RippleNet.

Example: "conct_usd_sf"
balancenumberrequired

Balance available in the account.

Example: 0
ownerstringrequired

RippleNet address of the owner of the account.

Example: "rn.us.ca.san_francisco"
currencystringrequired

Currency supported by the account.

Example: "USD"
disabledbooleanrequired

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

Example: false
minimum_allowed_balancenumberrequired

Minimum balance allowed for the account. For nostro accounts, RippleNet Server uses the greater of this value and the owner_min_allowed_balance to set the account balance minimum.

Example: -1000000
maximum_allowed_balancenumberrequired

Maximum balance allowed for the account. For nostro accounts, RippleNet Server uses the lesser of this value and the owner_max_allowed_balance to set the account balance maximum.

Example: 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

Example: "bitso"
rounding_modestringrequired

Determines whether calculations for this account are rounded up or down to maintain precision.

Default "HALF_UP"
Enum"HALF_UP""HALF_DOWN""DOWN"
Example: "HALF_UP"
scaleintegerrequired

Number of decimal places used when calculating rounding for this account.

Example: 2
low_liquidity_thresholdnumberrequired

When the sender's account balance is less than or equal to this amount, after payment settlement execution, a low-liquidity message is logged at the INFO level.

Example: 1000
owner_min_allowed_balancenumberrequired

Minimum balance allowed by the owner of a nostro account. RippleNet Server uses the greater of this value and the minimum_allowed_balance to set the account balance minimum.

Example: -100000
owner_max_allowed_balancenumberrequired

Maximum balance allowed by the owner of a nostro account. RippleNet Server uses the lesser of this value and the maximum_allowed_balance to set the account balance maximum.

Example: 72036854775
platform_account_idstring(uuid)

Platform account ID associated with this RippleNet account.

external_account_idstring

Customer's account ID on their systems associated with this RippleNet account.

account_descriptionstring

Description associated with this RippleNet account.

Response
application/json
{ "name": "conct_usd_sf", "balance": 0, "owner": "rn.us.ca.san_francisco", "currency": "USD", "disabled": false, "minimum_allowed_balance": -1000000, "maximum_allowed_balance": 9999999999999900000, "core_ledger_ref": "bitso", "rounding_mode": "HALF_UP", "scale": 2, "low_liquidity_threshold": 1000, "owner_min_allowed_balance": -100000, "owner_max_allowed_balance": 72036854775, "platform_account_id": "8301de71-1ac1-4edb-8119-73ff911eb9ad", "external_account_id": "string", "account_description": "string" }

Get account by name

Request

Gets one account.

Security
Bearer
Path
account_namestringrequired

The name of the account you want returned. (To discover account names, make a Get accounts request.)

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

Responses

Successfully returned the named account.

Bodyapplication/json
namestringrequired

Account name and unique identifier on RippleNet.

Example: "conct_usd_sf"
balancenumberrequired

Balance available in the account.

Example: 0
ownerstringrequired

RippleNet address of the owner of the account.

Example: "rn.us.ca.san_francisco"
currencystringrequired

Currency supported by the account.

Example: "USD"
disabledbooleanrequired

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

Example: false
minimum_allowed_balancenumberrequired

Minimum balance allowed for the account. For nostro accounts, RippleNet Server uses the greater of this value and the owner_min_allowed_balance to set the account balance minimum.

Example: -1000000
maximum_allowed_balancenumberrequired

Maximum balance allowed for the account. For nostro accounts, RippleNet Server uses the lesser of this value and the owner_max_allowed_balance to set the account balance maximum.

Example: 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

Example: "bitso"
rounding_modestringrequired

Determines whether calculations for this account are rounded up or down to maintain precision.

Default "HALF_UP"
Enum"HALF_UP""HALF_DOWN""DOWN"
Example: "HALF_UP"
scaleintegerrequired

Number of decimal places used when calculating rounding for this account.

Example: 2
low_liquidity_thresholdnumberrequired

When the sender's account balance is less than or equal to this amount, after payment settlement execution, a low-liquidity message is logged at the INFO level.

Example: 1000
owner_min_allowed_balancenumberrequired

Minimum balance allowed by the owner of a nostro account. RippleNet Server uses the greater of this value and the minimum_allowed_balance to set the account balance minimum.

Example: -100000
owner_max_allowed_balancenumberrequired

Maximum balance allowed by the owner of a nostro account. RippleNet Server uses the lesser of this value and the maximum_allowed_balance to set the account balance maximum.

Example: 72036854775
platform_account_idstring(uuid)

Platform account ID associated with this RippleNet account.

external_account_idstring

Customer's account ID on their systems associated with this RippleNet account.

account_descriptionstring

Description associated with this RippleNet account.

Response
application/json
{ "name": "conct_usd_sf", "balance": 0, "owner": "rn.us.ca.san_francisco", "currency": "USD", "disabled": false, "minimum_allowed_balance": -1000000, "maximum_allowed_balance": 9999999999999900000, "core_ledger_ref": "bitso", "rounding_mode": "HALF_UP", "scale": 2, "low_liquidity_threshold": 1000, "owner_min_allowed_balance": -100000, "owner_max_allowed_balance": 72036854775, "platform_account_id": "8301de71-1ac1-4edb-8119-73ff911eb9ad", "external_account_id": "string", "account_description": "string" }

Update account

Request

Updates the updatable fields for an account.

Security
Bearer
Path
account_namestringrequired

The name of the account for which to set minimum and maximum balance limits. (To discover account names, make a Get accounts request.)

Bodyapplication/jsonrequired
minimum_allowed_balancenumber

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

Example: -1000000
maximum_allowed_balancenumber

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

Example: 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

Example: "bitso"
enableboolean

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

Default true
Example: 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/products/payments-odl/api-docs/ripplenet/ripplenet/config/accounts/{account_name}' \
  -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"
  }'

Responses

Successfully updated the account.

Bodyapplication/json
namestringrequired

Account name and unique identifier on RippleNet.

Example: "conct_usd_sf"
balancenumberrequired

Balance available in the account.

Example: 0
ownerstringrequired

RippleNet address of the owner of the account.

Example: "rn.us.ca.san_francisco"
currencystringrequired

Currency supported by the account.

Example: "USD"
disabledbooleanrequired

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

Example: false
minimum_allowed_balancenumberrequired

Minimum balance allowed for the account. For nostro accounts, RippleNet Server uses the greater of this value and the owner_min_allowed_balance to set the account balance minimum.

Example: -1000000
maximum_allowed_balancenumberrequired

Maximum balance allowed for the account. For nostro accounts, RippleNet Server uses the lesser of this value and the owner_max_allowed_balance to set the account balance maximum.

Example: 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

Example: "bitso"
rounding_modestringrequired

Determines whether calculations for this account are rounded up or down to maintain precision.

Default "HALF_UP"
Enum"HALF_UP""HALF_DOWN""DOWN"
Example: "HALF_UP"
scaleintegerrequired

Number of decimal places used when calculating rounding for this account.

Example: 2
low_liquidity_thresholdnumberrequired

When the sender's account balance is less than or equal to this amount, after payment settlement execution, a low-liquidity message is logged at the INFO level.

Example: 1000
owner_min_allowed_balancenumberrequired

Minimum balance allowed by the owner of a nostro account. RippleNet Server uses the greater of this value and the minimum_allowed_balance to set the account balance minimum.

Example: -100000
owner_max_allowed_balancenumberrequired

Maximum balance allowed by the owner of a nostro account. RippleNet Server uses the lesser of this value and the maximum_allowed_balance to set the account balance maximum.

Example: 72036854775
platform_account_idstring(uuid)

Platform account ID associated with this RippleNet account.

external_account_idstring

Customer's account ID on their systems associated with this RippleNet account.

account_descriptionstring

Description associated with this RippleNet account.

Response
application/json
{ "name": "conct_usd_sf", "balance": 0, "owner": "rn.us.ca.san_francisco", "currency": "USD", "disabled": false, "minimum_allowed_balance": -1000000, "maximum_allowed_balance": 9999999999999900000, "core_ledger_ref": "bitso", "rounding_mode": "HALF_UP", "scale": 2, "low_liquidity_threshold": 1000, "owner_min_allowed_balance": -100000, "owner_max_allowed_balance": 72036854775, "platform_account_id": "8301de71-1ac1-4edb-8119-73ff911eb9ad", "external_account_id": "string", "account_description": "string" }

Update nostro account balance limits

Request

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.

Security
Bearer
Path
nostroAccountAddressstringrequired

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.

Bodyapplication/jsonrequired
minimum_allowed_balancenumber

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

Example: -1000000
maximum_allowed_balancenumber

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

Example: 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

Example: "bitso"
enableboolean

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

Default true
Example: 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/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"
  }'

Responses

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

Response
No content

Disable account

Request

Disables an account.

Security
Bearer
Path
account_namestringrequired

The name of the account you want to disable. (To discover account names, make a Get accounts request.)

curl -i -X POST \
  'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/config/accounts/{account_name}/disable' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successfully disabled account.

Bodyapplication/json
namestringrequired

Account name and unique identifier on RippleNet.

Example: "conct_usd_sf"
balancenumberrequired

Balance available in the account.

Example: 0
ownerstringrequired

RippleNet address of the owner of the account.

Example: "rn.us.ca.san_francisco"
currencystringrequired

Currency supported by the account.

Example: "USD"
disabledbooleanrequired

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

Example: false
minimum_allowed_balancenumberrequired

Minimum balance allowed for the account. For nostro accounts, RippleNet Server uses the greater of this value and the owner_min_allowed_balance to set the account balance minimum.

Example: -1000000
maximum_allowed_balancenumberrequired

Maximum balance allowed for the account. For nostro accounts, RippleNet Server uses the lesser of this value and the owner_max_allowed_balance to set the account balance maximum.

Example: 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

Example: "bitso"
rounding_modestringrequired

Determines whether calculations for this account are rounded up or down to maintain precision.

Default "HALF_UP"
Enum"HALF_UP""HALF_DOWN""DOWN"
Example: "HALF_UP"
scaleintegerrequired

Number of decimal places used when calculating rounding for this account.

Example: 2
low_liquidity_thresholdnumberrequired

When the sender's account balance is less than or equal to this amount, after payment settlement execution, a low-liquidity message is logged at the INFO level.

Example: 1000
owner_min_allowed_balancenumberrequired

Minimum balance allowed by the owner of a nostro account. RippleNet Server uses the greater of this value and the minimum_allowed_balance to set the account balance minimum.

Example: -100000
owner_max_allowed_balancenumberrequired

Maximum balance allowed by the owner of a nostro account. RippleNet Server uses the lesser of this value and the maximum_allowed_balance to set the account balance maximum.

Example: 72036854775
platform_account_idstring(uuid)

Platform account ID associated with this RippleNet account.

external_account_idstring

Customer's account ID on their systems associated with this RippleNet account.

account_descriptionstring

Description associated with this RippleNet account.

Response
application/json
{ "name": "conct_usd_sf", "balance": 0, "owner": "rn.us.ca.san_francisco", "currency": "USD", "disabled": false, "minimum_allowed_balance": -1000000, "maximum_allowed_balance": 9999999999999900000, "core_ledger_ref": "bitso", "rounding_mode": "HALF_UP", "scale": 2, "low_liquidity_threshold": 1000, "owner_min_allowed_balance": -100000, "owner_max_allowed_balance": 72036854775, "platform_account_id": "8301de71-1ac1-4edb-8119-73ff911eb9ad", "external_account_id": "string", "account_description": "string" }

Auditing

Operations

Balances and statements

Operations

Beneficiary confirmation

Operations

Diagnostics

Operations

Exchange transfers

Operations

Fees

Operations

Liquidation configuration

Operations

Non-orchestration payments

Operations

Notifications

Operations

ODL flags configuration

Operations

Orchestration payments

Operations

Payment expiration

Operations

Payout method

Operations

Platform accounts

Operations

Pool accounts

Operations

Quote expiration

Operations

Quotes

Operations

Rates

Operations

Request for payment

Operations

Sender segregated account configuration

Operations

Transfers

Operations

schema

Operations

activity

Operations

Orchestration Template

Operations

diagnostics

Operations

payment

Operations

Get application info

Request

Gets application information.

Security
Bearer
curl -i -X GET \
  https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/info \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successfully fetched application info.

Bodyapplication/json
namestring

Application name.

Example: "Integration Module"
versionstring

Application version.

Example: "1.2.0"
Response
application/json
{ "name": "Integration Module", "version": "1.2.0" }

tenant

Operations

Orchestration internal action

Operations

Orchestration internal payments

Operations

Orchestration internal notifications

Operations