Index: pay.api.php
===================================================================
RCS file: pay.api.php
diff -N pay.api.php
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ pay.api.php	11 Sep 2010 17:50:41 -0000
@@ -0,0 +1,52 @@
+<?php
+// $Id$
+
+/**
+ * @file
+ * Hooks provided by the Pay module.
+ */
+
+/**
+ * @addtogroup hooks
+ * @{
+ */
+
+/**
+ * This hook is used to inform Pay of available payment method handlers.
+ */
+function hook_pay_method_handler_info() {
+  return array(
+    'pay_method_custom' => array(
+      'title' => t('Custom payment'),
+      'description' => t('Manual payment entry, for COD payments, pledges, or manually incrementing a total.'),
+      'parent' => 'pay_method',
+      'module' => 'example',
+    ),
+    'pay_method_gateway_pieinthesky' => array(
+      'title' => 'Pie in the Sky',
+      'description' => t('Payment processing using the Pie in the Sky payment gateway'),
+      'parent' => 'pay_method_gateway',
+      'module' => 'pieinthesky',
+      'path' => drupal_get_path('module', 'pieinthesky') .'/includes',
+    ),
+  );
+}
+
+/**
+ * This hook is used to inform Pay of available payment form handlers.
+ */
+function pay_donate_pay_form_handler_info() {
+  return array(
+    'pay_donate' => array(
+      'title' => t('Donations'),
+      'description' => t('A form to handle online donations.'),
+      'handler' => 'pay_donate',
+      'path' => drupal_get_path('module', 'pay_donate') .'/includes'
+    ),
+  );
+}
+
+/**
+ * @} End of "addtogroup hooks".
+ */
+
