action nordigen_create_eua_v2 { label: "create EUA v2" description: "Create an end user agreement" provider: nordigen method: POST path: "/api/v2/agreements/enduser/" encoding: form input: { type: "object" description: "EndUserAgreement." required: ["institution_id"] properties: { access_scope: { type: "array" description: "Array containing one or several values of ['balances', 'details', 'transactions']" items: { type: "array" items: { type: "object" } } } access_valid_for_days: { type: "integer" description: "Number of days from acceptance that the access can be used." } institution_id: { type: "string" description: "an Institution ID for this EUA" } max_historical_days: { type: "integer" description: "Maximum number of days of transaction data to retrieve." } } } output: { type: "object" description: "EndUserAgreement." required: ["institution_id"] properties: { accepted: { type: "string" format: "date-time" description: "The date & time at which the end user accepted the agreement." } access_scope: { type: "array" description: "Array containing one or several values of ['balances', 'details', 'transactions']" items: { type: "array" items: { type: "object" } } } access_valid_for_days: { type: "integer" description: "Number of days from acceptance that the access can be used." } created: { type: "string" format: "date-time" description: "The date & time at which the end user agreement was created." } id: { type: "string" format: "uuid" description: "The ID of this End User Agreement, used to refer to this end user agreement in other API calls." } institution_id: { type: "string" description: "an Institution ID for this EUA" } max_historical_days: { type: "integer" description: "Maximum number of days of transaction data to retrieve." } } } }