Orders

Deprecated
get

Retrieve a list of active orders.

Query parameters
accountAddressstring · xrp-addressOptional

Account address

Example: rHb9CJAWyB4rj91VRWn96DkukG4bwdtyThPattern: r[0-9a-zA-Z]{24,34}
bondIdstring · uuidOptional

Unique UUID of an entity

Example: a4920401-7a59-421f-ae43-3a16459eb4a7
Responses
200

Successfully retrieved a list of items.

application/json
get
/orders
200

Successfully retrieved a list of items.

Deprecated
post

Create a new order. Example: buy/sell a bond with a currency type token.

Body
currencyIdstring · uuidRequired

Unique UUID of the currency in scope of this gateway

Example: 548dd95d-9d5f-4752-83d0-d2ad47319790
pricenumberRequired

Total price of the currency

Example: 2
bondIdstring · uuidRequired

Unique UUID of the bond in scope of this gateway

Example: b0f68ae3-0a43-4d2a-9677-58fce7f2bd44
amountnumberRequired

Total amount of the bond

Example: 1
typeall ofRequired

Order Type

Example: buy
string · enumOptional

Order Type

Possible values:
expirationstring · date-timeOptional

Expiration date

Example: 2024-12-31T00:00:00.000Z
accountAddressstring · xrp-addressRequired

Account address

Example: rHb9CJAWyB4rj91VRWn96DkukG4bwdtyThPattern: r[0-9a-zA-Z]{24,34}
Responses
post
/orders
201

Successfully created an order.

Deprecated
get

Retrieve full specific order information.

Path parameters
orderIdstring · uuidRequired

Order UUID identifier, global in scope of TSS

Example: 5f7f3b9f-a8ad-4d27-b256-b192231b2451
Responses
200

Successfully received an order.

application/json
get
/orders/{orderId}
200

Successfully received an order.

Deprecated
put

Update an existing order. Example: buy/sell a bond with a currency type token.

Path parameters
orderIdstring · uuidRequired

Order UUID identifier, global in scope of TSS

Example: 5f7f3b9f-a8ad-4d27-b256-b192231b2451
Body
currencyIdstring · uuidRequired

Unique UUID of the currency in scope of this gateway

Example: 548dd95d-9d5f-4752-83d0-d2ad47319790
pricenumberRequired

Total price of the currency

Example: 2
bondIdstring · uuidRequired

Unique UUID of the bond in scope of this gateway

Example: b0f68ae3-0a43-4d2a-9677-58fce7f2bd44
amountnumberRequired

Total amount of the bond

Example: 1
typeall ofRequired

Order Type

Example: buy
string · enumOptional

Order Type

Possible values:
expirationstring · date-timeOptional

Expiration date

Example: 2024-12-31T00:00:00.000Z
Responses
put
/orders/{orderId}
201

Successfully updated an order.

Deprecated
patch

Cancel the order by id parameter.

Path parameters
orderIdstring · uuidRequired

Order UUID identifier, global in scope of TSS

Example: 5f7f3b9f-a8ad-4d27-b256-b192231b2451
Responses
200

The order was cancelled.

No content

patch
/orders/{orderId}
200

The order was cancelled.

No content

Last updated