post https://api.banking.netevia.dev/api/LinkedAccount/accept
This API allows a bank client to approve a connection request to their account. The client must provide a verification code (either from SMS or a time-based code) to authorize the connection. The connection is made for the specified userId from the list of pending requests.
Request Body:
userId
: The ID of the user requesting to connect to the client's account. This value is obtained from the /api/LinkedAccount/requests response.oneTimeCode
: The verification code sent via SMS or generated using a time-based method.secureOperationType
: Defines the type of security verification being used. Possible values:ShortMessageCode
: Verification through SMS.TimeBasedCode
: Verification through a time-based code.
Security:
The API is executed with the bank client’s credentials.
A secure verification code (SMS or Time-Based OTP) is required for successful confirmation.
Response:
OK: If the connection request was successfully confirmed.
BadRequest: If the request is invalid or the verification code is incorrect.