SDK reference · Node SDK

prov.authorize.chargebacks.disputeText

prov.authorize.chargebacks.disputeText in Node SDK. Slice 4: the text to paste into the dispute's evidence yourself (Shopify with read-only dispute access, or any form you fill by hand), naming the evidence pack whose PDF you can attach.

Signature

prov.authorize.chargebacks.disputeText(id: string): Promise<ChargebackDisputeText>

Parameters

idstringRequired

Request fields

idstringpathRequired
The chargeback's ID (chb_).

Returns

Promise<ChargebackDisputeText> The text to paste.

HTTP operation

GET /v1/authorize/chargebacks/{id}/dispute_text: Get the text to paste into a dispute

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/chargebacks/chb_01M7ZC4K2R8T5W1Y3B6D9F0H2J/dispute_text`, {
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.