code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.issuing.Dispute.create(
    transaction="ipi_1JIdAl2eZvKYlo2Cfr8US8uB",
    evidence={
      "reason": "fraudulent",
      "fraudulent": {
        "explanation": "Purchase was unrecognized.",
      },
    },
  )
  '''Response {
    "id": "idp_1LSdsz2eZvKYlo2CzYY577wS",
    "object": "issuing.dispute",
    "amount": 2000,
    "created": 1659518945,
    "currency": "usd",
    "evidence": {
      "reason": "fraudulent",
      "fraudulent": {
        "explanation": "Purchase was unrecognized."
      }
    },
    "livemode": false,
    "metadata": {},
    "redaction": null,
    "status": "unsubmitted",
    "transaction": "ipi_1JIdAl2eZvKYlo2Cfr8US8uB"
  }'''
nl: Create a disputeCreates an Issuing Dispute object. Individual pieces of evidence within the evidence object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to Dispute reasons and evidence for more details about evidence requirements.Parameters evidence optional dictionary Evidence provided for the dispute.Show child parameters metadata optional dictionary Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata. transaction optional The ID of the issuing transaction to create a dispute for. For transaction on Treasury FinancialAccounts, use treasury.received_debit.ReturnsReturns an Issuing Dispute object in unsubmitted status if creation succeeds