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/reference/openapi/

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

Auditing

Use these operations to audit your accounts.

OperationMethodDescription
Get auditsGETGets an audit trail of user actions and configuration changes (to accounts, fees, and rates) on a RippleNet instance.
Get event trail for paymentGETGets an audit trail of a payment's state changes on a local RippleNet instance.
Operations

Balances and statements

Use these operations to view balances and statements for a ledger.

OperationMethodDescription
Get balancesGETGet balances for local and remote accounts owned by a RippleNet address.
Get ledger balancesGETGet balances for ledger owned by a RippleNet address.
Get statementGETGets a statement for an account that lists payments and transfers that impacted the account's balance during a specified date-time range.
Get statement by external account IDGETGets a statement for an account that lists payments and transfers that impacted the account's balance during a specified date-time range.
Get ledger account statementGETGet statement for a specified Ledger Account
Operations

Beneficiary confirmation

Use these operations to perform beneficiary confirmations.

OperationMethodDescription
Get account lookup by statusGETGet Account Lookup entities by status and other filters.
Initiate account lookupPOSTCreates an Account Lookup request to validate a beneficiary's account details before sending a payment.
Complete account lookupPOSTPosts an Account Lookup response to validate a beneficiary's account details before payment.
Get account lookup by IDGETGets an Account Lookup entity for its account_lookup_id value.
Operations

Diagnostics

Use these operations to view RippleNet Server health.

OperationMethodDescription
Check healthGETGets the health status of the xCurrent server.
Check heartbeatGETGets the health status of the xCurrent server's peers.
Operations

Exchange transfers

Use these operations to manage exchange transfers.

OperationMethodDescription
Get exchange transfersGETList all exchange transfers.
Execute exchange transferPOSTExecute an exchange transfer to move funds from one of your accounts in one currency, to another one of your accounts in another currency.
Get exchange transfer quote POSTRequests a quote for an exchange transfer.
Complete exchange transfer POSTUpdates the status of an exchange transfer to COMPLETED. Make this request once the exchange transfer has been made on both the ledger and on internal systems.
Get exchange transfer by ID GETGets an exchange transfer by ID.
Operations

Fees

Operations

Non-orchestration payments

Operations

Orchestration payments

Operations

Payment expiration

Operations

Payout method

Payout Method operations let receivers create and manage payout methods. Senders can generate quotes based on these receiver payout methods.

OperationMethodDescription
Create payout methodPOSTCreates a payout method. For example, LOCAL_RAILS.
Get payout methodsGETReturns a list of payout methods created by a receiving partner.
Get payout method by IDGETReturns a payout method by its ID.
Update payout methodPUTUpdates a payout method.
Delete payout methodDELETEDeletes a payout method.
Get all categoriesGETReturns all the payout method categories.
Operations

Platform accounts

Use these operations to configure your RippleNet platform accounts.

OperationMethodDescription
Create platformPOSTCreates a RippleNet platform that represents a financial entity that holds accounts in the real world. For example, a Bank, Exchange, or Wallet provider.
Get all platformsGETReturns a list of all active RippleNet platforms.
Get platform by platform IDGETGet a RippleNet platform by its platform ID.
Update platformPUTUpdates a RippleNet platform.
Delete platform by platform IDDELETEDeletes a RippleNet platform by its platform ID.
Create platform accountPOSTCreates a RippleNet platform account, which represents a real-world account owned by a financial entity.
Get platform accountsGETReturns a paged list of all active RippleNet platform accounts.
Get platform account by platform account IDGETGets a RippleNet platform account by its platform account ID.
Update platform accountPUTUpdates a RippleNet platform account.
Delete platform account by platform account IDDELETEDeletes a RippleNet platform account by its platform account ID.
Get platform accounts balancesGETGet balances for local Platform Accounts
Get platform account statementGETGet statement for a specified Platform Account
Operations

Pool accounts

Operations

Quote expiration

Use these operations to manage quote expirations.

OperationMethodDescription
List quote expiriesGETReturns all configured quote expiries.
Create quote expiryPOSTCreates a quote expiration window, or time to live (ttl), in seconds.
Get quote expiryGETGets the configured quote expiration window, or time to live (ttl), in seconds.
Update quote expiryPUTSets a quote expiration window, or time to live (ttl), in seconds.
Operations

Quotes

Operations

Rates

Use these operations to manage your rates.

OperationMethodDescription
Get ratesGETGets a list of configured exchange rates.
Create ratePOSTCreates an exchange rate for a specified currency pair.
Get rate by IDGETGets a configured exchange rate by ID.
Update ratePUTUpdates an existing exchange rate.
Delete rateDELETEDeletes an exchange rate. Once deleted, an exchange rate cannot be accessed.
Operations

Request for payment

Operations

Transfers

Use these operations to manage your transfers.

OperationMethodDescription
Get transfersGETGets a list of transfers.
Get transfer estimateGETGet an estimate of the fee to make an "outbound" transfer from an exchange (connected to xRapid) to an another account outside of RippleNet (such as a bank account).
Get transfer by IDGETGets a transfer by ID.
Execute transferPOSTTransfers funds between accounts.
Complete transferPOSTUpdates the state of a transfer to COMPLETED.
Add transfer labelsPUTAdds a list of labels to the transfer. To retrieve transfers by label, see Get transfers
Delete transfer labelsDELETEDeletes one or more existing labels from the transfer.
Operations

Get transfers

Request

Gets a list of transfers.

Security
Bearer
Query
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 20
with_labelsArray of strings

Returns transfers that contain any of the specified labels.<p>Example - ?with_labels=LABEL1,LABEL2</p>

without_labelsArray of strings

Returns transfers that do not contain any of the specified labels.

include_labelsboolean

Returns labels added to each Transfer object. By default labels are not returned. <p>Example - ?with_labels=LABEL1&include_labels=true</p>

Default false
statestring

Filter by transfer states.

Enum"PREPARED""EXECUTED""COMPLETED""FAILED""PENDING"
internal_idstring

Optional parameter for filtering with internalId.

sender_end_to_end_idstring

Optional parameter for filtering with sender end to end id.

sort_fieldstring

Field used to sort the results.

Enum"CREATED_AT""MODIFIED_AT"
sort_directionstring

Sort direction.

Enum"ASC""DESC"
accountstring

RippleNet account which is involved in transfer

transfer_account_rolestring

by default account parameter would search both sender and receiver of transfer and bring the results. This is to restrict the account search to sender or receiver of a transfer

Enum"SENDING""RECEIVING"
curl -i -X GET \
  'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/reference/openapi/transfers?page=0&size=20&with_labels=string&without_labels=string&include_labels=false&state=PREPARED&internal_id=string&sender_end_to_end_id=string&sort_field=CREATED_AT&sort_direction=ASC&account=string&transfer_account_role=SENDING' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successfully returned transfers.

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

Provides an array of transfer objects.

transfer_idstring(uuid)required

Unique identifier of the transfer.

Example: "9eca588f-e89d-4629-82fa-da9c4646310f"
statestringrequired

State of the transfer.<p>QUOTED and PENDING only apply when RippleNet is enabled to receive payments from xRapid. QUOTED represents an outbound transfer fee estimate. PENDING is the state of an outbound transfer executed by RippleNet (via xRapid) but not yet paid out by the digital exchange. If successfully paid out, the state becomes COMPLETED. If not successfully paid out by the digital exchange, the state becomes FAILED. </p>

Enum"PREPARED""EXECUTED""COMPLETED""CANCELLED""FAILED""QUOTED""PENDING""OTHER"
Example: "EXECUTED"
owner_addressstringrequired

Owner RippleNet address, if different from the RippleNet address of the sender_address and receiver_address.

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

RippleNet account name and address, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.

Example: "trans_usd_sf@rn.us.ca.san_francisco"
receiver_addressstringrequired

RippleNet account name and address, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.

Example: "conct_usd_sf@rn.us.ca.san_francisco"
amountnumberrequired

Amount transferred, expressed in the account's currency.

Example: 15
internal_idstring

Internal ID that the sender can optionally specify. Only visible to the sender. Only the sending RippleNet instance stores this ID.

Example: "9cf5aa4b-1e44-436a-ab7c-d399aec905da"
end_to_end_idstring

ID that the sender can optionally specify. Persisted on all RippleNet instances that participated in the transfer.

Example: "fd7559be-aa85-433f-a283-0cd58681cdf0"
sending_feenumber

Optional sending fee charged by a digital asset exchange for initiating an outbound transfer.

created_atstring(date-time)

The time when this transfer is created.

Example: "2019-10-01T21:28:28.354Z"
user_infoArray of objectsrequired

Custom information set by a RippleNet address involved in the transfer.

node_addressstringrequired

RippleNet address of the xCurrent instance that set the user information.

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

State of the transfer set when the RippleNet address set the user information.

Enum"PREPARED""EXECUTED""COMPLETED""CANCELLED""FAILED""QUOTED"
Example: "EXECUTED"
jsonobjectrequired

One or more arbitrary key/value pairs.

created_atstring(date-time)

timestamp of when this user info was created

Example: "2019-10-01T21:28:28.357Z"
labelsArray of strings

List of labels associated with this transfer

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

Get transfer estimate

Request

Get an estimate of the fee to make an "outbound" transfer from an exchange (connected to xRapid) to an another account outside of RippleNet (such as a bank account). This operation is only available to xCurrent instances enabled as receivers of xRapid payments.

Security
Bearer
Query
sender_addressstring^[^\s]+@[^\s]+$

RippleNet address of the xRapid account from which the transfer is funded

receiver_addressstring^[^\s]+@[^\s]+$

RippleNet address representing an account outside of RippleNet to which the transfer amount is sent.

amountnumber>= 0

The amount to be transferred

curl -i -X GET \
  'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/reference/openapi/transfers/estimate?sender_address=string&receiver_address=string&amount=0' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successfully retrieved estimate of transfer sending fee

Bodyapplication/json
transfer_idstring(uuid)required

Unique identifier of the transfer.

Example: "9eca588f-e89d-4629-82fa-da9c4646310f"
statestringrequired

State of the transfer.<p>QUOTED and PENDING only apply when RippleNet is enabled to receive payments from xRapid. QUOTED represents an outbound transfer fee estimate. PENDING is the state of an outbound transfer executed by RippleNet (via xRapid) but not yet paid out by the digital exchange. If successfully paid out, the state becomes COMPLETED. If not successfully paid out by the digital exchange, the state becomes FAILED. </p>

Enum"PREPARED""EXECUTED""COMPLETED""CANCELLED""FAILED""QUOTED""PENDING""OTHER"
Example: "EXECUTED"
owner_addressstringrequired

Owner RippleNet address, if different from the RippleNet address of the sender_address and receiver_address.

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

RippleNet account name and address, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.

Example: "trans_usd_sf@rn.us.ca.san_francisco"
receiver_addressstringrequired

RippleNet account name and address, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.

Example: "conct_usd_sf@rn.us.ca.san_francisco"
amountnumberrequired

Amount transferred, expressed in the account's currency.

Example: 15
internal_idstring

Internal ID that the sender can optionally specify. Only visible to the sender. Only the sending RippleNet instance stores this ID.

Example: "9cf5aa4b-1e44-436a-ab7c-d399aec905da"
end_to_end_idstring

ID that the sender can optionally specify. Persisted on all RippleNet instances that participated in the transfer.

Example: "fd7559be-aa85-433f-a283-0cd58681cdf0"
sending_feenumber

Optional sending fee charged by a digital asset exchange for initiating an outbound transfer.

created_atstring(date-time)

The time when this transfer is created.

Example: "2019-10-01T21:28:28.354Z"
user_infoArray of objectsrequired

Custom information set by a RippleNet address involved in the transfer.

node_addressstringrequired

RippleNet address of the xCurrent instance that set the user information.

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

State of the transfer set when the RippleNet address set the user information.

Enum"PREPARED""EXECUTED""COMPLETED""CANCELLED""FAILED""QUOTED"
Example: "EXECUTED"
jsonobjectrequired

One or more arbitrary key/value pairs.

created_atstring(date-time)

timestamp of when this user info was created

Example: "2019-10-01T21:28:28.357Z"
labelsArray of strings

List of labels associated with this transfer

Example: ["label1","label2","label3"]
Response
application/json
{ "transfer_id": "9eca588f-e89d-4629-82fa-da9c4646310f", "state": "EXECUTED", "owner_address": "rn.us.ca.san_francisco", "sender_address": "trans_usd_sf@rn.us.ca.san_francisco", "receiver_address": "conct_usd_sf@rn.us.ca.san_francisco", "amount": 15, "internal_id": "9cf5aa4b-1e44-436a-ab7c-d399aec905da", "end_to_end_id": "fd7559be-aa85-433f-a283-0cd58681cdf0", "sending_fee": 0, "created_at": "2019-10-01T21:28:28.354Z", "user_info": [ {} ], "labels": [ "label1", "label2", "label3" ] }

Get transfer by ID

Request

Gets a transfer by ID.

Security
Bearer
Path
transfer_idstring(uuid)required

Unique identifier of the transfer you want to retrieve.

Query
include_labelsboolean

Returns labels added to each Transfer object. By default labels are not returned.

Default false
curl -i -X GET \
  'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/reference/openapi/transfers/{transfer_id}?include_labels=false' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successfully retrieved transfer.

Bodyapplication/json
transfer_idstring(uuid)required

Unique identifier of the transfer.

Example: "9eca588f-e89d-4629-82fa-da9c4646310f"
statestringrequired

State of the transfer.<p>QUOTED and PENDING only apply when RippleNet is enabled to receive payments from xRapid. QUOTED represents an outbound transfer fee estimate. PENDING is the state of an outbound transfer executed by RippleNet (via xRapid) but not yet paid out by the digital exchange. If successfully paid out, the state becomes COMPLETED. If not successfully paid out by the digital exchange, the state becomes FAILED. </p>

Enum"PREPARED""EXECUTED""COMPLETED""CANCELLED""FAILED""QUOTED""PENDING""OTHER"
Example: "EXECUTED"
owner_addressstringrequired

Owner RippleNet address, if different from the RippleNet address of the sender_address and receiver_address.

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

RippleNet account name and address, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.

Example: "trans_usd_sf@rn.us.ca.san_francisco"
receiver_addressstringrequired

RippleNet account name and address, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.

Example: "conct_usd_sf@rn.us.ca.san_francisco"
amountnumberrequired

Amount transferred, expressed in the account's currency.

Example: 15
internal_idstring

Internal ID that the sender can optionally specify. Only visible to the sender. Only the sending RippleNet instance stores this ID.

Example: "9cf5aa4b-1e44-436a-ab7c-d399aec905da"
end_to_end_idstring

ID that the sender can optionally specify. Persisted on all RippleNet instances that participated in the transfer.

Example: "fd7559be-aa85-433f-a283-0cd58681cdf0"
sending_feenumber

Optional sending fee charged by a digital asset exchange for initiating an outbound transfer.

created_atstring(date-time)

The time when this transfer is created.

Example: "2019-10-01T21:28:28.354Z"
user_infoArray of objectsrequired

Custom information set by a RippleNet address involved in the transfer.

node_addressstringrequired

RippleNet address of the xCurrent instance that set the user information.

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

State of the transfer set when the RippleNet address set the user information.

Enum"PREPARED""EXECUTED""COMPLETED""CANCELLED""FAILED""QUOTED"
Example: "EXECUTED"
jsonobjectrequired

One or more arbitrary key/value pairs.

created_atstring(date-time)

timestamp of when this user info was created

Example: "2019-10-01T21:28:28.357Z"
labelsArray of strings

List of labels associated with this transfer

Example: ["label1","label2","label3"]
Response
application/json
{ "transfer_id": "9eca588f-e89d-4629-82fa-da9c4646310f", "state": "EXECUTED", "owner_address": "rn.us.ca.san_francisco", "sender_address": "trans_usd_sf@rn.us.ca.san_francisco", "receiver_address": "conct_usd_sf@rn.us.ca.san_francisco", "amount": 15, "internal_id": "9cf5aa4b-1e44-436a-ab7c-d399aec905da", "end_to_end_id": "fd7559be-aa85-433f-a283-0cd58681cdf0", "sending_fee": 0, "created_at": "2019-10-01T21:28:28.354Z", "user_info": [ {} ], "labels": [ "label1", "label2", "label3" ] }

Execute transfer

Request

Transfers funds between accounts. For example, use this request to fund a connector account by transferring funds from a transactional account to the connector account. You can also use this request to redeem funds to a transactional account by transferring funds from a connector account to the transactional account.

Security
Bearer
Bodyapplication/jsonrequired

See Transfer Request Object.

sender_addressstringrequired

RippleNet account name and address, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.

Example: "trans_usd_sf@rn.us.ca.san_francisco"
receiver_addressstringrequired

RippleNet account name and address, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.

Example: "conct_usd_sf@rn.us.ca.san_francisco"
amountnumber>= 0required

Amount transferred, expressed in the account's currency.

Example: 15
owner_addressstring

Owner RippleNet address, if different from the RippleNet address of the sender_address and receiver_address.

Example: "rn.us.ca.san_francisco"
end_to_end_idstring<= 128 characters

ID set by the sender that is persisted on all xCurrent instances that participated in the transfer.

Example: "b09dd632-660e-48c8-907f-a4f3a7d12c18"
internal_idstring<= 128 characters

ID set by the sender that is persisted on the sending xCurrent instance only.

Example: "9ad3c119-1379-443b-9c0e-fa82c54ae78d"
user_infoobject

Provide one or more arbitrary key/value pairs.

curl -i -X POST \
  https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/reference/openapi/transfers/execute \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "sender_address": "trans_usd_sf@rn.us.ca.san_francisco",
    "receiver_address": "conct_usd_sf@rn.us.ca.san_francisco",
    "amount": 15,
    "owner_address": "rn.us.ca.san_francisco",
    "end_to_end_id": "b09dd632-660e-48c8-907f-a4f3a7d12c18",
    "internal_id": "9ad3c119-1379-443b-9c0e-fa82c54ae78d",
    "user_info": {}
  }'

Responses

Successfully executed transfer.

Bodyapplication/json
transfer_idstring(uuid)required

Unique identifier of the transfer.

Example: "9eca588f-e89d-4629-82fa-da9c4646310f"
statestringrequired

State of the transfer.<p>QUOTED and PENDING only apply when RippleNet is enabled to receive payments from xRapid. QUOTED represents an outbound transfer fee estimate. PENDING is the state of an outbound transfer executed by RippleNet (via xRapid) but not yet paid out by the digital exchange. If successfully paid out, the state becomes COMPLETED. If not successfully paid out by the digital exchange, the state becomes FAILED. </p>

Enum"PREPARED""EXECUTED""COMPLETED""CANCELLED""FAILED""QUOTED""PENDING""OTHER"
Example: "EXECUTED"
owner_addressstringrequired

Owner RippleNet address, if different from the RippleNet address of the sender_address and receiver_address.

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

RippleNet account name and address, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.

Example: "trans_usd_sf@rn.us.ca.san_francisco"
receiver_addressstringrequired

RippleNet account name and address, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.

Example: "conct_usd_sf@rn.us.ca.san_francisco"
amountnumberrequired

Amount transferred, expressed in the account's currency.

Example: 15
internal_idstring

Internal ID that the sender can optionally specify. Only visible to the sender. Only the sending RippleNet instance stores this ID.

Example: "9cf5aa4b-1e44-436a-ab7c-d399aec905da"
end_to_end_idstring

ID that the sender can optionally specify. Persisted on all RippleNet instances that participated in the transfer.

Example: "fd7559be-aa85-433f-a283-0cd58681cdf0"
sending_feenumber

Optional sending fee charged by a digital asset exchange for initiating an outbound transfer.

created_atstring(date-time)

The time when this transfer is created.

Example: "2019-10-01T21:28:28.354Z"
user_infoArray of objectsrequired

Custom information set by a RippleNet address involved in the transfer.

node_addressstringrequired

RippleNet address of the xCurrent instance that set the user information.

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

State of the transfer set when the RippleNet address set the user information.

Enum"PREPARED""EXECUTED""COMPLETED""CANCELLED""FAILED""QUOTED"
Example: "EXECUTED"
jsonobjectrequired

One or more arbitrary key/value pairs.

created_atstring(date-time)

timestamp of when this user info was created

Example: "2019-10-01T21:28:28.357Z"
labelsArray of strings

List of labels associated with this transfer

Example: ["label1","label2","label3"]
Response
application/json
{ "transfer_id": "9eca588f-e89d-4629-82fa-da9c4646310f", "state": "EXECUTED", "owner_address": "rn.us.ca.san_francisco", "sender_address": "trans_usd_sf@rn.us.ca.san_francisco", "receiver_address": "conct_usd_sf@rn.us.ca.san_francisco", "amount": 15, "internal_id": "9cf5aa4b-1e44-436a-ab7c-d399aec905da", "end_to_end_id": "fd7559be-aa85-433f-a283-0cd58681cdf0", "sending_fee": 0, "created_at": "2019-10-01T21:28:28.354Z", "user_info": [ {} ], "labels": [ "label1", "label2", "label3" ] }

Complete transfer

Request

Updates the state of a transfer to COMPLETED. Make this request once the transfer has been made on both the ledger and on internal systems.

Security
Bearer
Path
transfer_idstring(uuid)required

Unique identifier of the transfer you want to complete.

curl -i -X POST \
  'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/reference/openapi/transfers/{transfer_id}/complete' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successfully completed transfer.

Bodyapplication/json
transfer_idstring(uuid)required

Unique identifier of the transfer.

Example: "9eca588f-e89d-4629-82fa-da9c4646310f"
statestringrequired

State of the transfer.<p>QUOTED and PENDING only apply when RippleNet is enabled to receive payments from xRapid. QUOTED represents an outbound transfer fee estimate. PENDING is the state of an outbound transfer executed by RippleNet (via xRapid) but not yet paid out by the digital exchange. If successfully paid out, the state becomes COMPLETED. If not successfully paid out by the digital exchange, the state becomes FAILED. </p>

Enum"PREPARED""EXECUTED""COMPLETED""CANCELLED""FAILED""QUOTED""PENDING""OTHER"
Example: "EXECUTED"
owner_addressstringrequired

Owner RippleNet address, if different from the RippleNet address of the sender_address and receiver_address.

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

RippleNet account name and address, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.

Example: "trans_usd_sf@rn.us.ca.san_francisco"
receiver_addressstringrequired

RippleNet account name and address, in the format accountname@ripplenetaddress. For example, new_york@rn.us.ny.new_york.

Example: "conct_usd_sf@rn.us.ca.san_francisco"
amountnumberrequired

Amount transferred, expressed in the account's currency.

Example: 15
internal_idstring

Internal ID that the sender can optionally specify. Only visible to the sender. Only the sending RippleNet instance stores this ID.

Example: "9cf5aa4b-1e44-436a-ab7c-d399aec905da"
end_to_end_idstring

ID that the sender can optionally specify. Persisted on all RippleNet instances that participated in the transfer.

Example: "fd7559be-aa85-433f-a283-0cd58681cdf0"
sending_feenumber

Optional sending fee charged by a digital asset exchange for initiating an outbound transfer.

created_atstring(date-time)

The time when this transfer is created.

Example: "2019-10-01T21:28:28.354Z"
user_infoArray of objectsrequired

Custom information set by a RippleNet address involved in the transfer.

node_addressstringrequired

RippleNet address of the xCurrent instance that set the user information.

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

State of the transfer set when the RippleNet address set the user information.

Enum"PREPARED""EXECUTED""COMPLETED""CANCELLED""FAILED""QUOTED"
Example: "EXECUTED"
jsonobjectrequired

One or more arbitrary key/value pairs.

created_atstring(date-time)

timestamp of when this user info was created

Example: "2019-10-01T21:28:28.357Z"
labelsArray of strings

List of labels associated with this transfer

Example: ["label1","label2","label3"]
Response
application/json
{ "transfer_id": "9eca588f-e89d-4629-82fa-da9c4646310f", "state": "EXECUTED", "owner_address": "rn.us.ca.san_francisco", "sender_address": "trans_usd_sf@rn.us.ca.san_francisco", "receiver_address": "conct_usd_sf@rn.us.ca.san_francisco", "amount": 15, "internal_id": "9cf5aa4b-1e44-436a-ab7c-d399aec905da", "end_to_end_id": "fd7559be-aa85-433f-a283-0cd58681cdf0", "sending_fee": 0, "created_at": "2019-10-01T21:28:28.354Z", "user_info": [ {} ], "labels": [ "label1", "label2", "label3" ] }

Add transfer labels

Request

Adds a list of labels to the transfer. To retrieve transfers by label, see [Get transfers][get-transfers].

Security
Bearer
Path
transfer_idstring(uuid)required

Transfer ID for the label being added.

Query
labelArray of stringsrequired

Text of the label you want to add to the payment.

curl -i -X PUT \
  'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/reference/openapi/transfers/{transfer_id}/labels?label=string' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successfully added one or more labels to the transfer.

Response
No content

Delete transfer labels

Request

Deletes one or more existing labels from the transfer.

Security
Bearer
Path
transfer_idstring(uuid)required

Transfer ID for the label being removed.

Query
labelArray of stringsrequired

Labels to be removed.

curl -i -X DELETE \
  'https://docs.ripple.com/_mock/products/payments-odl/api-docs/ripplenet/reference/openapi/transfers/{transfer_id}/labels?label=string' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successfully deleted one or more labels of the transfer.

Response
No content