From f9a02c3362e50d5b374b93e5549194672e8497e6 Mon Sep 17 00:00:00 2001 From: Brandur Date: Sun, 17 Sep 2017 08:28:49 -0700 Subject: [PATCH] Remove Charge.Token Unfortunately I forgot about this one before releasing, but it doesn't appear that `Token` on `ChargeParams` is used anywhere and I can't find it in any of the charge-related documentation on the API reference. --- charge.go | 1 - 1 file changed, 1 deletion(-) diff --git a/charge.go b/charge.go index 36a24834de..f9ca299097 100644 --- a/charge.go +++ b/charge.go @@ -29,7 +29,6 @@ type ChargeParams struct { Shipping *ShippingDetails `form:"shipping"` Source *SourceParams `form:"*"` // SourceParams has custom encoding so brought to top level with "*" Statement string `form:"statement_descriptor"` - Token string `form:"-"` // Does not appear to be used? TransferGroup string `form:"transfer_group"` }