Models
Wallet
Field | Type | Description |
createdAt |
| Date of creation. Format: |
customData |
| May contain some additional information about the wallet. |
id |
| Wallet identifier. Format: |
locked |
| The wallet cannot be used if locked. |
metadata |
| May contain some additional information about the application core. |
name |
| Wallet name. Max length: 255. |
ownerId |
| User ID the wallet belongs to. Format: |
reference |
| User ID the wallet belongs to. Max length: 10. |
updatedAt |
| Date of last update. Format: |
Address
Field | Type | Description |
address |
| Address identifier. |
assetCode |
| Asset code related to the address. |
createdAt |
| Date of creation. Format: |
metadada |
| May contain additional information. |
updatedAt |
| Date of last update. Format: |
walletId |
| Identifier of the wallet the address belongs to. Format: |
Asset
Field | Type | Description |
code |
| Asset identifier code. Pattern: |
configuration |
| Additional asset configuration. |
contract |
| Asset contract configuration. Only applicable to crypto assets. |
createdAt |
| Date of creation. Format: |
customData |
| Stores any additional information about the asset. |
decimalPlaces |
| Number of decimal places. |
enabled |
| Asset availability. |
metadata |
| May contain some additional information about the application core. |
name |
| Asset name. |
symbol |
| Asset symbol. Max length: 16. |
system |
| Defines if the it's a system asset, i.e., intrinsic to the application. |
updatedAt |
| Date of last update. Format: |
Payment Method
Field | Type | Description |
enabled |
| Defines if the payment method is available to use. |
metadata |
| Store some additional information about the payment method, usually public and (obfuscated) private keys. |
name |
| Payment method name. |
slug |
| Payment method identifier. |
Movement
Field | Type | Description |
amount |
| Transacted amount. The amount is negative if the movement corresponds to an extraction of assets. |
assetCode |
| Code of the asset being transacted. |
code |
| Movement code. |
createdAt |
| Date of creation. Format: |
id |
| Movement identifier. Format: |
metadata |
| May contain some additional information about the application core. |
transaction |
| Contains the related transaction details. This object only returns if the query string |
transactionId |
| ID of the related transaction. Format: |
updatedAt |
| Date of last update. Format: |
walletId |
| ID of the wallet where the assets were withdrawn or deposited. Format: |
Code Options
The movement code may be one of the following:
Field | Type | Description |
deposit |
| The movement corresponds to a deposit operation. |
withdrawal |
| The movement corresponds to a withdrawal operation. |
Transaction
Field | Type | Description |
amount |
| Transacted amount. |
assetCode |
| Code of the asset being transacted. |
code |
| Defines through which |
createdAt |
| Date of creation. Format: |
customData |
| Stores any additional information the users may provide. |
description |
| A free text field. |
destinationAddress |
| Destination address. |
destinationWalletId |
| ID of the wallet where the assets are being deposited. This field is not applicable to withdrawal transactions type so it returns with |
externalId |
| External identifier. An example of it is a bitcoin |
externalReference |
| External reference. |
id |
| Transaction identifier. Format: |
metadata |
| May contain some additional information about the application core. |
originAddress |
| Origin address. |
originWalletId |
| ID of the wallet from where the assets are coming. This field is not applicable to deposit transactions type so it returns with |
status |
| Current transaction status. |
type |
| Transaction type. |
updatedAt |
| Date of last update. Format: |
Type Options
The transaction type may be one of the following:
Field | Type |
deposit |
|
transfer |
|
withdrawal |
|
Status Options
The transaction status
may be one of the following:
Field | Type | Description |
completed |
| The transaction is already completed. Final status. |
failed |
| An error occurred during the transaction. Final status. |
pending |
| Initial transaction status. |
processing |
| Transaction is waiting to be confirmed. |
rejected |
| The transaction was rejected. Final status. |
User
Field | Type | Description |
approved |
| Defines if the user is approved. If false, the user cannot login. |
blocked |
| Defines if the user is blocked. If true, the user cannot login. |
createdAt |
| Date of creation. Format: |
customData |
| Stores any additional information about the user. |
| User email. Format: | |
id |
| User identifier. Format: |
name |
| User name. |
phone |
| User phone number. |
primaryWalletId |
| User main wallet. Format: |
roles |
| List of user's access roles. |
updatedAt |
| Date of last update. Format: |
verified |
| Whether or not the User’s email has been verified. |
Store
Category
Field | Type | Description |
createdAt |
| Date of creation. Format: |
customData |
| Stores any additional information about the category. |
description |
| Category description. |
id |
| Category identifier. Format: |
imageUrl |
| Category image URL. |
products |
| List of associated products. Needs to be explicitly required. |
title |
| Category title. |
updatedAt |
| Date of last update. Format: |
Order
Field | Type | Description |
amount |
| Order amount value. |
amountWithoutShipment |
| Order amount value without shipment. |
amountWithoutTaxes |
| Order amount value without taxes. |
assetCode |
| Asset code related to the order. |
bonus |
| Order bonus value. |
bonusAssetCode |
| Asset code related to the order bonus. |
canceledAt |
| Cancel date. Format: |
cancelReason |
| Reason for the cancelation. |
chosenPaymentMethod |
| Order chosen payment method. This value is merely indicative. |
createdAt |
| Date of creation. Format: |
customData |
| Stores any additional information about the order. |
deliveryMethod |
| Delivery method for the order. |
fulfilledAt |
| Date of fulfilment. Format: |
id |
| Order identifier. Format: |
lines |
| List of associated order lines. Needs to be explicitly required. |
metadata |
| Order metadata. |
netAmount |
| Order net amount value. |
orderStatus |
| Order status. |
paidAmount |
| Order paid amount value. |
paidAt |
| Date of payment. Format: |
paymentDetails |
| Stores details about the payment. |
paymentStatus |
| Order payment status. |
reference |
| Order reference. |
refundAmount |
| Order refund amount value. |
refundReason |
| Reason for the refund. |
shippingAddress |
| Associated shipping address. |
shippingAmount |
| Order shipping amount value. |
taxesAmount |
| Order taxes amount value. |
taxesDetails |
| Stores details about the taxes. |
trackingId |
| Order tracking identifier. Format: |
unpaidAmount |
| Order unpaid amount value. |
updatedAt |
| Date of last update. Format: |
user |
| Associated user. Needs to be explicitly required. |
userId |
| Associated user identifier. Format: |
userNotes |
| Order user notes. |
Order status
The order status may be one of the following:
Field | Type |
canceled |
|
draft |
|
fulfilled |
|
unfulfilled |
|
Payment status
The payment status may be one of the following:
Field | Type |
fully_paid |
|
fully_refunded |
|
partially_paid |
|
partially_refunded |
|
unpaid |
|
Order line
Field | Type | Description |
assetCode |
| Asset code related to the order line. |
bonusAssetCode |
| Asset code related to the order line bonus. |
createdAt |
| Date of creation. Format: |
fulfilledAt |
| Date of fulfilment. Format: |
fulfilledQuantity |
| Fulfilled quantity of the order line. |
id |
| Order line identifier. Format: |
metadata |
| Order line metadata. |
order |
| Associated order. Needs to be explicitly required. |
orderId |
| Associated order identifier. Format: |
product |
| Associated product. Needs to be explicitly required. |
productId |
| Associated product identifier. Format: |
productQuestionsResult |
| Order line product questions result. |
quantity |
| Order line total quantity. |
status |
| Order line status. |
unitBonus |
| Order line unit bonus value. |
unitNetPrice |
| Order line unit net price value. |
unitPrice |
| Order line unit price value. |
unitTax |
| Order line unit tax value. |
updatedAt |
| Date of last update. Format: |
Order line status
The payment status may be one of the following:
Field | Type |
fulfilled |
|
partially_fulfilled |
|
unfulfilled |
|
Product
Field | Type | Description |
allowChoosingQuantity |
| Product choosing quantity allow indicator. |
assetCode |
| Asset code related to the product. |
available |
| Product availability indicator. |
bonus |
| Product bonus value. |
buttonLabel |
| Product button label. |
category |
| Associated category. Needs to be explicitly required. |
categoryId |
| Associated category identifier. Format: |
createdAt |
| Date of creation. Format: |
customData |
| Stores any additional information about the product. |
description |
| Product description. |
featured |
| Product featuring indicator. |
id |
| Product identifier. Format: |
imageUrl |
| Product image URL. |
listLabel |
| Product list label. |
metadata |
| Product metadata. |
name |
| Product name. |
price |
| Product price value. |
priceWithTax |
| Product price value with tax. |
questions |
| List of associated questions. Needs to be explicitly required. |
requiresIdentity |
| Identity required indicator. |
taxAmount |
| Product tax amount value. |
taxRate |
| Associated tax rate. Needs to be explicitly required. |
taxRateId |
| Associated tax rate identifier. Format: |
thumbnailUrl |
| Product thumbnail URL. |
type |
| Associated product type. Needs to be explicitly required. |
typeCode |
| Associated question type code. One of |
updatedAt |
| Date of last update. Format: |
url |
| Product URL. |
visible |
| Product visibility indicator. |
Product Type
Field | Type | Description |
code |
| Product type code. |
createdAt |
| Date of creation. Format: |
updatedAt |
| Date of last update. Format: |
Question
Field | Type | Description |
configurations |
| Contains all question configurations. |
createdAt |
| Date of creation. Format: |
customData |
| Stores any additional information about the question. |
description |
| Question description. |
id |
| Question identifier. Format: |
metadata |
| Question metadata. |
productTypeCode |
| Associated product type code. |
questionType |
| Associated question type. Needs to be explicitly required. |
required |
| Required indicator. |
title |
| Question title. |
typeCode |
| Question type code. |
updatedAt |
| Date of last update. Format: |
Task
Field | Type | Description |
amount |
| Task amount value. |
available |
| Task availability indicator. |
buttonLabel |
| Task button label. |
createdAt |
| Date of creation. Format: |
customData |
| Stores any additional information about the task. |
description |
| Task description. |
enabled |
| Task enable indicator. |
featured |
| Task featuring indicator. |
id |
| Task identifier. Format: |
imageUrl |
| Task image URL. |
metadata |
| Task metadata. |
name |
| Task name. |
surveyUrl |
| Task survey URL. |
thumbnailUrl |
| Task thumbnail URL. |
type |
| Task type. |
updatedAt |
| Date of last update. Format: |
Tax rate
Field | Type | Description |
createdAt |
| Date of creation. Format: |
id |
| Tax rate identifier. Format: |
name |
| Tax rate name. |
rate |
| Tax rate value. |
updatedAt |
| Date of last update. Format: |
Last updated