From 5feda2cf5edc6e8ff8e527b7ba7879e67ab37dc9 Mon Sep 17 00:00:00 2001 From: Eric Lee Date: Mon, 18 Nov 2019 14:44:42 -0800 Subject: [PATCH] Update payment capture response type to include links (#128) --- types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/types.go b/types.go index 2c2e67e..5bedbbd 100644 --- a/types.go +++ b/types.go @@ -235,6 +235,7 @@ type ( InvoiceID string `json:"invoice_id,omitempty"` FinalCapture bool `json:"final_capture,omitempty"` DisbursementMode string `json:"disbursement_mode,omitempty"` + Links []Link `json:"links,omitempty"` } // CaptureOrderRequest - https://developer.paypal.com/docs/api/orders/v2/#orders_capture