Documentation de l'API
Spiko Investor Api (v1)
Download OpenAPI specification:Download
Get bank accounts of an investor
Get list of bank account's info of an investor (IBAN / BIC)
query Parameters
investorId required | string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... a Universally Unique Identifier |
Responses
Response samples
- 200
[- {
- "id": "string",
- "investorId": "string",
- "name": "string",
- "details": {
- "currency": "EUR",
- "accountNumber": { },
- "bic": null
}
}
]
Get bank account
Get info of a bank account (currency / IBAN / BIC)
path Parameters
bankAccountId required | string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... a Universally Unique Identifier |
Responses
Response samples
- 200
{- "id": "string",
- "investorId": "string",
- "name": "string",
- "details": {
- "currency": "EUR",
- "accountNumber": { },
- "bic": null
}
}
Get investor info
Get info about an investor
path Parameters
investorId required | string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... a Universally Unique Identifier |
Responses
Response samples
- 200
{- "id": "string",
- "name": "string",
- "address": "string",
- "zipCode": "string",
- "city": "string",
- "country": "AF",
- "type": "organization",
- "registrationNumber": "string",
- "legalEntityType": "string"
}
Get subscription orders
Get list of an investor's subscription orders
query Parameters
investorId required | string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... a Universally Unique Identifier |
status | Array of strings Items Enum: "pending" "executed" |
Responses
Response samples
- 200
[- {
- "id": "string",
- "investorId": "string",
- "amount": {
- "value": null,
- "currency": "EUR"
}, - "sharesAmount": "string",
- "shareClassId": "string",
- "wireReference": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "executedAt": "2019-08-24T14:15:22Z",
- "status": "pending"
}
]
Create subscription order
Create a new subscription order for an investor and return the order info
Request Body schema: application/jsonrequired
investorId required | string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... a Universally Unique Identifier |
required | object (NonNegativeAmount) |
shareClassId required | string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... a Universally Unique Identifier |
Responses
Request samples
- Payload
{- "investorId": "string",
- "amount": {
- "value": null,
- "currency": "EUR"
}, - "shareClassId": "string"
}
Response samples
- 200
{- "id": "string",
- "investorId": "string",
- "amount": {
- "value": null,
- "currency": "EUR"
}, - "sharesAmount": "string",
- "shareClassId": "string",
- "wireReference": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "executedAt": "2019-08-24T14:15:22Z",
- "status": "pending"
}
Get subscription order
Get info of a subscription order
path Parameters
subscriptionOrderId required | string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... a Universally Unique Identifier |
Responses
Response samples
- 200
{- "id": "string",
- "investorId": "string",
- "amount": {
- "value": null,
- "currency": "EUR"
}, - "sharesAmount": "string",
- "shareClassId": "string",
- "wireReference": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "executedAt": "2019-08-24T14:15:22Z",
- "status": "pending"
}
Get redemption orders
Get list of an investor's redemption orders
query Parameters
investorId required | string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... a Universally Unique Identifier |
status | Array of strings Items Enum: "pending" "executed" |
Responses
Response samples
- 200
[- {
- "id": "string",
- "investorId": "string",
- "shareClassId": "string",
- "sharesAmount": "string",
- "amount": {
- "value": null,
- "currency": "EUR"
}, - "bankAccountId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "executedAt": "2019-08-24T14:15:22Z",
- "status": "pending"
}
]
Create redemption order
Create a new redemption order for an investor and return the order info
Request Body schema: application/jsonrequired
investorId required | string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... a Universally Unique Identifier |
required | object (NonNegativeAmount) |
shareClassId required | string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... a Universally Unique Identifier |
bankAccountId required | string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... a Universally Unique Identifier |
Responses
Request samples
- Payload
{- "investorId": "string",
- "amount": {
- "value": null,
- "currency": "EUR"
}, - "shareClassId": "string",
- "bankAccountId": "string"
}
Response samples
- 200
{- "id": "string",
- "investorId": "string",
- "shareClassId": "string",
- "sharesAmount": "string",
- "amount": {
- "value": null,
- "currency": "EUR"
}, - "bankAccountId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "executedAt": "2019-08-24T14:15:22Z",
- "status": "pending"
}
Get redemption order
Get info of a redemption order
path Parameters
redemptionOrderId required | string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... a Universally Unique Identifier |
Responses
Response samples
- 200
{- "id": "string",
- "investorId": "string",
- "shareClassId": "string",
- "sharesAmount": "string",
- "amount": {
- "value": null,
- "currency": "EUR"
}, - "bankAccountId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "executedAt": "2019-08-24T14:15:22Z",
- "status": "pending"
}
Get portfolio
Get the investor's portfolio
query Parameters
investorId required | string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... a Universally Unique Identifier |
Responses
Response samples
- 200
{- "investorId": "string",
- "items": [
- {
- "shareClass": {
- "id": "string",
- "name": "string",
- "isin": "string"
}, - "totalNumberOfShares": "string",
- "totalSharesAmount": {
- "value": null,
- "currency": "EUR"
}, - "totalGainSinceStart": {
- "value": null,
- "currency": "EUR"
}
}
]
}