From beadd00846ab7d7c8cbc531a055c10a669e4c8c0 Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Mon, 21 Sep 2020 13:21:13 -0700 Subject: [PATCH] Add support for `AmountCaptured` on `Charge` --- charge.go | 1 + 1 file changed, 1 insertion(+) diff --git a/charge.go b/charge.go index 81531166b9..e7ade6a4e7 100644 --- a/charge.go +++ b/charge.go @@ -545,6 +545,7 @@ type ChargeTransferData struct { type Charge struct { APIResource Amount int64 `json:"amount"` + AmountCaptured int64 `json:"amount_captured"` AmountRefunded int64 `json:"amount_refunded"` Application *Application `json:"application"` ApplicationFee *ApplicationFee `json:"application_fee"`