From c0ae3c0d0625e76fea1030a51974bfd2cd24e508 Mon Sep 17 00:00:00 2001 From: Alvaro Carvajal Date: Tue, 3 Sep 2019 22:39:22 +0200 Subject: [PATCH] Add custom_id to captured orders (#114) --- types.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types.go b/types.go index 3638141..42f4d75 100644 --- a/types.go +++ b/types.go @@ -467,8 +467,9 @@ type ( // CaptureAmount struct CaptureAmount struct { - ID string `json:"id,omitempty"` - Amount *PurchaseUnitAmount `json:"amount,omitempty"` + ID string `json:"id,omitempty"` + CustomID string `json:"custom_id,omitempty"` + Amount *PurchaseUnitAmount `json:"amount,omitempty"` } // CapturedPayments has the amounts for a captured order