Purchase Request
Sell Request
POST
request to
/requests/purchasePOST
request to
/requests/sellsellAmount
, a sellPercentage
can be provided.PUT
request to /requestsGET
request to /requests.GET
request to /requests/{requestId}
Property | Definition |
---|---|
requestId | Unique request identifier |
customerId | Unique customer identifier |
symbol | The symbol associated by the instrument |
requestType | The type of request being made |
status | The status of the request |
currency | Associated currency |
isRecurring | Determines whether the request should be in recurring mode |
schedule | The recurring schedule in which the instrument should be purchased |
createdAt | Created at unix timestamp |
updatedAt | Updated at unix timestamp |
Property | Definition |
---|---|
instrumentId | Unique instrument identifier |
purchaseAmount | The total purchase amount for an asset or group of assets |
Property | Definition |
---|---|
assetId | Unique asset identifier |
sellAmount | The total amount to sell from an asset or group of assets |
sellPercentage | The percentage amount to sell from an asset or group of assets |
Name | Definition |
---|---|
PENDING | The request is currently in progress |
COMPLETED | The request has complete processing |
CANCELED | The request was cancelled |
ERROR | The request ended in an error |
Name | Definition |
---|---|
PURCHASE | Sets the request to purchase mode |
SELL | Sets the request to sell mode |
Subscription | Definition | Domain |
---|---|---|
REQUEST | Only events that deal with requests | Requests |
REQUEST.CREATED | Triggered when a request is created | Requests |
REQUEST.UPDATED | Triggered when a request is updated | Requests |