Invoice.create(); Stripe.apiKey = "sk_test_l9A3OuzZzgLNyi8IoNAy3ldU"; Map invoiceParams = new HashMap(); invoiceParams.put("customer", "cus_9j9CcMU4zdPOL3"); Invoice.create(invoiceParams);