API:getBatchDetails - SEPA: Get batch details

Get batch details. Method only available for installations with enabled SEPA Direct Debit plugin

Required parameters

id
Batch ID

Request

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

Response

   {
      "success": true,
      "batch": {
         "id": "7",
         "creditor_id": "1",
         "name": "DD20200701",
         "status": "Draft",
         "date": "2020-07-01 12:00:29",
         "dd_date": "2020-07-15",
         "download_date": "0000-00-00",
         "preferred_brand": "0",
         "invoice_count": "0",
         "invoice_amount": null,
         "invoices_pending": [
            
         ],
         "invoices_processed": [
            
         ],
         "invoices_failed": [
            
         ]
      },
      "call": "getBatchDetails",
      "server_time": 1594798610
   }