From a7d1e60f6b411c9a8daa1f654855440f59bc05ea Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Wed, 11 Feb 2015 14:28:01 -0500 Subject: Document bill now API --- FS/FS/API.pm | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'FS/FS/API.pm') diff --git a/FS/FS/API.pm b/FS/FS/API.pm index dd172c1..c49fb20 100644 --- a/FS/FS/API.pm +++ b/FS/FS/API.pm @@ -603,8 +603,21 @@ sub location_info { Bills a single customer now, in the same fashion as the "Bill now" link in the UI. -Returns a hash reference with a single key, 'error'. If there is an error, -the value contains the error, otherwise it is empty. +Returns a hash reference with a single key, 'error'. If there is an error, +the value contains the error, otherwise it is empty. Takes a list of keys and +values as parameters with the following keys: + +=over 4 + +=item secret + +API Secret (required) + +=item custnum + +Customer number (required) + +=back =cut -- cgit v1.1