From 75b664bf384f04be1f4e86d8685d2923c6bccefb Mon Sep 17 00:00:00 2001 From: Max Chechel Date: Wed, 26 Jul 2017 16:13:29 +0300 Subject: [PATCH] changed BinNumber type from int to json.Number --- payment_method.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payment_method.go b/payment_method.go index 3b586b5..b804ef8 100644 --- a/payment_method.go +++ b/payment_method.go @@ -20,7 +20,7 @@ type PaymentMethod struct { Created json.Number `json:"created"` Customer string `json:"customer"` AdditionalDetails AdditionalDetails `json:"additional_details"` - BinNumber int `json:"bin_number"` + BinNumber json.Number `json:"bin_number"` Vendor string `json:"vendor"` Issuer string `json:"issuer"` CardType string `json:"card_type"`