From f00754ad9215dd0613606ce113a4dda0df4df59a Mon Sep 17 00:00:00 2001 From: Max Chechel Date: Tue, 25 Jul 2017 18:02:33 +0300 Subject: [PATCH] Changed BinNumber type from string to int --- payment_method.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payment_method.go b/payment_method.go index a9bf3fa..3b586b5 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 string `json:"bin_number"` + BinNumber int `json:"bin_number"` Vendor string `json:"vendor"` Issuer string `json:"issuer"` CardType string `json:"card_type"`