Create an portfolio
/v1/portfolios
curl --request POST \
--url https://api.oneslipstream.com/v1/portfolios \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"name": "My Portfolio",
"reference": "123456789"
}'
{
"id": "port_bPKKB3sYsukFanSsaBcMCMR2",
"description": "My Portfolio Description",
"metadata": {
"internalId": "12345"
},
"name": "My Portfolio",
"overdraftCutOff": "1000",
"reference": "123456789",
"createdAt": "2022-01-01T00:00:00.000Z"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The description of the portfolio, this is for your reference only.
Set of key-value pairs that you can attach to an object, useful for storing additional information about the object in a structured format
The name of the portfolio, this is for your reference only.
The maximum overdraft amount for the portfolio before it's reported to the credit bureau. Defaults to 0.
The reference of the portfolio, this is issued by the credit bureau.
Response
The unique identifier for the portfolio
The description of the portfolio, this is for your reference only.
Set of key-value pairs that you can attach to an object, useful for storing additional information about the object in a structured format
The name of the portfolio, this is for your reference only.
The maximum overdraft amount for the portfolio before it's reported to the credit bureau. Defaults to 0.
The reference of the portfolio, this is issued by the credit bureau.
The date and time the portfolio was created
curl --request POST \
--url https://api.oneslipstream.com/v1/portfolios \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"name": "My Portfolio",
"reference": "123456789"
}'
{
"id": "port_bPKKB3sYsukFanSsaBcMCMR2",
"description": "My Portfolio Description",
"metadata": {
"internalId": "12345"
},
"name": "My Portfolio",
"overdraftCutOff": "1000",
"reference": "123456789",
"createdAt": "2022-01-01T00:00:00.000Z"
}