Skip to main content
Creating a customer is the crucial step in enabling global investment access via Pipevest’s API. This document will guide you on how to create, update and get customer details.

Creating Customers

Make a POST request to /customers
Successfully creating a customer will result in some side effects.

Reference Id

When creating a user, you can provide an optional referenceId. This unique identifier should be used to externally match the customer.

Updating Customers

If you need to change the customers details, you can simply update their details.
Make a PUT request to /customers

Updating Status

A customer by default has an ACTIVE status. If you decide to change the customer’s status, do keep in mind of the side effects of this operation.
Successfully updating a customer’s status can result in some side effects.

Retrieving Customers

When requesting customer details you can do so either by getting:
  • A list of customers
  • A customer by a given Id

List of Customers

Make a GET request to /customers.
This endpoint can be paginated and sorted.

Customer by Id

Make a GET request to /customers/{customerId}

Creation Side Effects

When a customer is created, the following resources are also created:
  1. Account(s) for the customer with the default organizations Investment Types.
  2. A Portfolio linked to each account.

Update Side Effects

When updating a customer’s status to SUSPENDED or CLOSED, the following actions will also take place:
  1. Account(s) status will be updated to match the customer status.
  2. Portfolio(s) status will be updated to match the customer status.
In the case of updating to ACTIVE, you will have to explicitly update the Accounts and Portfolios

Entity Reference

Status

Webhook Subscriptions