From 100c5fb44f0d3c09d858d9d0f20e535957467e5d Mon Sep 17 00:00:00 2001 From: John Slavick Date: Mon, 9 Jul 2018 09:07:26 -0500 Subject: [PATCH] Changed the type of Payout.Destination from string to *PayoutDestination to support expanding --- payout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payout.go b/payout.go index 1f9000797c..3b15b2c541 100644 --- a/payout.go +++ b/payout.go @@ -108,7 +108,7 @@ type Payout struct { Card *Card `json:"card"` Created int64 `json:"created"` Currency Currency `json:"currency"` - Destination string `json:"destination"` + Destination *PayoutDestination `json:"destination"` FailureBalanceTransaction *BalanceTransaction `json:"failure_balance_transaction"` FailureCode PayoutFailureCode `json:"failure_code"` FailureMessage string `json:"failure_message"`