Customer Products

Get Customer Products

get

Get Customer Products

Authorizations
Path parameters
customerIdstring · uuidRequired

Customer ID

Query parameters
productTypestring · enumOptional

Product type

Possible values:
productCodestring · enumOptional

Product code

Possible values:
statusstring · enumOptional

The status of the account

Possible values:
ibanstringOptional

The IBAN of a cash account

Responses
200
OK
application/json
get
GET /customers/{customerId}/products HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
  {
    "customerProductId": "123e4567-e89b-12d3-a456-426614174000",
    "productCode": "WALLET",
    "productType": "CASH",
    "currency": "EUR",
    "accountData": {
      "iban": "text",
      "bic": "text",
      "availableBalance": 1,
      "withdrawableBalance": 1,
      "modifiedOn": "2025-06-30T21:21:31.503Z"
    },
    "cryptoAssets": [
      {
        "cryptoSymbol": "text",
        "quantity": 1,
        "availableQuantity": 1,
        "modifiedOn": "2025-06-30T21:21:31.503Z"
      }
    ],
    "traditionalAssets": [
      {
        "isin": "text",
        "quantity": 1,
        "availableQuantity": 1,
        "modifiedOn": "2025-06-30T21:21:31.503Z"
      }
    ],
    "status": "RECEIVED",
    "proxyIds": [
      "123e4567-e89b-12d3-a456-426614174000"
    ],
    "createdOn": "2025-06-30T21:21:31.503Z",
    "modifiedOn": "2025-06-30T21:21:31.503Z"
  }
]

Create Customer Product

post

Create Customer Product

Authorizations
Path parameters
customerIdstring · uuidRequired

customer ID the partner is creating a product for

Header parameters
Requestor-IDstring · uuidRequired

Unique requestor identification in UUID format

Body
productCodestring · enumRequired

Product code

Possible values:
Responses
200
OK
application/json
post
POST /customers/{customerId}/products HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Requestor-ID: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 24

{
  "productCode": "WALLET"
}
{
  "customerProductId": "123e4567-e89b-12d3-a456-426614174000"
}

Get Customer Product

get

Get Customer Product

Authorizations
Path parameters
customerProductIdstring · uuidRequired

the ID of the product instance for the given customer

Responses
200
OK
application/json
get
GET /products/{customerProductId} HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "customerProductId": "123e4567-e89b-12d3-a456-426614174000",
  "productCode": "WALLET",
  "productType": "CASH",
  "currency": "EUR",
  "accountData": {
    "iban": "text",
    "bic": "text",
    "availableBalance": 1,
    "withdrawableBalance": 1,
    "modifiedOn": "2025-06-30T21:21:31.503Z"
  },
  "cryptoAssets": [
    {
      "cryptoSymbol": "text",
      "quantity": 1,
      "availableQuantity": 1,
      "modifiedOn": "2025-06-30T21:21:31.503Z"
    }
  ],
  "traditionalAssets": [
    {
      "isin": "text",
      "quantity": 1,
      "availableQuantity": 1,
      "modifiedOn": "2025-06-30T21:21:31.503Z"
    }
  ],
  "status": "RECEIVED",
  "proxyIds": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "createdOn": "2025-06-30T21:21:31.503Z",
  "modifiedOn": "2025-06-30T21:21:31.503Z"
}

Update customer product

patch

Update customer product. It is used to close the customer product.

Authorizations
Path parameters
customerProductIdstring · uuidRequired

the ID of the product instance for the given customer

Header parameters
Requestor-IDstring · uuidRequired

Unique requestor identification in UUID format

Body
statusstring · enumRequiredPossible values:
Responses
200
OK
patch
PATCH /products/{customerProductId} HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Requestor-ID: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "status": "CLOSED"
}

No content

Last updated