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.
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.
All API operations require a bearer access token for your target environment.<br>Learn how to request the access token.
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.
| Environment | Domaing Prefix | Domain | Base URL |
|---|---|---|---|
| Test | aperture.test | ripplexcurrent.com | https://aperture.test.ripplexcurrent.com |
| UAT | aperture.uat | ripplexcurrent.com | https://aperture.uat.ripplexcurrent.com |
| Production | aperture.prod | ripplexcurrent.com | https://aperture.prod.ripplexcurrent.com |
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/
https://[domainPrefix].ripplexcurrent.com/v4/
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.
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/exchange_transfers
https://[domainPrefix].ripplexcurrent.com/v4/exchange_transfers
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/exchange_transfers?page=0&size=20' \
-H 'Authorization: YOUR_API_KEY_HERE'Successfully retrieved exchange transfers.
Sort details of this page
Provides an array of exchange transfer objects.
Unique identifier of the exchange transfer.
State of the exchange transfer.
Indicates the exchange transfer's quoted FX rate type.
| Enum Value | Description |
|---|---|
| FIRM | A firm exchange rate ensures that the quoted and delivered transfer amounts are equal. |
| INDICATIVE | An indicative exchange rate allows for movement between quoted rate and transfer execution, such that the quoted amount and delivered amount may differ. |
RippleNet account name and address of the sender, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
RippleNet account name and address of the receiver, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
Describes an exchange rate used in an exchange transfer.
Counter currency for custom rate for the sending account.
ID set by the sender that is persisted on all fiat node instances that participated in the transfer.
Internal ID that the sender can optionally specify. Only visible to the sender. Only the sending fiat node instance stores this ID.
Custom information set by a RippleNet address involved in the exchange transfer.
RippleNet address of the fiat node instance that set the user information.
State of the exchange transfer set when the RippleNet address set the user information.
{ "first": true, "last": true, "number": 0, "numberOfElements": 0, "size": 0, "totalElements": 0, "totalPages": 0, "sort": [ { … } ], "content": [ { … } ] }
Execute an exchange transfer to move funds from one of your accounts in one currency (USD, for example) to another one of your accounts in another currency (EUR, for example) at an exchange rate set by your peer who maintains both of your accounts on their ledger. An exchange transfer enables you to fund a foreign currency account from your domestic currency account in bulk.
Before you make this request, you may want to use the Quote Exchange Transfer request to see a quote for the exchange transfer you want to make.
RippleNet account name and address of the sender, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
RippleNet account name and address of the receiver, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
Amount transferred, expressed in the curency of the account indicated by the amount_type value.
Amount type used for the exchange transfer.<p>To indicate that the amount is expressed in the currency of the account provided by the sender_address value, set to SENDER_AMOUNT.</p> <p>To indicate that the amount is expressed in the currency of the account provided by the receiver_address value, set to RECEIVER_AMOUNT.</p>
ID set by the sender that is persisted on all fiat node instances that participated in the transfer.
Internal ID that the sender can optionally specify. Only visible to the sender. Only the sending fiat node instance stores this ID.
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/exchange_transfers/execute
https://[domainPrefix].ripplexcurrent.com/v4/exchange_transfers/execute
curl -i -X POST \
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/exchange_transfers/execute \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"sender_address": "alias_usd_lon@rn.eur.uk.london",
"receiver_address": "conct_gbp_lon@rn.eur.uk.london",
"amount": 100,
"amount_type": "SENDER_AMOUNT",
"end_to_end_id": 378910,
"internal_id": 1987,
"user_info": {}
}'Successfully executed exchange transfer.
Unique identifier of the exchange transfer.
State of the exchange transfer.
Indicates the exchange transfer's quoted FX rate type.
| Enum Value | Description |
|---|---|
| FIRM | A firm exchange rate ensures that the quoted and delivered transfer amounts are equal. |
| INDICATIVE | An indicative exchange rate allows for movement between quoted rate and transfer execution, such that the quoted amount and delivered amount may differ. |
RippleNet account name and address of the sender, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
RippleNet account name and address of the receiver, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
Describes an exchange rate used in an exchange transfer.
Counter currency for custom rate for the sending account.
ID set by the sender that is persisted on all fiat node instances that participated in the transfer.
Internal ID that the sender can optionally specify. Only visible to the sender. Only the sending fiat node instance stores this ID.
Custom information set by a RippleNet address involved in the exchange transfer.
RippleNet address of the fiat node instance that set the user information.
State of the exchange transfer set when the RippleNet address set the user information.
{ "exchange_transfer_id": "e3b20ba4-28ed-4752-990d-e67887bb331e", "state": "EXECUTED", "type": "INDICATIVE", "sender_address": "sf@rn.us.ca.san_francisco", "receiver_address": "sf_gbp@rn.us.ca.san_francisco", "source_amount": 1, "destination_amount": 355, "source_currency": "USD", "destination_currency": "GBP", "fx_transfer_rate": { "rate": 0.89, "base_currency": "USD", "counter_currency": "GBP", "rate_type": "BUY" }, "end_to_end_id": "string", "internal_id": "string", "user_info": [ { … } ] }
RippleNet account name and address of the sender, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
RippleNet account name and address of the receiver, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
Amount transferred, expressed in the curency of the account indicated by the amount_type value.
Amount type of the exchange transfer.<p>To indicate that the amount is expressed in the currency of the account provided by the sender_address value, set to SENDER_AMOUNT.</p> <p>To indicate that the amount is expressed in the currency of the account provided by the receiver_address value, set to RECEIVER_AMOUNT.</p>
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/exchange_transfers/quote
https://[domainPrefix].ripplexcurrent.com/v4/exchange_transfers/quote
curl -i -X POST \
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/exchange_transfers/quote \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"sender_address": "alias_usd_lon@rn.eur.uk.london",
"receiver_address": "conct_gbp_lon@rn.eur.uk.london",
"amount": 100,
"amount_type": "SENDER_AMOUNT"
}'Successfully quoted exchange transfer.
Indicates the exchange transfer's quoted FX rate type.
| Enum Value | Description |
|---|---|
| FIRM | A firm exchange rate ensures that the quoted and delivered transfer amounts are equal. |
| INDICATIVE | An indicative exchange rate allows for movement between quoted rate and transfer execution, such that the quoted amount and delivered amount may differ. |
RippleNet account name and address of the sender, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
RippleNet account name and address of the receiver, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
Describes an exchange rate used in an exchange transfer.
Counter currency for custom rate for the sending account.
{ "type": "INDICATIVE", "sender_address": "alias_usd_lon@rn.eur.uk.london", "receiver_address": "conct_gbp_lon@rn.eur.uk.london", "source_amount": 100, "destination_amount": 89, "source_currency": "USD", "destination_currency": "GBP", "fx_transfer_rate": { "rate": 0.89, "base_currency": "USD", "counter_currency": "GBP", "rate_type": "BUY" } }
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/exchange_transfers/{id}/complete
https://[domainPrefix].ripplexcurrent.com/v4/exchange_transfers/{id}/complete
curl -i -X POST \
'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/exchange_transfers/{id}/complete' \
-H 'Authorization: YOUR_API_KEY_HERE'Successfully completed exchange transfer.
Unique identifier of the exchange transfer.
State of the exchange transfer.
Indicates the exchange transfer's quoted FX rate type.
| Enum Value | Description |
|---|---|
| FIRM | A firm exchange rate ensures that the quoted and delivered transfer amounts are equal. |
| INDICATIVE | An indicative exchange rate allows for movement between quoted rate and transfer execution, such that the quoted amount and delivered amount may differ. |
RippleNet account name and address of the sender, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
RippleNet account name and address of the receiver, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
Describes an exchange rate used in an exchange transfer.
Counter currency for custom rate for the sending account.
ID set by the sender that is persisted on all fiat node instances that participated in the transfer.
Internal ID that the sender can optionally specify. Only visible to the sender. Only the sending fiat node instance stores this ID.
Custom information set by a RippleNet address involved in the exchange transfer.
RippleNet address of the fiat node instance that set the user information.
State of the exchange transfer set when the RippleNet address set the user information.
{ "exchange_transfer_id": "e3b20ba4-28ed-4752-990d-e67887bb331e", "state": "EXECUTED", "type": "INDICATIVE", "sender_address": "sf@rn.us.ca.san_francisco", "receiver_address": "sf_gbp@rn.us.ca.san_francisco", "source_amount": 1, "destination_amount": 355, "source_currency": "USD", "destination_currency": "GBP", "fx_transfer_rate": { "rate": 0.89, "base_currency": "USD", "counter_currency": "GBP", "rate_type": "BUY" }, "end_to_end_id": "string", "internal_id": "string", "user_info": [ { … } ] }
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/exchange_transfers/{id}
https://[domainPrefix].ripplexcurrent.com/v4/exchange_transfers/{id}
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/exchange_transfers/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE'Successfully retrieved exchange transfer.
Unique identifier of the exchange transfer.
State of the exchange transfer.
Indicates the exchange transfer's quoted FX rate type.
| Enum Value | Description |
|---|---|
| FIRM | A firm exchange rate ensures that the quoted and delivered transfer amounts are equal. |
| INDICATIVE | An indicative exchange rate allows for movement between quoted rate and transfer execution, such that the quoted amount and delivered amount may differ. |
RippleNet account name and address of the sender, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
RippleNet account name and address of the receiver, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.
Describes an exchange rate used in an exchange transfer.
Counter currency for custom rate for the sending account.
ID set by the sender that is persisted on all fiat node instances that participated in the transfer.
Internal ID that the sender can optionally specify. Only visible to the sender. Only the sending fiat node instance stores this ID.
Custom information set by a RippleNet address involved in the exchange transfer.
RippleNet address of the fiat node instance that set the user information.
State of the exchange transfer set when the RippleNet address set the user information.
{ "exchange_transfer_id": "e3b20ba4-28ed-4752-990d-e67887bb331e", "state": "EXECUTED", "type": "INDICATIVE", "sender_address": "sf@rn.us.ca.san_francisco", "receiver_address": "sf_gbp@rn.us.ca.san_francisco", "source_amount": 1, "destination_amount": 355, "source_currency": "USD", "destination_currency": "GBP", "fx_transfer_rate": { "rate": 0.89, "base_currency": "USD", "counter_currency": "GBP", "rate_type": "BUY" }, "end_to_end_id": "string", "internal_id": "string", "user_info": [ { … } ] }
https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/ripplenet/v4/orchestration/info
https://[domainPrefix].ripplexcurrent.com/v4/v4/orchestration/info
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'{ "name": "Integration Module", "version": "1.2.0" }