public function getCustomerTransactions($code = null) {
		$txns = array();
		$subscriptions = $this->getCustomerSubscriptions($code);
		foreach ($subscriptions as $subscription) {
			if (isset($subscription['invoices'])) {
				foreach ($subscription['invoices'] as $key => $i) {
					if (isset($i['transactions'])) {
						foreach ($i['transactions'] as $idx => $t) {
							$txns[$idx] = $t;
						}
					}
				}
			}
		}
		return $txns;
	}