View as Markdown

Authorize · API reference

Chargebacks

Disputes on your connected Stripe account, answered with your approval record: matched to one of your decisions, staged at once and submitted before the deadline, with the outcome.

Related guide: Chargeback responses

The chargeback object

Attributes

idstringRequired
Unique identifier for the object (chb_).
objectenumRequired
The type of object. One of chargeback.
platformenumRequired
The payment platform. One of stripe, shopify.
payment_connection_idstringRequired
The connection the dispute came through.
platform_dispute_idstringRequired
The platform's dispute ID (du_… on Stripe).
platform_urlstring | null
The dispute in the platform's dashboard.
platform_statusstring
The platform's own status, for example needs_response or under_review.
case_typestring
chargeback or inquiry (a compliance case is never answered).
reasonstring
The platform's reason, for example fraudulent.
reason_familyenum
fraud (fraud and unrecognized), consumer (the customer reasons) or other. One of fraud, consumer, other.
network_reason_codestring | null
The card network's reason code, as the platform reports it.
amountintegerRequired
The disputed amount, in the currency's minor units.
currencystringRequired
Three-letter currency code, lowercase.
due_bytimestamp | null
The response deadline.
stateenumRequired
What Provenance did. staged: our evidence is on the dispute, not yet sent. staged_text_only: text only (the file slot was taken, or the page limit). submitted: Provenance sent the response. merchant_submitted: you or Smart Disputes sent it. failed with a next_action is retrying. One of received, not_eligible, unmatched, matched, staged, staged_text_only, submitted, merchant_submitted, failed, missed, dismissed.
state_reasonstring | null
Why, for not_eligible, unmatched, failed, missed and merchant_submitted.
response_modeenum
auto: Provenance submits before the deadline. review: staged for you to submit. stage_only: staged, and the platform sends it (Stripe Smart Disputes, or Shopify on the due date). paste: Shopify with read-only dispute access; nothing is written, and you paste the text from GET /v1/authorize/chargebacks/{id}/dispute_text into the dispute in the Shopify admin. One of auto, review, stage_only, paste.
review_reasonstring | null
Why a dispute went to review: setting, standing_permission (no passkey approval of this exact order), not_me_reported; or smart_disputes.
smart_disputesboolean
Whether Stripe Smart Disputes handles this dispute.
checkout_approval_idstring | null
The cart approval the dispute matched, if any.
assessment_idstring | null
The checkout assessment the dispute matched, if any.
matched_bystring | null
How the dispute found the decision: a metadata key, payment_reference or the order ID.
not_me_reported_attimestamp | null
When the person reported the order as not recognized.
referencesarray of objects
Your references, at most 10.
evidenceobject | null
What Provenance wrote on the dispute; null before anything was staged.
Show child attributes
fieldsarray of strings
The evidence fields Provenance wrote (its text goes after yours).
text_sha256string | null
sha256 of the text Provenance wrote.
pdf_sha256string | null
sha256 of the PDF Provenance uploaded, when it uploaded one.
pdf_pagesinteger | null
The PDF's page count (at most 3).
platform_file_idstring | null
The platform's ID for the uploaded PDF.
evidence_pack_idstring | null
The evidence pack behind the response (exp_), kept until 120 days after the outcome.
evidence_pack_urlstring | null
Download the evidence pack (the account's key or console session).
staged_attimestamp | null
When Provenance first staged its evidence.
submitted_attimestamp | null
When the response was sent.
submitted_byenum
Who sent the response. One of provenance, merchant, smart_disputes, platform.
evidence_includedboolean | null
At the outcome: whether Provenance's evidence was part of the response the platform sent.
next_actionenum
What Provenance does next: retry, submit at the lead time, or remind you. One of retry, submit, remind.
next_action_attimestamp | null
When the next action runs.
last_error_codestring | null
The platform's error code on a failure (never its message).
outcomeenum
How the dispute closed. One of won, lost, accepted, closed.
outcome_attimestamp | null
When the outcome arrived.
success_feeobject | null
On a win: 10% of the amount won when Provenance's evidence was part of the response.
Show child attributes
amountinteger | null
The amount, in the currency's minor units.
currencystring
Three-letter currency code, lowercase.
statusenum
The status. One of billed, not_answered, not_billed_currency, not_billed_plan, not_billed_unconfigured, not_billed_guaranteed.
rate_pctnumber
The success fee's rate, in percent.
created_attimestampRequired
When the object was created.
updated_attimestampRequired
When the object last changed.

The chargeback object

{
  "object": "chargeback",
  "id": "chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J",
  "platform": "stripe",
  "payment_connection_id": "pyc_01M7ZC3V8N2Q5S7U9W1Y3A5C7E",
  "platform_dispute_id": "du_1QxYz1Hq2vN8xK4t",
  "platform_url": "https://dashboard.stripe.com/test/disputes/du_1QxYz1Hq2vN8xK4t",
  "platform_status": "needs_response",
  "case_type": "chargeback",
  "reason": "fraudulent",
  "reason_family": "fraud",
  "network_reason_code": "10.4",
  "amount": 4250,
  "currency": "usd",
  "due_by": "2026-12-01T23:59:59.000Z",
  "state": "staged",
  "state_reason": null,
  "response_mode": "auto",
  "review_reason": null,
  "smart_disputes": false,
  "checkout_approval_id": "coap_01M7V7QYS8H2SM4X31ME688ZWN",
  "assessment_id": "cas_01M7V7QYS1A2B3C4D5E6F7G8H9",
  "matched_by": "metadata.provenance_checkout_approval",
  "not_me_reported_at": null,
  "references": [],
  "evidence": {
    "fields": [
      "uncategorized_text",
      "access_activity_log",
      "uncategorized_file"
    ],
    "text_sha256": "3b5e8f1c0a9d7e6b4c2a1f0e9d8c7b6a5f4e3d2c1b0a9f8e7d6c5b4a3f2e1d0c",
    "pdf_sha256": "9f2c4e6a8b0d1f3e5a7c9b1d3f5e7a9c1b3d5f7e9a1c3b5d7f9e1a3c5b7d9f1e",
    "pdf_pages": 2,
    "platform_file_id": "file_1QxYz3Hq2vN8xK4t",
    "evidence_pack_id": "exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S",
    "evidence_pack_url": "/v1/exports/exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S/download",
    "staged_at": "2026-11-21T16:02:11.204Z",
    "submitted_at": null,
    "submitted_by": null,
    "evidence_included": null
  },
  "next_action": "submit",
  "next_action_at": "2026-11-29T23:59:59.000Z",
  "last_error_code": null,
  "outcome": null,
  "outcome_at": null,
  "success_fee": null,
  "created_at": "2026-11-21T16:02:10.881Z",
  "updated_at": "2026-11-21T16:02:11.204Z"
}

Events

Sent to your webhook endpoints when they subscribe:

  • authorize.chargeback.received
  • authorize.chargeback.responded
  • authorize.chargeback.failed
  • authorize.chargeback.closed

Add your references to a chargeback

POST/v1/authorize/chargebacks/{id}/references

Your own references for a customer-reason dispute (not received, not as described): tracking, a delivery photo note, a login or a note, at most 10. They are labelled as yours on the PDF's last page, and a staged response is staged again with them.

Parameters

idstringpathRequired
The chargeback's ID (chb_).
referencesarray of objectsRequired
Your references, at most 10.
Show child attributes
kindenumRequired
What the reference is. One of tracking, delivery_photo, login, note.
valuestringRequired
The reference itself, as you hold it.

Returns

The chargeback. See the chargeback object.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X POST "$PROVENANCE_API/v1/authorize/chargebacks/chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J/references" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "references": [
      {
        "kind": "tracking",
        "value": "1Z999AA10123456784"
      }
    ]
  }'

Response 200

{
  "object": "chargeback",
  "id": "chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J",
  "platform": "stripe",
  "payment_connection_id": "pyc_01M7ZC3V8N2Q5S7U9W1Y3A5C7E",
  "platform_dispute_id": "du_1QxYz1Hq2vN8xK4t",
  "platform_url": "https://dashboard.stripe.com/test/disputes/du_1QxYz1Hq2vN8xK4t",
  "platform_status": "needs_response",
  "case_type": "chargeback",
  "reason": "product_not_received",
  "reason_family": "consumer",
  "network_reason_code": "13.1",
  "amount": 4250,
  "currency": "usd",
  "due_by": "2026-12-01T23:59:59.000Z",
  "state": "staged",
  "state_reason": null,
  "response_mode": "auto",
  "review_reason": null,
  "smart_disputes": false,
  "checkout_approval_id": "coap_01M7V7QYS8H2SM4X31ME688ZWN",
  "assessment_id": "cas_01M7V7QYS1A2B3C4D5E6F7G8H9",
  "matched_by": "metadata.provenance_checkout_approval",
  "not_me_reported_at": null,
  "references": [
    {
      "kind": "tracking",
      "value": "1Z999AA10123456784"
    }
  ],
  "evidence": {
    "fields": [
      "uncategorized_text",
      "uncategorized_file"
    ],
    "text_sha256": "3b5e8f1c0a9d7e6b4c2a1f0e9d8c7b6a5f4e3d2c1b0a9f8e7d6c5b4a3f2e1d0c",
    "pdf_sha256": "9f2c4e6a8b0d1f3e5a7c9b1d3f5e7a9c1b3d5f7e9a1c3b5d7f9e1a3c5b7d9f1e",
    "pdf_pages": 3,
    "platform_file_id": "file_1QxYz3Hq2vN8xK4t",
    "evidence_pack_id": "exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S",
    "evidence_pack_url": "/v1/exports/exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S/download",
    "staged_at": "2026-11-21T16:02:11.204Z",
    "submitted_at": null,
    "submitted_by": null,
    "evidence_included": null
  },
  "next_action": "submit",
  "next_action_at": "2026-11-29T23:59:59.000Z",
  "last_error_code": null,
  "outcome": null,
  "outcome_at": null,
  "success_fee": null,
  "created_at": "2026-11-21T16:02:10.881Z",
  "updated_at": "2026-11-21T16:12:00.640Z"
}

Retrieve a chargeback

GET/v1/authorize/chargebacks/{id}

Returns one chargeback: the platform's status, reason, amount and deadline; the decision it matched and how; what Provenance wrote (field names, hashes and the evidence pack, never the text itself); and the outcome with any success fee.

Parameters

idstringpathRequired
The chargeback's ID (chb_).

Returns

The chargeback. See the chargeback object.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl "$PROVENANCE_API/v1/authorize/chargebacks/chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "chargeback",
  "id": "chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J",
  "platform": "stripe",
  "payment_connection_id": "pyc_01M7ZC3V8N2Q5S7U9W1Y3A5C7E",
  "platform_dispute_id": "du_1QxYz1Hq2vN8xK4t",
  "platform_url": "https://dashboard.stripe.com/test/disputes/du_1QxYz1Hq2vN8xK4t",
  "platform_status": "needs_response",
  "case_type": "chargeback",
  "reason": "fraudulent",
  "reason_family": "fraud",
  "network_reason_code": "10.4",
  "amount": 4250,
  "currency": "usd",
  "due_by": "2026-12-01T23:59:59.000Z",
  "state": "staged",
  "state_reason": null,
  "response_mode": "auto",
  "review_reason": null,
  "smart_disputes": false,
  "checkout_approval_id": "coap_01M7V7QYS8H2SM4X31ME688ZWN",
  "assessment_id": "cas_01M7V7QYS1A2B3C4D5E6F7G8H9",
  "matched_by": "metadata.provenance_checkout_approval",
  "not_me_reported_at": null,
  "references": [],
  "evidence": {
    "fields": [
      "uncategorized_text",
      "access_activity_log",
      "uncategorized_file"
    ],
    "text_sha256": "3b5e8f1c0a9d7e6b4c2a1f0e9d8c7b6a5f4e3d2c1b0a9f8e7d6c5b4a3f2e1d0c",
    "pdf_sha256": "9f2c4e6a8b0d1f3e5a7c9b1d3f5e7a9c1b3d5f7e9a1c3b5d7f9e1a3c5b7d9f1e",
    "pdf_pages": 2,
    "platform_file_id": "file_1QxYz3Hq2vN8xK4t",
    "evidence_pack_id": "exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S",
    "evidence_pack_url": "/v1/exports/exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S/download",
    "staged_at": "2026-11-21T16:02:11.204Z",
    "submitted_at": null,
    "submitted_by": null,
    "evidence_included": null
  },
  "next_action": "submit",
  "next_action_at": "2026-11-29T23:59:59.000Z",
  "last_error_code": null,
  "outcome": null,
  "outcome_at": null,
  "success_fee": null,
  "created_at": "2026-11-21T16:02:10.881Z",
  "updated_at": "2026-11-21T16:02:11.204Z"
}

Get the text to paste into a dispute

GET/v1/authorize/chargebacks/{id}/dispute_text

The paragraph and dated activity log Provenance writes into a dispute's evidence, for a chargeback matched to one of your decisions, to paste into the platform's dispute form yourself (Shopify with read-only dispute access, response_mode: paste). Names the evidence pack whose PDF you can attach. Free. 409 chargeback_state_invalid when nothing matched.

Parameters

idstringpathRequired
The chargeback's ID (chb_).

Returns

The text to paste.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl "$PROVENANCE_API/v1/authorize/chargebacks/chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J/dispute_text" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "chargeback_dispute_text",
  "chargeback_id": "chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J",
  "platform": "shopify",
  "uncategorized_text": "Provenance approval record: Before this order was placed, a person approved this exact cart (order 5301, USD 42.50, store https://saltmarsh.example) with a passkey and user verification at 2026-11-20T15:02:11.204Z. The signed receipt and how to check it are in the attached PDF and in evidence pack exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S; the receipt can be checked at https://api.provenanceauth.com/v1/verify without a key.",
  "access_activity_log": "Provenance approval record (UTC):\n2026-11-20T15:01:40.118Z cart bound (coap_01M7V7QYS8H2SM4X31ME688ZWN, binding 3b5e8f1c0a9d7e6b...)\n2026-11-20T15:01:40.118Z approval asked\n2026-11-20T15:02:11.204Z passkey approval with user verification (coap_01M7V7QYS8H2SM4X31ME688ZWN)",
  "evidence_pack_id": "exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S",
  "evidence_pack_url": "/v1/exports/exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S/download"
}

Get the Chargeback protection summary

GET/v1/authorize/chargeback_protection

Returns whether your account has a Chargeback protection program, the protection limit used over the last 180 days of the limit, the month, how many orders are on each tab and how many disputes had proof sent. An account with no program gets on: false and zeros. Read only; it states your records, not the program's terms. Pro and above.

Parameters

No parameters.

Returns

The summary.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl "$PROVENANCE_API/v1/authorize/chargeback_protection" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "chargeback_protection",
  "on": false,
  "program_ids": [],
  "month": "2026-12",
  "window_days": 180,
  "protection_used": 0,
  "protection_limit": 0,
  "currency": "usd",
  "counts": {
    "protected": 0,
    "disputed": 0,
    "not_protected": 5
  },
  "proof": {
    "sent": 0,
    "disputes": 0
  }
}

List chargebacks

GET/v1/authorize/chargebacks

Returns the disputes on your connected payment accounts, newest first, with what Provenance did about each: matched to one of your decisions, staged or submitted, or why not. Filter by state, platform, outcome or since. Pro and above.

Parameters

stateenumquery
Only chargebacks in this state. One of received, not_eligible, unmatched, matched, staged, staged_text_only, submitted, merchant_submitted, failed, missed, dismissed.
platformenumquery
Only this platform's. One of stripe, shopify.
outcomeenumquery
Only chargebacks closed with this outcome. One of won, lost, accepted, closed.
sincetimestampquery
Only chargebacks received at or after this time.
sortenumquery
The order of the list: due, amount, created, with - in front for descending. Newest first when omitted. A chargeback with no due date sorts last. A next_cursor carries its order; pass it back with the same sort. One of due, -due, amount, -amount, created, -created.
limitintegerquery
Page size, 1–100 (default 20). Outside the range → 400 parameter_invalid.
cursorstringquery
Opaque; pass a response's next_cursor back to get the next page.

Returns

A page of chargebacks.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl "$PROVENANCE_API/v1/authorize/chargebacks?state=staged" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "list",
  "data": [
    {
      "object": "chargeback",
      "id": "chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J",
      "platform": "stripe",
      "payment_connection_id": "pyc_01M7ZC3V8N2Q5S7U9W1Y3A5C7E",
      "platform_dispute_id": "du_1QxYz1Hq2vN8xK4t",
      "platform_url": "https://dashboard.stripe.com/test/disputes/du_1QxYz1Hq2vN8xK4t",
      "platform_status": "needs_response",
      "case_type": "chargeback",
      "reason": "fraudulent",
      "reason_family": "fraud",
      "network_reason_code": "10.4",
      "amount": 4250,
      "currency": "usd",
      "due_by": "2026-12-01T23:59:59.000Z",
      "state": "staged",
      "state_reason": null,
      "response_mode": "auto",
      "review_reason": null,
      "smart_disputes": false,
      "checkout_approval_id": "coap_01M7V7QYS8H2SM4X31ME688ZWN",
      "assessment_id": "cas_01M7V7QYS1A2B3C4D5E6F7G8H9",
      "matched_by": "metadata.provenance_checkout_approval",
      "not_me_reported_at": null,
      "references": [],
      "evidence": {
        "fields": [
          "uncategorized_text",
          "access_activity_log",
          "uncategorized_file"
        ],
        "text_sha256": "3b5e8f1c0a9d7e6b4c2a1f0e9d8c7b6a5f4e3d2c1b0a9f8e7d6c5b4a3f2e1d0c",
        "pdf_sha256": "9f2c4e6a8b0d1f3e5a7c9b1d3f5e7a9c1b3d5f7e9a1c3b5d7f9e1a3c5b7d9f1e",
        "pdf_pages": 2,
        "platform_file_id": "file_1QxYz3Hq2vN8xK4t",
        "evidence_pack_id": "exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S",
        "evidence_pack_url": "/v1/exports/exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S/download",
        "staged_at": "2026-11-21T16:02:11.204Z",
        "submitted_at": null,
        "submitted_by": null,
        "evidence_included": null
      },
      "next_action": "submit",
      "next_action_at": "2026-11-29T23:59:59.000Z",
      "last_error_code": null,
      "outcome": null,
      "outcome_at": null,
      "success_fee": null,
      "created_at": "2026-11-21T16:02:10.881Z",
      "updated_at": "2026-11-21T16:02:11.204Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}

List one Chargeback protection tab

GET/v1/authorize/chargeback_protection/orders

Returns one tab of the Chargeback protection view, decided within the last 180 days, newest first: protected, disputed (whatever the protection) or not_protected (with the reason). Each order carries its status, why, and its trail. With no program, not_protected lists the account's orders that would not qualify (program_id null). Pro and above.

Parameters

tabenumquery
The tab. One of protected, disputed, not_protected.
limitintegerquery
Page size, 1–100 (default 20). Outside the range → 400 parameter_invalid.
cursorstringquery
Opaque; pass a response's next_cursor back to get the next page.

Returns

A page of orders.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl "$PROVENANCE_API/v1/authorize/chargeback_protection/orders?tab=disputed" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "list",
  "data": [],
  "has_more": false,
  "next_cursor": null
}

Send a chargeback response now

POST/v1/authorize/chargebacks/{id}/respond

Merges your latest evidence with ours and submits the response staged on Stripe now, for example one waiting for your review. A response can be sent only once; answers 409 chargeback_state_invalid unless a response is staged and not yet sent.

Parameters

idstringpathRequired
The chargeback's ID (chb_).

Returns

The chargeback. See the chargeback object.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X POST "$PROVENANCE_API/v1/authorize/chargebacks/chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J/respond" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "chargeback",
  "id": "chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J",
  "platform": "stripe",
  "payment_connection_id": "pyc_01M7ZC3V8N2Q5S7U9W1Y3A5C7E",
  "platform_dispute_id": "du_1QxYz1Hq2vN8xK4t",
  "platform_url": "https://dashboard.stripe.com/test/disputes/du_1QxYz1Hq2vN8xK4t",
  "platform_status": "needs_response",
  "case_type": "chargeback",
  "reason": "fraudulent",
  "reason_family": "fraud",
  "network_reason_code": "10.4",
  "amount": 4250,
  "currency": "usd",
  "due_by": "2026-12-01T23:59:59.000Z",
  "state": "submitted",
  "state_reason": null,
  "response_mode": "auto",
  "review_reason": null,
  "smart_disputes": false,
  "checkout_approval_id": "coap_01M7V7QYS8H2SM4X31ME688ZWN",
  "assessment_id": "cas_01M7V7QYS1A2B3C4D5E6F7G8H9",
  "matched_by": "metadata.provenance_checkout_approval",
  "not_me_reported_at": null,
  "references": [],
  "evidence": {
    "fields": [
      "uncategorized_text",
      "access_activity_log",
      "uncategorized_file"
    ],
    "text_sha256": "3b5e8f1c0a9d7e6b4c2a1f0e9d8c7b6a5f4e3d2c1b0a9f8e7d6c5b4a3f2e1d0c",
    "pdf_sha256": "9f2c4e6a8b0d1f3e5a7c9b1d3f5e7a9c1b3d5f7e9a1c3b5d7f9e1a3c5b7d9f1e",
    "pdf_pages": 2,
    "platform_file_id": "file_1QxYz3Hq2vN8xK4t",
    "evidence_pack_id": "exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S",
    "evidence_pack_url": "/v1/exports/exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S/download",
    "staged_at": "2026-11-21T16:02:11.204Z",
    "submitted_at": "2026-11-21T16:30:05.002Z",
    "submitted_by": "provenance",
    "evidence_included": null
  },
  "next_action": null,
  "next_action_at": null,
  "last_error_code": null,
  "outcome": null,
  "outcome_at": null,
  "success_fee": null,
  "created_at": "2026-11-21T16:02:10.881Z",
  "updated_at": "2026-11-21T16:30:05.002Z"
}

Dismiss a chargeback

POST/v1/authorize/chargebacks/{id}/dismiss

Provenance stages nothing more on this dispute. What is already staged stays on the platform until you change it there; Provenance never accepts or closes a dispute.

Parameters

idstringpathRequired
The chargeback's ID (chb_).

Returns

The chargeback. See the chargeback object.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X POST "$PROVENANCE_API/v1/authorize/chargebacks/chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J/dismiss" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "chargeback",
  "id": "chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J",
  "platform": "stripe",
  "payment_connection_id": "pyc_01M7ZC3V8N2Q5S7U9W1Y3A5C7E",
  "platform_dispute_id": "du_1QxYz1Hq2vN8xK4t",
  "platform_url": "https://dashboard.stripe.com/test/disputes/du_1QxYz1Hq2vN8xK4t",
  "platform_status": "needs_response",
  "case_type": "chargeback",
  "reason": "fraudulent",
  "reason_family": "fraud",
  "network_reason_code": "10.4",
  "amount": 4250,
  "currency": "usd",
  "due_by": "2026-12-01T23:59:59.000Z",
  "state": "dismissed",
  "state_reason": "chargeback_dismissed",
  "response_mode": "auto",
  "review_reason": null,
  "smart_disputes": false,
  "checkout_approval_id": "coap_01M7V7QYS8H2SM4X31ME688ZWN",
  "assessment_id": "cas_01M7V7QYS1A2B3C4D5E6F7G8H9",
  "matched_by": "metadata.provenance_checkout_approval",
  "not_me_reported_at": null,
  "references": [],
  "evidence": {
    "fields": [
      "uncategorized_text",
      "access_activity_log",
      "uncategorized_file"
    ],
    "text_sha256": "3b5e8f1c0a9d7e6b4c2a1f0e9d8c7b6a5f4e3d2c1b0a9f8e7d6c5b4a3f2e1d0c",
    "pdf_sha256": "9f2c4e6a8b0d1f3e5a7c9b1d3f5e7a9c1b3d5f7e9a1c3b5d7f9e1a3c5b7d9f1e",
    "pdf_pages": 2,
    "platform_file_id": "file_1QxYz3Hq2vN8xK4t",
    "evidence_pack_id": "exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S",
    "evidence_pack_url": "/v1/exports/exp_01M7ZC4K3A5C7E9G1J3L5N7Q9S/download",
    "staged_at": "2026-11-21T16:02:11.204Z",
    "submitted_at": null,
    "submitted_by": null,
    "evidence_included": null
  },
  "next_action": null,
  "next_action_at": null,
  "last_error_code": null,
  "outcome": null,
  "outcome_at": null,
  "success_fee": null,
  "created_at": "2026-11-21T16:02:10.881Z",
  "updated_at": "2026-11-21T16:31:40.118Z"
}

Respond to or dismiss several chargebacks

POST/v1/authorize/chargeback_batches

Runs one action on up to 100 chargebacks: respond sends a response staged on Stripe now, and dismiss stops Provenance preparing one. Each ID answers on its own, so a response that can't be sent does not stop the ones that can; a sent response can't be changed. The permission and plan are the single routes' (Pro and above).

Parameters

actionenumRequired
What to do with each chargeback. One of respond, dismiss.
idsarray of stringsRequired
The chargebacks' IDs (chb_).

Returns

One answer per ID.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X POST "$PROVENANCE_API/v1/authorize/chargeback_batches" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action": "respond",
    "ids": [
      "chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J",
      "chb_01M7ZC4K9P3V6X8Z0B2D4F6H8K"
    ]
  }'

Response 200

{
  "object": "chargeback_batch",
  "succeeded": 1,
  "failed": 1,
  "results": [
    {
      "id": "chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J",
      "status": "ok",
      "state": "submitted"
    },
    {
      "id": "chb_01M7ZC4K9P3V6X8Z0B2D4F6H8K",
      "status": "failed",
      "error": {
        "type": "invalid_request_error",
        "code": "chargeback_state_invalid",
        "message": "This chargeback is submitted, so there is nothing to respond to."
      }
    }
  ]
}

Was this page helpful? Send us feedback

LLM? Read llms.txt.