Disputes

Accepts a chargeback, conceding it to the customer instead of contesting it. The payment processor closes the dispute as lost. This is final — the dispute cannot be contested afterwards. Only a dispute whose acceptable is true can be accepted.

post/disputes/{id}/accept

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string required

The dispute ID (dspt_ tag).

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Idempotency-Key, string
Example:d9105228-4a08-46b1-8b91-42fed586d383

A unique key that makes this request safe to retry. See Idempotent requests.

Response

dispute accepted

Dispute required
acceptable, boolean required

Whether the dispute can be conceded to the customer with POST /disputes/{id}/accept. True only for a chargeback still awaiting a response, before evidence_due_at, whose payment processor supports accepting disputes. Inquiries are never acceptable.

account_id, string nullable required

The account the dispute was filed against, prefixed biz_.

amount, number required

The disputed amount, in whole units of currency.

buyer, DisputeBuyer required

The customer who filed the dispute.

created_at, string required

When the dispute was opened, as an ISO 8601 timestamp.

currency, string required

Three-letter ISO currency code of the disputed amount.

evidence, DisputeEvidence required

The evidence packet sent to the processor to contest the dispute.

evidence_due_at, string nullable required

The deadline to submit evidence, as an ISO 8601 timestamp. null when the network already auto-resolved the dispute (Visa RDR) with no evidence round, or when the processor hasn't reported a deadline for this dispute.

evidence_editable, boolean required

Whether evidence can still be changed and submitted.

evidence_locked_reason, 'submitted' | 'response_window_closed' | 'not_contestable' | 'null' nullable required

Why evidence can no longer be edited. null while evidence_editable is true.

evidence_submitted_at, string nullable required

When the evidence was submitted to the processor, as an ISO 8601 timestamp.

fee, Money nullable required
fee_charged, boolean required

Whether Whop charged the account a dispute fee for this one. false when the payment was fully refunded before the dispute was opened, for a Visa RDR resolution, and for an inquiry.

id, string required

Dispute ID, prefixed dspt_.

inquiry, boolean required

Whether this is a pre-dispute inquiry rather than a formal chargeback. Inquiries follow the same lifecycle but move no funds unless one escalates.

issuer_comments, DisputeIssuerComment[] required
line_items, ReceiptLineItem[] required
payment, DisputePayment required

The payment being disputed.

product_id, string nullable required

The product the disputed payment was for, prefixed prod_.

reason, 'fraudulent' | 'unrecognized' | 'declined_authorization' | 'product_not_received' | 'product_unacceptable' | 'subscription_canceled' | 'credit_not_processed' | 'duplicate' | 'processing_error' | 'documentation_request' | 'bank_cannot_process' | 'other' required

Why the customer says they are disputing, normalized across processors and card networks. other covers a processor reason Whop has not categorized yet.

reason_code, string nullable required

The raw card-network or processor reason code, such as 10.4. Informational only — reason is not derived from it.

status, 'needs_response' | 'warning_needs_response' | 'under_review' | 'warning_under_review' | 'generating_response' | 'won' | 'lost' | 'prevented' | 'warning_closed' required

needs_response awaits evidence (after a processor refused a filing, submission_failure_reason says why); generating_response has evidence with the processor, not yet accepted; under_review is with the processor; won/lost are the rulings; prevented settles like lost. warning_ statuses are the inquiry tiers. Past evidence_due_at an open one reports under_review.

submission_failure_reason, string nullable required

Why the payment processor refused the last filing, in plain English, while the dispute is back in needs_response. Fix what it names and submit again. Only on retrieve: dispute.updated reports the move back to needs_response, then read this here.

updated_at, string required

When the dispute was last changed, as an ISO 8601 timestamp.

variant_id, string nullable required

The variant the disputed payment was made on, prefixed plan_.

Example response

{
  "acceptable": true,
  "account_id": "biz_xxxxxxxxxxxxxx",
  "amount": 150,
  "buyer": {
    "email": "marcus@shinetime.example",
    "member_id": "mber_xxxxxxxxxxxxxx",
    "name": "Dana Whitfield",
    "user_id": "user_xxxxxxxxxxxxxx",
    "username": "danawhitfield"
  },
  "created_at": "2026-01-01T12:00:00.000Z",
  "currency": "usd",
  "evidence": {
    "access_activity_log": "Vehicle checked in 2026-01-04 09:02, released 2026-01-05 16:40. Signed release on file.",
    "billing_address": "4180 Burnet Rd, Austin, TX 78756, US",
    "cancellation_policy_attachment": {
      "content_type": "image/png",
      "filename": "booking-confirmation-email.png",
      "id": "file_xxxxxxxxxxxxxx",
      "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    },
    "cancellation_policy_disclosure": "Shown at checkout and again in the booking confirmation email.",
    "customer_communication_attachment": {
      "content_type": "image/png",
      "filename": "booking-confirmation-email.png",
      "id": "file_xxxxxxxxxxxxxx",
      "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    },
    "customer_email_address": "marcus@shinetime.example",
    "customer_name": "Dana Whitfield",
    "documents": [
      {
        "blurhash": "LA6bDXT$E3b:R6i+RibEIWbp%ej1",
        "content_type": "image/png",
        "created_at": "2026-01-01T12:00:00.000Z",
        "document_type": "customer_order_history",
        "filename": "customer-order-history.png",
        "height": 100,
        "id": "file_xxxxxxxxxxxxxx",
        "multipart_upload_urls": [
          {
            "part_number": 1,
            "url": "https://whop-assets-example.s3.amazonaws.com/uploads/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/application.pdf"
          }
        ],
        "object": "file",
        "size": 1024,
        "upload_status": "ready",
        "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "visibility": "public",
        "width": 100
      }
    ],
    "notes": "Two-day ceramic coating completed and collected. Before and after photos attached.",
    "product_description": "Two-stage paint correction with a three-year ceramic coating.",
    "refund_policy_attachment": {
      "content_type": "image/png",
      "filename": "booking-confirmation-email.png",
      "id": "file_xxxxxxxxxxxxxx",
      "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    },
    "refund_policy_disclosure": "Linked from the booking page and accepted at checkout.",
    "refund_refusal_explanation": "Work was completed and the vehicle collected, so the deposit is non-refundable.",
    "service_date": "2026-01-01",
    "uncategorized_attachment": {
      "content_type": "image/png",
      "filename": "booking-confirmation-email.png",
      "id": "file_xxxxxxxxxxxxxx",
      "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
  },
  "evidence_due_at": "2026-01-01T12:00:00.000Z",
  "evidence_editable": true,
  "evidence_locked_reason": "submitted",
  "fee": {
    "amount": "-1234.56",
    "currency": "usd",
    "decimals": 2,
    "display_decimals": 2
  },
  "fee_charged": true,
  "id": "dspt_xxxxxxxxxxxxxx",
  "issuer_comments": [
    {
      "received_at": "2026-01-01T12:00:00.000Z",
      "text": "Note: Cardholder states the ceramic coating appointment never took place\nCancellation method: By phone"
    }
  ],
  "line_items": [
    {
      "discount_amount": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      },
      "id": "li_xxxxxxxxxxxxxx",
      "label": "Credit card surcharge",
      "product_id": "prod_xxxxxxxxxxxxxx",
      "product_title": "Credit card surcharge",
      "quantity": 1,
      "subtotal": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      },
      "variant_id": "plan_xxxxxxxxxxxxxx",
      "variant_title": "Credit card surcharge"
    }
  ],
  "payment": {
    "amount": 249,
    "card_brand": "visa",
    "card_last4": "4242",
    "created_at": "2026-01-01T12:00:00.000Z",
    "currency": "usd",
    "id": "pay_xxxxxxxxxxxxxx",
    "payment_instrument": {
      "card": {
        "brand": "visa",
        "exp_month": 10,
        "exp_year": 2031,
        "issuer_identification_number": "41111111",
        "last4": "4242",
        "network_transaction_id": "016153570198200"
      },
      "crypto": {
        "token": "eyJhbGciOiJFUzI1NiJ9.xxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxx"
      },
      "display_name": "Visa •••• 4242",
      "icons": {
        "card": {
          "dark": {
            "png_1x": "https://content.whop.com/payment_methods/card/icons/card_dark_30.png",
            "png_2x": "https://content.whop.com/payment_methods/card/icons/card_dark_60.png",
            "png_4x": "https://content.whop.com/payment_methods/card/icons/card_dark_120.png",
            "svg": "https://content.whop.com/payment_methods/card/icons/card_dark.svg"
          },
          "light": {
            "png_1x": "https://content.whop.com/payment_methods/card/icons/card_dark_30.png",
            "png_2x": "https://content.whop.com/payment_methods/card/icons/card_dark_60.png",
            "png_4x": "https://content.whop.com/payment_methods/card/icons/card_dark_120.png",
            "svg": "https://content.whop.com/payment_methods/card/icons/card_dark.svg"
          }
        },
        "square": {
          "dark": {
            "png_1x": "https://content.whop.com/payment_methods/card/icons/card_dark_30.png",
            "png_2x": "https://content.whop.com/payment_methods/card/icons/card_dark_60.png",
            "png_4x": "https://content.whop.com/payment_methods/card/icons/card_dark_120.png",
            "svg": "https://content.whop.com/payment_methods/card/icons/card_dark.svg"
          },
          "light": {
            "png_1x": "https://content.whop.com/payment_methods/card/icons/card_dark_30.png",
            "png_2x": "https://content.whop.com/payment_methods/card/icons/card_dark_60.png",
            "png_4x": "https://content.whop.com/payment_methods/card/icons/card_dark_120.png",
            "svg": "https://content.whop.com/payment_methods/card/icons/card_dark.svg"
          }
        }
      },
      "payment_method_type": "card"
    },
    "payment_method_type": "card"
  },
  "product_id": "prod_xxxxxxxxxxxxxx",
  "reason": "other",
  "reason_code": "13.1",
  "status": "needs_response",
  "updated_at": "2026-01-01T12:00:00.000Z",
  "variant_id": "plan_xxxxxxxxxxxxxx"
}

Changes

    • info

      added the required property payment/payment_instrument/oneOf[#/components/schemas/PaymentInstrument]/crypto/oneOf[#/components/schemas/PaymentInstrumentCrypto]/deposit_address to the response with the status

    • info

      added the required property payment/payment_instrument/oneOf[#/components/schemas/PaymentInstrument]/crypto/oneOf[#/components/schemas/PaymentInstrumentCrypto]/network to the response with the status

    • info

      added the required property payment/payment_instrument/oneOf[#/components/schemas/PaymentInstrument]/crypto/oneOf[#/components/schemas/PaymentInstrumentCrypto]/sender_address to the response with the status

    2 more changes in this revision