import { WhopClient } from "@whop/sdk";
const client = new WhopClient({ token: "YOUR_TOKEN", apiVersionDate: "2026-08-21-1", idempotencyKey: "YOUR_IDEMPOTENCY_KEY" });
await client.disputes.update({
id: "id"
});curl --request PATCH \
--url https://api.whop.com/api/v1/disputes/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"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": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"cancellation_policy_disclosure": "Shown at checkout and again in the booking confirmation email.",
"customer_communication_attachment": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"customer_email_address": "marcus@shinetime.example",
"customer_name": "Dana Whitfield",
"documents": [
{
"document_type": "return_policy",
"direct_upload_id": "<string>",
"file": "<string>",
"id": "file_xxxxxxxxxxxxxx"
}
],
"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": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"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": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
}
}
}
'import requests
url = "https://api.whop.com/api/v1/disputes/{id}"
payload = { "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": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"cancellation_policy_disclosure": "Shown at checkout and again in the booking confirmation email.",
"customer_communication_attachment": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"customer_email_address": "marcus@shinetime.example",
"customer_name": "Dana Whitfield",
"documents": [
{
"document_type": "return_policy",
"direct_upload_id": "<string>",
"file": "<string>",
"id": "file_xxxxxxxxxxxxxx"
}
],
"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": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"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": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
}
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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: {
direct_upload_id: 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
id: 'file_xxxxxxxxxxxxxx'
},
cancellation_policy_disclosure: 'Shown at checkout and again in the booking confirmation email.',
customer_communication_attachment: {
direct_upload_id: 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
id: 'file_xxxxxxxxxxxxxx'
},
customer_email_address: 'marcus@shinetime.example',
customer_name: 'Dana Whitfield',
documents: [
{
document_type: 'return_policy',
direct_upload_id: '<string>',
file: '<string>',
id: 'file_xxxxxxxxxxxxxx'
}
],
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: {
direct_upload_id: 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
id: 'file_xxxxxxxxxxxxxx'
},
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: {
direct_upload_id: 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
id: 'file_xxxxxxxxxxxxxx'
}
}
})
};
fetch('https://api.whop.com/api/v1/disputes/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.whop.com/api/v1/disputes/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'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' => [
'direct_upload_id' => 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'id' => 'file_xxxxxxxxxxxxxx'
],
'cancellation_policy_disclosure' => 'Shown at checkout and again in the booking confirmation email.',
'customer_communication_attachment' => [
'direct_upload_id' => 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'id' => 'file_xxxxxxxxxxxxxx'
],
'customer_email_address' => 'marcus@shinetime.example',
'customer_name' => 'Dana Whitfield',
'documents' => [
[
'document_type' => 'return_policy',
'direct_upload_id' => '<string>',
'file' => '<string>',
'id' => 'file_xxxxxxxxxxxxxx'
]
],
'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' => [
'direct_upload_id' => 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'id' => 'file_xxxxxxxxxxxxxx'
],
'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' => [
'direct_upload_id' => 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'id' => 'file_xxxxxxxxxxxxxx'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.whop.com/api/v1/disputes/{id}"
payload := strings.NewReader("{\n \"evidence\": {\n \"access_activity_log\": \"Vehicle checked in 2026-01-04 09:02, released 2026-01-05 16:40. Signed release on file.\",\n \"billing_address\": \"4180 Burnet Rd, Austin, TX 78756, US\",\n \"cancellation_policy_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"cancellation_policy_disclosure\": \"Shown at checkout and again in the booking confirmation email.\",\n \"customer_communication_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"customer_email_address\": \"marcus@shinetime.example\",\n \"customer_name\": \"Dana Whitfield\",\n \"documents\": [\n {\n \"document_type\": \"return_policy\",\n \"direct_upload_id\": \"<string>\",\n \"file\": \"<string>\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n }\n ],\n \"notes\": \"Two-day ceramic coating completed and collected. Before and after photos attached.\",\n \"product_description\": \"Two-stage paint correction with a three-year ceramic coating.\",\n \"refund_policy_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"refund_policy_disclosure\": \"Linked from the booking page and accepted at checkout.\",\n \"refund_refusal_explanation\": \"Work was completed and the vehicle collected, so the deposit is non-refundable.\",\n \"service_date\": \"2026-01-01\",\n \"uncategorized_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n }\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.whop.com/api/v1/disputes/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"evidence\": {\n \"access_activity_log\": \"Vehicle checked in 2026-01-04 09:02, released 2026-01-05 16:40. Signed release on file.\",\n \"billing_address\": \"4180 Burnet Rd, Austin, TX 78756, US\",\n \"cancellation_policy_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"cancellation_policy_disclosure\": \"Shown at checkout and again in the booking confirmation email.\",\n \"customer_communication_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"customer_email_address\": \"marcus@shinetime.example\",\n \"customer_name\": \"Dana Whitfield\",\n \"documents\": [\n {\n \"document_type\": \"return_policy\",\n \"direct_upload_id\": \"<string>\",\n \"file\": \"<string>\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n }\n ],\n \"notes\": \"Two-day ceramic coating completed and collected. Before and after photos attached.\",\n \"product_description\": \"Two-stage paint correction with a three-year ceramic coating.\",\n \"refund_policy_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"refund_policy_disclosure\": \"Linked from the booking page and accepted at checkout.\",\n \"refund_refusal_explanation\": \"Work was completed and the vehicle collected, so the deposit is non-refundable.\",\n \"service_date\": \"2026-01-01\",\n \"uncategorized_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.whop.com/api/v1/disputes/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"evidence\": {\n \"access_activity_log\": \"Vehicle checked in 2026-01-04 09:02, released 2026-01-05 16:40. Signed release on file.\",\n \"billing_address\": \"4180 Burnet Rd, Austin, TX 78756, US\",\n \"cancellation_policy_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"cancellation_policy_disclosure\": \"Shown at checkout and again in the booking confirmation email.\",\n \"customer_communication_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"customer_email_address\": \"marcus@shinetime.example\",\n \"customer_name\": \"Dana Whitfield\",\n \"documents\": [\n {\n \"document_type\": \"return_policy\",\n \"direct_upload_id\": \"<string>\",\n \"file\": \"<string>\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n }\n ],\n \"notes\": \"Two-day ceramic coating completed and collected. Before and after photos attached.\",\n \"product_description\": \"Two-stage paint correction with a three-year ceramic coating.\",\n \"refund_policy_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"refund_policy_disclosure\": \"Linked from the booking page and accepted at checkout.\",\n \"refund_refusal_explanation\": \"Work was completed and the vehicle collected, so the deposit is non-refundable.\",\n \"service_date\": \"2026-01-01\",\n \"uncategorized_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"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",
"platform": false,
"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",
"platform": false,
"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",
"duration_seconds": null,
"filename": "customer-order-history.png",
"height": 100,
"id": "file_xxxxxxxxxxxxxx",
"object": "file",
"removed_by_moderation": false,
"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",
"waveform_url": null,
"width": 100,
"multipart_chunk_size": 123,
"multipart_upload_id": "<string>",
"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"
}
],
"upload_headers": {},
"upload_url": "<string>"
}
],
"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",
"platform": false,
"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",
"platform": false,
"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",
"evidence_submitted_at": null,
"fee": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"fee_charged": true,
"id": "dspt_xxxxxxxxxxxxxx",
"inquiry": false,
"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": [
{
"id": "li_xxxxxxxxxxxxxx",
"label": "Ceramic Coating Package",
"product_id": "prod_xxxxxxxxxxxxxx",
"product_title": "Ceramic Coating Package",
"quantity": 1,
"sku": null,
"subtotal": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"variant_id": "plan_xxxxxxxxxxxxxx",
"variant_title": "Ceramic Coating — Full Vehicle"
}
],
"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"
},
"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"
}
}
},
"installment_count": null,
"payment_method_type": "card"
},
"payment_method_type": "card",
"payment_processor": null
},
"product_id": "prod_xxxxxxxxxxxxxx",
"reason": "other",
"reason_code": "13.1",
"status": "needs_response",
"submission_failure_reason": null,
"updated_at": "2026-01-01T12:00:00.000Z",
"variant_id": "plan_xxxxxxxxxxxxxx"
}{
"error": {
"message": "account_id is required",
"type": "bad_request",
"code": "<string>"
}
}{
"error": {
"message": "account_id is required",
"type": "bad_request",
"code": "<string>"
}
}{
"error": {
"message": "account_id is required",
"type": "bad_request",
"code": "<string>"
}
}Update Dispute
Edits a dispute’s evidence while it is still editable. When the evidence is ready, send it to the payment processor with POST /disputes/:id/submit.
import { WhopClient } from "@whop/sdk";
const client = new WhopClient({ token: "YOUR_TOKEN", apiVersionDate: "2026-08-21-1", idempotencyKey: "YOUR_IDEMPOTENCY_KEY" });
await client.disputes.update({
id: "id"
});curl --request PATCH \
--url https://api.whop.com/api/v1/disputes/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"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": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"cancellation_policy_disclosure": "Shown at checkout and again in the booking confirmation email.",
"customer_communication_attachment": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"customer_email_address": "marcus@shinetime.example",
"customer_name": "Dana Whitfield",
"documents": [
{
"document_type": "return_policy",
"direct_upload_id": "<string>",
"file": "<string>",
"id": "file_xxxxxxxxxxxxxx"
}
],
"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": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"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": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
}
}
}
'import requests
url = "https://api.whop.com/api/v1/disputes/{id}"
payload = { "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": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"cancellation_policy_disclosure": "Shown at checkout and again in the booking confirmation email.",
"customer_communication_attachment": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"customer_email_address": "marcus@shinetime.example",
"customer_name": "Dana Whitfield",
"documents": [
{
"document_type": "return_policy",
"direct_upload_id": "<string>",
"file": "<string>",
"id": "file_xxxxxxxxxxxxxx"
}
],
"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": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
},
"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": {
"direct_upload_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "file_xxxxxxxxxxxxxx"
}
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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: {
direct_upload_id: 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
id: 'file_xxxxxxxxxxxxxx'
},
cancellation_policy_disclosure: 'Shown at checkout and again in the booking confirmation email.',
customer_communication_attachment: {
direct_upload_id: 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
id: 'file_xxxxxxxxxxxxxx'
},
customer_email_address: 'marcus@shinetime.example',
customer_name: 'Dana Whitfield',
documents: [
{
document_type: 'return_policy',
direct_upload_id: '<string>',
file: '<string>',
id: 'file_xxxxxxxxxxxxxx'
}
],
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: {
direct_upload_id: 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
id: 'file_xxxxxxxxxxxxxx'
},
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: {
direct_upload_id: 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
id: 'file_xxxxxxxxxxxxxx'
}
}
})
};
fetch('https://api.whop.com/api/v1/disputes/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.whop.com/api/v1/disputes/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'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' => [
'direct_upload_id' => 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'id' => 'file_xxxxxxxxxxxxxx'
],
'cancellation_policy_disclosure' => 'Shown at checkout and again in the booking confirmation email.',
'customer_communication_attachment' => [
'direct_upload_id' => 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'id' => 'file_xxxxxxxxxxxxxx'
],
'customer_email_address' => 'marcus@shinetime.example',
'customer_name' => 'Dana Whitfield',
'documents' => [
[
'document_type' => 'return_policy',
'direct_upload_id' => '<string>',
'file' => '<string>',
'id' => 'file_xxxxxxxxxxxxxx'
]
],
'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' => [
'direct_upload_id' => 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'id' => 'file_xxxxxxxxxxxxxx'
],
'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' => [
'direct_upload_id' => 'eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'id' => 'file_xxxxxxxxxxxxxx'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.whop.com/api/v1/disputes/{id}"
payload := strings.NewReader("{\n \"evidence\": {\n \"access_activity_log\": \"Vehicle checked in 2026-01-04 09:02, released 2026-01-05 16:40. Signed release on file.\",\n \"billing_address\": \"4180 Burnet Rd, Austin, TX 78756, US\",\n \"cancellation_policy_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"cancellation_policy_disclosure\": \"Shown at checkout and again in the booking confirmation email.\",\n \"customer_communication_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"customer_email_address\": \"marcus@shinetime.example\",\n \"customer_name\": \"Dana Whitfield\",\n \"documents\": [\n {\n \"document_type\": \"return_policy\",\n \"direct_upload_id\": \"<string>\",\n \"file\": \"<string>\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n }\n ],\n \"notes\": \"Two-day ceramic coating completed and collected. Before and after photos attached.\",\n \"product_description\": \"Two-stage paint correction with a three-year ceramic coating.\",\n \"refund_policy_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"refund_policy_disclosure\": \"Linked from the booking page and accepted at checkout.\",\n \"refund_refusal_explanation\": \"Work was completed and the vehicle collected, so the deposit is non-refundable.\",\n \"service_date\": \"2026-01-01\",\n \"uncategorized_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n }\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.whop.com/api/v1/disputes/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"evidence\": {\n \"access_activity_log\": \"Vehicle checked in 2026-01-04 09:02, released 2026-01-05 16:40. Signed release on file.\",\n \"billing_address\": \"4180 Burnet Rd, Austin, TX 78756, US\",\n \"cancellation_policy_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"cancellation_policy_disclosure\": \"Shown at checkout and again in the booking confirmation email.\",\n \"customer_communication_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"customer_email_address\": \"marcus@shinetime.example\",\n \"customer_name\": \"Dana Whitfield\",\n \"documents\": [\n {\n \"document_type\": \"return_policy\",\n \"direct_upload_id\": \"<string>\",\n \"file\": \"<string>\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n }\n ],\n \"notes\": \"Two-day ceramic coating completed and collected. Before and after photos attached.\",\n \"product_description\": \"Two-stage paint correction with a three-year ceramic coating.\",\n \"refund_policy_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"refund_policy_disclosure\": \"Linked from the booking page and accepted at checkout.\",\n \"refund_refusal_explanation\": \"Work was completed and the vehicle collected, so the deposit is non-refundable.\",\n \"service_date\": \"2026-01-01\",\n \"uncategorized_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.whop.com/api/v1/disputes/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"evidence\": {\n \"access_activity_log\": \"Vehicle checked in 2026-01-04 09:02, released 2026-01-05 16:40. Signed release on file.\",\n \"billing_address\": \"4180 Burnet Rd, Austin, TX 78756, US\",\n \"cancellation_policy_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"cancellation_policy_disclosure\": \"Shown at checkout and again in the booking confirmation email.\",\n \"customer_communication_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"customer_email_address\": \"marcus@shinetime.example\",\n \"customer_name\": \"Dana Whitfield\",\n \"documents\": [\n {\n \"document_type\": \"return_policy\",\n \"direct_upload_id\": \"<string>\",\n \"file\": \"<string>\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n }\n ],\n \"notes\": \"Two-day ceramic coating completed and collected. Before and after photos attached.\",\n \"product_description\": \"Two-stage paint correction with a three-year ceramic coating.\",\n \"refund_policy_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n },\n \"refund_policy_disclosure\": \"Linked from the booking page and accepted at checkout.\",\n \"refund_refusal_explanation\": \"Work was completed and the vehicle collected, so the deposit is non-refundable.\",\n \"service_date\": \"2026-01-01\",\n \"uncategorized_attachment\": {\n \"direct_upload_id\": \"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"id\": \"file_xxxxxxxxxxxxxx\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"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",
"platform": false,
"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",
"platform": false,
"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",
"duration_seconds": null,
"filename": "customer-order-history.png",
"height": 100,
"id": "file_xxxxxxxxxxxxxx",
"object": "file",
"removed_by_moderation": false,
"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",
"waveform_url": null,
"width": 100,
"multipart_chunk_size": 123,
"multipart_upload_id": "<string>",
"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"
}
],
"upload_headers": {},
"upload_url": "<string>"
}
],
"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",
"platform": false,
"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",
"platform": false,
"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",
"evidence_submitted_at": null,
"fee": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"fee_charged": true,
"id": "dspt_xxxxxxxxxxxxxx",
"inquiry": false,
"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": [
{
"id": "li_xxxxxxxxxxxxxx",
"label": "Ceramic Coating Package",
"product_id": "prod_xxxxxxxxxxxxxx",
"product_title": "Ceramic Coating Package",
"quantity": 1,
"sku": null,
"subtotal": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"variant_id": "plan_xxxxxxxxxxxxxx",
"variant_title": "Ceramic Coating — Full Vehicle"
}
],
"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"
},
"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"
}
}
},
"installment_count": null,
"payment_method_type": "card"
},
"payment_method_type": "card",
"payment_processor": null
},
"product_id": "prod_xxxxxxxxxxxxxx",
"reason": "other",
"reason_code": "13.1",
"status": "needs_response",
"submission_failure_reason": null,
"updated_at": "2026-01-01T12:00:00.000Z",
"variant_id": "plan_xxxxxxxxxxxxxx"
}{
"error": {
"message": "account_id is required",
"type": "bad_request",
"code": "<string>"
}
}{
"error": {
"message": "account_id is required",
"type": "bad_request",
"code": "<string>"
}
}{
"error": {
"message": "account_id is required",
"type": "bad_request",
"code": "<string>"
}
}Yetkilendirmeler
An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.
Gövde
Yanıt
dispute updated
Why the customer says they are disputing, normalized across processors and card networks. other covers a processor reason Whop has not categorized yet.
fraudulent, unrecognized, declined_authorization, product_not_received, product_unacceptable, subscription_canceled, credit_not_processed, duplicate, processing_error, documentation_request, bank_cannot_process, other "other"
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.
needs_response, warning_needs_response, under_review, warning_under_review, generating_response, won, lost, prevented, warning_closed "needs_response"
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.
null

