Accept request

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.

Body Params
int32
string
required
length ≥ 1
^\d{6}$
string
enum
required
Allowed:
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response
200

Success

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here!