Aller au contenu principal

Documentation de l'API

Spiko Investor Api (v1)

Download OpenAPI specification:Download

Bank accounts

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

Content type
application/json
[
  • {
    }
]

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

Content type
application/json
{
  • "id": "string",
  • "investorId": "string",
  • "name": "string",
  • "details": {
    }
}

Investors

Get all investors' infos

Get info about all available investors

Responses

Response samples

Content type
application/json
[
  • {
    }
]

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

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "address": "string",
  • "zipCode": "string",
  • "city": "string",
  • "country": "AF",
  • "type": "organization",
  • "registrationNumber": "string",
  • "legalEntityType": "string"
}

Subscription orders

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

Content type
application/json
[
  • {
    }
]

Create subscription order

Create a new subscription order for an investor and return the order info

Request Body schema: application/json
required
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

Content type
application/json
{
  • "investorId": "string",
  • "amount": {
    },
  • "shareClassId": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "investorId": "string",
  • "amount": {
    },
  • "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

Content type
application/json
{
  • "id": "string",
  • "investorId": "string",
  • "amount": {
    },
  • "sharesAmount": "string",
  • "shareClassId": "string",
  • "wireReference": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "executedAt": "2019-08-24T14:15:22Z",
  • "status": "pending"
}

Redemption orders

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

Content type
application/json
[
  • {
    }
]

Create redemption order

Create a new redemption order for an investor and return the order info

Request Body schema: application/json
required
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

Content type
application/json
{
  • "investorId": "string",
  • "amount": {
    },
  • "shareClassId": "string",
  • "bankAccountId": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "investorId": "string",
  • "shareClassId": "string",
  • "sharesAmount": "string",
  • "amount": {
    },
  • "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

Content type
application/json
{
  • "id": "string",
  • "investorId": "string",
  • "shareClassId": "string",
  • "sharesAmount": "string",
  • "amount": {
    },
  • "bankAccountId": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "executedAt": "2019-08-24T14:15:22Z",
  • "status": "pending"
}

Portfolio

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

Content type
application/json
{
  • "investorId": "string",
  • "items": [
    ]
}