post https://api.banking.netevia.dev/api/LinkedAccount/link
This API is executed using API-User credentials and is used to create a connection between two users, where one user (sub, primary, or consumer) will be linked to another user (sub, primary, or consumer).
Request Body Parameters:
fromUserId
: The ID of the user who will initiate the connection request. This can be a sub-account, primary account, or consumer.toUserId
: The ID of the user to whom the connection will be made. This can also be a sub-account, primary account, or consumer.
Response:
OK
: Indicates that the connection request was successfully created.BadRequest
: Indicates that there was an issue with the request (e.g., invalid user IDs).
Security:
- API-User credentials are required to call this API.
- Ensure proper validation of user IDs to avoid any unauthorized linking between accounts.