API:listStatements - SEPA: Get statement lists

Get statement lists. Method only available for installations with enabled SEPA Direct Debit plugin

Request

GET http://url_to_your_hostbill.com/admin/api.php?token=:TOKEN&call=listStatements

Response

   {
      "success": true,
      "statements": [
         {
            "id": "8",
            "name": "Test 54.DATE:2020.07.13",
            "date": "2020-07-13 00:00:00",
            "status": "Processed",
            "creditor_id": "2",
            "type": "CAMT.053",
            "creditor": {
               "id": "2",
               "name": "Test 54",
               "payee_id": "FI7433010001222090",
               "iban": "FI7433010001222090",
               "bic": "",
               "notice_time": "14",
               "processing_time_first": "6",
               "processing_time_recurring": "3",
               "status": "Active",
               "monthdays": "1,15",
               "currencies": "pain.008.002.02",
               "lclinstrm": "CORE",
               "only_recurring": "0",
               "preferred_brand": "0",
               "ignore_create_batch": "0"
            }
         },
         {
            "id": "9",
            "name": "Test 54.DATE:2020.07.13",
            "date": "2020-07-13 00:00:00",
            "status": "Pending",
            "creditor_id": "2",
            "type": "CAMT.053",
            "creditor": {
               "id": "2",
               "name": "Test 54",
               "payee_id": "FI7433010001222090",
               "iban": "FI7433010001222090",
               "bic": "",
               "notice_time": "14",
               "processing_time_first": "6",
               "processing_time_recurring": "3",
               "status": "Active",
               "monthdays": "1,15",
               "currencies": "pain.008.002.02",
               "lclinstrm": "CORE",
               "only_recurring": "0",
               "preferred_brand": "0",
               "ignore_create_batch": "0"
            }
         },
         {
            "id": "19",
            "name": "IT020010000005030810484",
            "date": "2020-06-01 15:55:00",
            "status": "Pending",
            "creditor_id": "3",
            "type": "CBI",
            "creditor": {
               "id": "3",
               "name": "ITALY",
               "payee_id": "",
               "iban": "IT22H0842537831000030466486",
               "bic": "",
               "notice_time": "14",
               "processing_time_first": "6",
               "processing_time_recurring": "3",
               "status": "Active",
               "monthdays": "1,15",
               "currencies": "pain.008.002.02",
               "lclinstrm": "CORE",
               "only_recurring": "0",
               "preferred_brand": "0",
               "ignore_create_batch": "0"
            }
         },
         {
            "id": "1",
            "name": "BANKFILEID00001NTR00001",
            "date": "2009-10-30 20:01:45",
            "status": "Pending",
            "creditor_id": "2",
            "type": "CAMT.054",
            "creditor": {
               "id": "2",
               "name": "Test 54",
               "payee_id": "FI7433010001222090",
               "iban": "FI7433010001222090",
               "bic": "",
               "notice_time": "14",
               "processing_time_first": "6",
               "processing_time_recurring": "3",
               "status": "Active",
               "monthdays": "1,15",
               "currencies": "pain.008.002.02",
               "lclinstrm": "CORE",
               "only_recurring": "0",
               "preferred_brand": "0",
               "ignore_create_batch": "0"
            }
         }
      ],
      "call": "listStatements",
      "server_time": 1594798647
   }