### Account Information Service (AIS) Endpoints Source: https://devportal.ing.pl/sandbox/doc/v2_1.1/index_/services/2/100 Endpoints for accessing account information, managing consents, and retrieving transaction details. ```APIDOC ## POST /v2_1.1/accounts/v2_1.1/deleteConsent ### Description Removes consent for accessing account information. ### Method POST ### Endpoint /v2_1.1/accounts/v2_1.1/deleteConsent ### Parameters #### Request Body - **consentId** (string) - Required - The ID of the consent to delete. ### Request Example ```json { "consentId": "string" } ``` ### Response #### Success Response (200) - **status** (string) - Indicates the success of the operation. #### Response Example ```json { "status": "SUCCESS" } ``` ``` ```APIDOC ## POST /v2_1.1/accounts/v2_1.1/getAccounts ### Description Retrieves information about all of the user's payment accounts. ### Method POST ### Endpoint /v2_1.1/accounts/v2_1.1/getAccounts ### Parameters #### Request Body - **requestHeader** (object) - Required - The header for the request. - **consentId** (string) - Required - The ID of the consent. - **accountsRequest** (object) - Optional - Request parameters for accounts. - **accountType** (string) - Optional - Type of accounts to retrieve (e.g., 'credit', 'debit'). ### Request Example ```json { "requestHeader": { "consentId": "string" }, "accountsRequest": { "accountType": "debit" } } ``` ### Response #### Success Response (200) - **accounts** (array) - A list of account summary information. - **accountBaseInfo** (object) - Base information about the account. - **iban** (string) - The IBAN of the account. - **displayName** (string) - The display name of the account. - **currency** (object) - The currency of the account. - **code** (string) - The currency code (e.g., 'PLN'). - **accountType** (string) - The type of the account (e.g., 'credit', 'debit'). - **accountStatus** (string) - The status of the account. #### Response Example ```json { "accounts": [ { "accountBaseInfo": { "iban": "PL11111111111111111111111111", "displayName": "Konto Osobiste", "currency": { "code": "PLN" }, "accountType": "debit", "accountStatus": "ACTIVE" } } ] } ``` ``` ```APIDOC ## POST /v2_1.1/accounts/v2_1.1/getAccount ### Description Retrieves detailed information about a specific user payment account. ### Method POST ### Endpoint /v2_1.1/accounts/v2_1.1/getAccount ### Parameters #### Request Body - **requestHeader** (object) - Required - The header for the request. - **consentId** (string) - Required - The ID of the consent. - **accountInfoRequest** (object) - Required - Request parameters for account details. - **account** (object) - Required - Account identification. - **iban** (string) - Required - The IBAN of the account. ### Request Example ```json { "requestHeader": { "consentId": "string" }, "accountInfoRequest": { "account": { "iban": "PL11111111111111111111111111" } } } ``` ### Response #### Success Response (200) - **accountInfo** (object) - Detailed information about the account. - **iban** (string) - The IBAN of the account. - **displayName** (string) - The display name of the account. - **currency** (object) - The currency of the account. - **code** (string) - The currency code (e.g., 'PLN'). - **accountType** (string) - The type of the account (e.g., 'credit', 'debit'). - **accountStatus** (string) - The status of the account. - **balance** (array) - List of balances for the account. - **balanceType** (string) - Type of balance (e.g., 'available', 'current'). - **amount** (number) - The balance amount. - **currency** (object) - The currency of the balance. - **code** (string) - The currency code. #### Response Example ```json { "accountInfo": { "iban": "PL11111111111111111111111111", "displayName": "Konto Osobiste", "currency": { "code": "PLN" }, "accountType": "debit", "accountStatus": "ACTIVE", "balance": [ { "balanceType": "available", "amount": 1500.50, "currency": { "code": "PLN" } }, { "balanceType": "current", "amount": 1600.00, "currency": { "code": "PLN" } } ] } } ``` ``` ```APIDOC ## POST /v2_1.1/accounts/v2_1.1/getTransactionsDone ### Description Retrieves a list of the user's completed transactions for a specified account. ### Method POST ### Endpoint /v2_1.1/accounts/v2_1.1/getTransactionsDone ### Parameters #### Request Body - **requestHeader** (object) - Required - The header for the request. - **consentId** (string) - Required - The ID of the consent. - **itemTransactionDoneRequest** (object) - Required - Request parameters for done transactions. - **account** (object) - Required - Account identification. - **iban** (string) - Required - The IBAN of the account. - **dateFrom** (string) - Optional - The start date for transactions (YYYY-MM-DD). - **dateTo** (string) - Optional - The end date for transactions (YYYY-MM-DD). - **pageInfo** (object) - Optional - Pagination information. - **pageNumber** (integer) - Optional - The page number. - **pageSize** (integer) - Optional - The number of items per page. ### Request Example ```json { "requestHeader": { "consentId": "string" }, "itemTransactionDoneRequest": { "account": { "iban": "PL11111111111111111111111111" }, "dateFrom": "2023-01-01", "dateTo": "2023-01-31", "pageInfo": { "pageNumber": 1, "pageSize": 10 } } } ``` ### Response #### Success Response (200) - **transactionsDone** (array) - A list of completed transactions. - **transactionInfo** (object) - Information about a single transaction. - **transactionId** (string) - Unique identifier for the transaction. - **entryDate** (string) - Date the transaction was entered. - **valueDate** (string) - Date the transaction value was applied. - **amount** (object) - The transaction amount. - **value** (number) - The amount value. - **currency** (string) - The currency code. - **description** (string) - Description of the transaction. - **type** (string) - Type of transaction (e.g., 'credit', 'debit'). - **remittanceInfo** (string) - Additional remittance information. - **pageInfo** (object) - Pagination details for the response. - **pageNumber** (integer) - The current page number. - **pageSize** (integer) - The number of items per page. - **totalItems** (integer) - Total number of items available. - **totalPages** (integer) - Total number of pages. #### Response Example ```json { "transactionsDone": [ { "transactionInfo": { "transactionId": "txn123", "entryDate": "2023-01-15", "valueDate": "2023-01-15", "amount": { "value": -50.00, "currency": "PLN" }, "description": "Zakupy w sklepie", "type": "debit", "remittanceInfo": "" } } ], "pageInfo": { "pageNumber": 1, "pageSize": 10, "totalItems": 50, "totalPages": 5 } } ``` ``` ```APIDOC ## POST /v2_1.1/accounts/v2_1.1/getTransactionsPending ### Description Retrieves a list of the user's pending transactions for a specified account. ### Method POST ### Endpoint /v2_1.1/accounts/v2_1.1/getTransactionsPending ### Parameters #### Request Body - **requestHeader** (object) - Required - The header for the request. - **consentId** (string) - Required - The ID of the consent. - **itemTransactionPendingRequest** (object) - Required - Request parameters for pending transactions. - **account** (object) - Required - Account identification. - **iban** (string) - Required - The IBAN of the account. - **pageInfo** (object) - Optional - Pagination information. - **pageNumber** (integer) - Optional - The page number. - **pageSize** (integer) - Optional - The number of items per page. ### Request Example ```json { "requestHeader": { "consentId": "string" }, "itemTransactionPendingRequest": { "account": { "iban": "PL11111111111111111111111111" }, "pageInfo": { "pageNumber": 1, "pageSize": 10 } } } ``` ### Response #### Success Response (200) - **transactionsPending** (array) - A list of pending transactions. - **transactionInfo** (object) - Information about a single pending transaction. - **transactionId** (string) - Unique identifier for the transaction. - **entryDate** (string) - Date the transaction was entered. - **valueDate** (string) - Date the transaction value will be applied. - **amount** (object) - The transaction amount. - **value** (number) - The amount value. - **currency** (string) - The currency code. - **description** (string) - Description of the transaction. - **type** (string) - Type of transaction (e.g., 'credit', 'debit'). - **remittanceInfo** (string) - Additional remittance information. - **pageInfo** (object) - Pagination details for the response. - **pageNumber** (integer) - The current page number. - **pageSize** (integer) - The number of items per page. - **totalItems** (integer) - Total number of items available. - **totalPages** (integer) - Total number of pages. #### Response Example ```json { "transactionsPending": [ { "transactionInfo": { "transactionId": "txn456", "entryDate": "2023-01-20", "valueDate": "2023-01-22", "amount": { "value": -100.00, "currency": "PLN" }, "description": "Oczekująca płatność", "type": "debit", "remittanceInfo": "" } } ], "pageInfo": { "pageNumber": 1, "pageSize": 10, "totalItems": 5, "totalPages": 1 } } ``` ``` ```APIDOC ## POST /v2_1.1/accounts/v2_1.1/getTransactionsRejected ### Description Retrieves a list of the user's rejected transactions for a specified account. ### Method POST ### Endpoint /v2_1.1/accounts/v2_1.1/getTransactionsRejected ### Parameters #### Request Body - **requestHeader** (object) - Required - The header for the request. - **consentId** (string) - Required - The ID of the consent. - **itemTransactionRejectedRequest** (object) - Required - Request parameters for rejected transactions. - **account** (object) - Required - Account identification. - **iban** (string) - Required - The IBAN of the account. - **pageInfo** (object) - Optional - Pagination information. - **pageNumber** (integer) - Optional - The page number. - **pageSize** (integer) - Optional - The number of items per page. ### Request Example ```json { "requestHeader": { "consentId": "string" }, "itemTransactionRejectedRequest": { "account": { "iban": "PL11111111111111111111111111" }, "pageInfo": { "pageNumber": 1, "pageSize": 10 } } } ``` ### Response #### Success Response (200) - **transactionsRejected** (array) - A list of rejected transactions. - **transactionInfo** (object) - Information about a single rejected transaction. - **transactionId** (string) - Unique identifier for the transaction. - **entryDate** (string) - Date the transaction was entered. - **valueDate** (string) - Date the transaction was rejected. - **amount** (object) - The transaction amount. - **value** (number) - The amount value. - **currency** (string) - The currency code. - **description** (string) - Description of the transaction. - **type** (string) - Type of transaction (e.g., 'credit', 'debit'). - **remittanceInfo** (string) - Additional remittance information. - **pageInfo** (object) - Pagination details for the response. - **pageNumber** (integer) - The current page number. - **pageSize** (integer) - The number of items per page. - **totalItems** (integer) - Total number of items available. - **totalPages** (integer) - Total number of pages. #### Response Example ```json { "transactionsRejected": [ { "transactionInfo": { "transactionId": "txn789", "entryDate": "2023-01-25", "valueDate": "2023-01-25", "amount": { "value": -20.00, "currency": "PLN" }, "description": "Odrzucona płatność", "type": "debit", "remittanceInfo": "" } } ], "pageInfo": { "pageNumber": 1, "pageSize": 10, "totalItems": 2, "totalPages": 1 } } ``` ``` ```APIDOC ## POST /v2_1.1/accounts/v2_1.1/getTransactionsCancelled ### Description Retrieves a list of the user's cancelled transactions for a specified account. ### Method POST ### Endpoint /v2_1.1/accounts/v2_1.1/getTransactionsCancelled ### Parameters #### Request Body - **requestHeader** (object) - Required - The header for the request. - **consentId** (string) - Required - The ID of the consent. - **itemTransactionCancelledRequest** (object) - Required - Request parameters for cancelled transactions. - **account** (object) - Required - Account identification. - **iban** (string) - Required - The IBAN of the account. - **pageInfo** (object) - Optional - Pagination information. - **pageNumber** (integer) - Optional - The page number. - **pageSize** (integer) - Optional - The number of items per page. ### Request Example ```json { "requestHeader": { "consentId": "string" }, "itemTransactionCancelledRequest": { "account": { "iban": "PL11111111111111111111111111" }, "pageInfo": { "pageNumber": 1, "pageSize": 10 } } } ``` ### Response #### Success Response (200) - **transactionsCancelled** (array) - A list of cancelled transactions. - **transactionInfo** (object) - Information about a single cancelled transaction. - **transactionId** (string) - Unique identifier for the transaction. - **entryDate** (string) - Date the transaction was entered. - **valueDate** (string) - Date the transaction was cancelled. - **amount** (object) - The transaction amount. - **value** (number) - The amount value. - **currency** (string) - The currency code. - **description** (string) - Description of the transaction. - **type** (string) - Type of transaction (e.g., 'credit', 'debit'). - **remittanceInfo** (string) - Additional remittance information. - **pageInfo** (object) - Pagination details for the response. - **pageNumber** (integer) - The current page number. - **pageSize** (integer) - The number of items per page. - **totalItems** (integer) - Total number of items available. - **totalPages** (integer) - Total number of pages. #### Response Example ```json { "transactionsCancelled": [ { "transactionInfo": { "transactionId": "txnABC", "entryDate": "2023-01-28", "valueDate": "2023-01-28", "amount": { "value": -75.00, "currency": "PLN" }, "description": "Anulowana płatność", "type": "debit", "remittanceInfo": "" } } ], "pageInfo": { "pageNumber": 1, "pageSize": 10, "totalItems": 3, "totalPages": 1 } } ``` ``` ```APIDOC ## POST /v2_1.1/accounts/v2_1.1/getTransactionsScheduled ### Description Retrieves a list of the user's scheduled transactions for a specified account. ### Method POST ### Endpoint /v2_1.1/accounts/v2_1.1/getTransactionsScheduled ### Parameters #### Request Body - **requestHeader** (object) - Required - The header for the request. - **consentId** (string) - Required - The ID of the consent. - **itemTransactionScheduledRequest** (object) - Required - Request parameters for scheduled transactions. - **account** (object) - Required - Account identification. - **iban** (string) - Required - The IBAN of the account. - **pageInfo** (object) - Optional - Pagination information. - **pageNumber** (integer) - Optional - The page number. - **pageSize** (integer) - Optional - The number of items per page. ### Request Example ```json { "requestHeader": { "consentId": "string" }, "itemTransactionScheduledRequest": { "account": { "iban": "PL11111111111111111111111111" }, "pageInfo": { "pageNumber": 1, "pageSize": 10 } } } ``` ### Response #### Success Response (200) - **transactionsScheduled** (array) - A list of scheduled transactions. - **transactionInfo** (object) - Information about a single scheduled transaction. - **transactionId** (string) - Unique identifier for the transaction. - **executionDate** (string) - Date the transaction is scheduled for execution. - **amount** (object) - The transaction amount. - **value** (number) - The amount value. - **currency** (string) - The currency code. - **description** (string) - Description of the transaction. - **type** (string) - Type of transaction (e.g., 'credit', 'debit'). - **remittanceInfo** (string) - Additional remittance information. - **pageInfo** (object) - Pagination details for the response. - **pageNumber** (integer) - The current page number. - **pageSize** (integer) - The number of items per page. - **totalItems** (integer) - Total number of items available. - **totalPages** (integer) - Total number of pages. #### Response Example ```json { "transactionsScheduled": [ { "transactionInfo": { "transactionId": "txnXYZ", "executionDate": "2023-02-01", "amount": { "value": -200.00, "currency": "PLN" }, "description": "Zaplanowana płatność rachunku", "type": "debit", "remittanceInfo": "" } } ], "pageInfo": { "pageNumber": 1, "pageSize": 10, "totalItems": 4, "totalPages": 1 } } ``` ``` ```APIDOC ## POST /v2_1.1/accounts/v2_1.1/getHolds ### Description Retrieves a list of the user's holded operations for a specified account. ### Method POST ### Endpoint /v2_1.1/accounts/v2_1.1/getHolds ### Parameters #### Request Body - **requestHeader** (object) - Required - The header for the request. - **consentId** (string) - Required - The ID of the consent. - **holdRequest** (object) - Required - Request parameters for holded operations. - **account** (object) - Required - Account identification. - **iban** (string) - Required - The IBAN of the account. - **pageInfo** (object) - Optional - Pagination information. - **pageNumber** (integer) - Optional - The page number. - **pageSize** (integer) - Optional - The number of items per page. ### Request Example ```json { "requestHeader": { "consentId": "string" }, "holdRequest": { "account": { "iban": "PL11111111111111111111111111" }, "pageInfo": { "pageNumber": 1, "pageSize": 10 } } } ``` ### Response #### Success Response (200) - **holds** (array) - A list of holded operations. - **holdInfo** (object) - Information about a single holded operation. - **holdId** (string) - Unique identifier for the hold. - **amount** (object) - The hold amount. - **value** (number) - The amount value. - **currency** (string) - The currency code. - **description** (string) - Description of the operation. - **entryDate** (string) - Date the operation was entered. - **valueDate** (string) - Date the hold will be applied. - **pageInfo** (object) - Pagination details for the response. - **pageNumber** (integer) - The current page number. - **pageSize** (integer) - The number of items per page. - **totalItems** (integer) - Total number of items available. - **totalPages** (integer) - Total number of pages. #### Response Example ```json { "holds": [ { "holdInfo": { "holdId": "hold001", "amount": { "value": -50.00, "currency": "PLN" }, "description": "Blokada środków za transakcję kartą", "entryDate": "2023-01-18", "valueDate": "2023-01-18" } } ], "pageInfo": { "pageNumber": 1, "pageSize": 10, "totalItems": 1, "totalPages": 1 } } ``` ``` ```APIDOC ## POST /v2_1.1/accounts/v2_1.1/getTransactionDetail ### Description Retrieves detailed information about a user's single transaction. ### Method POST ### Endpoint /v2_1.1/accounts/v2_1.1/getTransactionDetail ### Parameters #### Request Body - **requestHeader** (object) - Required - The header for the request. - **consentId** (string) - Required - The ID of the consent. - **transactionDetailRequest** (object) - Required - Request parameters for transaction details. - **account** (object) - Required - Account identification. - **iban** (string) - Required - The IBAN of the account. - **transactionId** (string) - Required - The ID of the transaction. ### Request Example ```json { "requestHeader": { "consentId": "string" }, "transactionDetailRequest": { "account": { "iban": "PL11111111111111111111111111" }, "transactionId": "txn123" } } ``` ### Response #### Success Response (200) - **transactionDetail** (object) - Detailed information about the transaction. - **transactionId** (string) - Unique identifier for the transaction. - **entryDate** (string) - Date the transaction was entered. - **valueDate** (string) - Date the transaction value was applied. - **amount** (object) - The transaction amount. - **value** (number) - The amount value. - **currency** (string) - The currency code. - **description** (string) - Description of the transaction. - **type** (string) - Type of transaction (e.g., 'credit', 'debit'). - **remittanceInfo** (string) - Additional remittance information. - **payor** (object) - Information about the payor. - **name** (string) - Name of the payor. - **address** (object) - Address of the payor. - **street** (string) - Street name. - **buildingNumber** (string) - Building number. - **city** (string) - City name. - **postCode** (string) - Postal code. - **country** (string) - Country code (ISO 3166-1 alpha-2). #### Response Example ```json { "transactionDetail": { "transactionId": "txn123", "entryDate": "2023-01-15", "valueDate": "2023-01-15", "amount": { "value": -50.00, "currency": "PLN" }, "description": "Zakupy w sklepie", "type": "debit", "remittanceInfo": "", "payor": { "name": "Przykładowy Sklep", "address": { "street": "ul. Główna", "buildingNumber": "10", "city": "Warszawa", "postCode": "00-001", "country": "PL" } } } } ``` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.