DatalinkCreateRequest
public struct DatalinkCreateRequest : Codable
-
The URL of the Tenant that the PSU will be redirected at the end of account access process.
Declaration
Swift
public let redirectURL: String
-
Unique identification string assigned to the bank by our system. If value is set, Datalink will not display any UI and execute an instant redirect to the debtor’s banking system. If value is not set, Datalink will display the PSU a bank selection screen.
Declaration
Swift
public let bankID: String?
-
If you are providing our Data service to your own business clients (merchants), then you should set the Id of your merchant.
Declaration
Swift
public let merchantID: String?
-
The Id of the end-user. If you are providing this service directly to the end-users, then you can assign that Id to this parameter. If you are providing this service to businesses, then you should assign the Id of that merchant’s user.
Declaration
Swift
public let merchantUserID: String?
-
The date indicating when consent will end.
Declaration
Swift
public let consentEndDate: String?
-
The date indicating when consent will expire.
Declaration
Swift
public let expiryDate: String?
-
The permissions which will be asked to the users while connecting their account. Determines which data will be fetched If it is not set, system will automatically set all the permissions
Declaration
Swift
public let permissions: [ConsentPermission]?
-
Declaration
Swift
public let datalinkOptions: DatalinkOptions?
-
Declaration
Swift
public let notificationOptions: PayByBankNotificationOptionsRequest?
-
Declaration
Swift
public let financialReport: FinancialReport?
-
init(redirectURL:
bankID: merchantID: merchantUserID: consentEndDate: expiryDate: permissions: datalinkOptions: notificationOptions: financialReport: ) Declaration
Swift
public init(redirectURL: String, bankID: String? = nil, merchantID: String? = nil, merchantUserID: String? = nil, consentEndDate: String, expiryDate: String? = nil, permissions: [ConsentPermission]? = nil, datalinkOptions: DatalinkOptions? = nil, notificationOptions: PayByBankNotificationOptionsRequest? = nil, financialReport: FinancialReport? = nil)