Skip to content

noncompliant not represented as a DisputeReason #2072

@jamieaitken

Description

@jamieaitken

Describe the bug

Hey folks, I've spotted that the dispute reason of noncompliant is not represented in your Go SDK but it is a valid API response https://docs.stripe.com/disputes/categories?dispute-category=noncompliant#dispute-category-types

SDK:

stripe-go/dispute.go

Lines 93 to 106 in 8fdb0c0

DisputeReasonBankCannotProcess DisputeReason = "bank_cannot_process"
DisputeReasonCheckReturned DisputeReason = "check_returned"
DisputeReasonCreditNotProcessed DisputeReason = "credit_not_processed"
DisputeReasonCustomerInitiated DisputeReason = "customer_initiated"
DisputeReasonDebitNotAuthorized DisputeReason = "debit_not_authorized"
DisputeReasonDuplicate DisputeReason = "duplicate"
DisputeReasonFraudulent DisputeReason = "fraudulent"
DisputeReasonGeneral DisputeReason = "general"
DisputeReasonIncorrectAccountDetails DisputeReason = "incorrect_account_details"
DisputeReasonInsufficientFunds DisputeReason = "insufficient_funds"
DisputeReasonProductNotReceived DisputeReason = "product_not_received"
DisputeReasonProductUnacceptable DisputeReason = "product_unacceptable"
DisputeReasonSubscriptionCanceled DisputeReason = "subscription_canceled"
DisputeReasonUnrecognized DisputeReason = "unrecognized"

To Reproduce

N/A

Expected behavior

N.A

Code snippets

OS

N/A

Go version

N/A

stripe-go version

v82.0.0

API version

2024-06-20

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions