Skip to content

Commit

Permalink
Merge pull request #993 from stripe/cjavilla/dispute-list-pi
Browse files Browse the repository at this point in the history
Add payment_intent filter for listing disputes
  • Loading branch information
remi-stripe authored Nov 21, 2019
2 parents b4b6414 + 3a753ff commit ef42c32
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions dispute.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,11 @@ type DisputeEvidenceParams struct {
// DisputeListParams is the set of parameters that can be used when listing disputes.
// For more details see https://stripe.com/docs/api#list_disputes.
type DisputeListParams struct {
ListParams `form:"*"`
Charge *string `form:"charge"`
Created *int64 `form:"created"`
CreatedRange *RangeQueryParams `form:"created"`
ListParams `form:"*"`
Charge *string `form:"charge"`
Created *int64 `form:"created"`
CreatedRange *RangeQueryParams `form:"created"`
PaymentIntent *string `form:"payment_intent"`
}

// Dispute is the resource representing a Stripe dispute.
Expand Down

0 comments on commit ef42c32

Please sign in to comment.