From 1bfddb776d1198ee8db902e49146784f058765e3 Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Mon, 9 Apr 2018 23:06:28 -0700 Subject: [PATCH] Support listing Orders for a specific Customer --- order.go | 1 + 1 file changed, 1 insertion(+) diff --git a/order.go b/order.go index 432fd1ad5b..ff66a790c9 100644 --- a/order.go +++ b/order.go @@ -117,6 +117,7 @@ type OrderList struct { // https://stripe.com/docs/api#list_orders. type OrderListParams struct { ListParams `form:"*"` + Customer string `form:"customer"` Created int64 `form:"created"` CreatedRange *RangeQueryParams `form:"created"` IDs []string `form:"ids"`