From 01871952854d85d080de51390df533f3ddbc4a21 Mon Sep 17 00:00:00 2001 From: CJ Avilla Date: Thu, 21 Nov 2019 12:13:19 -0800 Subject: [PATCH] Add PaymentIntent to filter lists of Disputes --- src/Stripe.net/Services/Disputes/DisputeListOptions.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Stripe.net/Services/Disputes/DisputeListOptions.cs b/src/Stripe.net/Services/Disputes/DisputeListOptions.cs index 47d7ddd36b..d1b06178c6 100644 --- a/src/Stripe.net/Services/Disputes/DisputeListOptions.cs +++ b/src/Stripe.net/Services/Disputes/DisputeListOptions.cs @@ -12,5 +12,11 @@ public class DisputeListOptions : ListOptionsWithCreated /// [JsonProperty("charge")] public string Charge { get; set; } + + /// + /// Only return disputes that are associated with the PaymentIntent specified by this PaymentIntent ID. + /// + [JsonProperty("payment_intent")] + public string PaymentIntent { get; set; } } }