v1

latestOpenAPI 3.0.02026-07-14233043.9 KB
Session

Create Session

This API is used to create index fund session for deposit and withdrawal transaction.

post/api/v1/sessions

Request body

productstring required

Product symbol of the transaction. It can be found from https://securo-finance.readme.io/reference/get-all-products.

typestring required

Transaction type. E.g. 'deposit', 'withdraw'

amountnumber required

Transaction amount in shares (index tokens) of the product

userEmailstring required

Email address of the Securo user.

successURLstring

Upon completing transaction in the native browser, the user will be redirected to this URL to return to your app. If no value is set, its default value is https://securo.finance.

cancelURLstring

Upon cancelling transaction in the native browser, the user will be redirected to this URL to return to your app. If no value is set, its default value is https://securo.finance.

Response

Session is created.

statusCodenumber
messagestring
dataobject

Session object. See https://securo-finance.readme.io/reference/the-session-object for more information.