Merge pull request #2287 from pradpnayak/CRM-13848
[civicrm-core.git] / api / v3 / Contribution.php
index 00abfe5b7a9b384d6c5763dedbb0bf4aa75d37bb..370f8135a7c34ab4d6107be55310f53eda05d682 100644 (file)
@@ -122,6 +122,11 @@ function _civicrm_api3_contribution_create_spec(&$params) {
     'api.default' => 0,
     'description' => 'Do not add line items by default (if you wish to add your own)',
   );
+  $params['batch_id'] = array(
+    'title' => 'Batch',
+    'type' => 1,
+    'description' => 'Batch which relevant transactions should be added to',
+  );
 }
 
 /**