SDK reference · Node SDK
prov.authorize.chargebacks
prov.authorize.chargebacks in the Node SDK: 6 methods. The authorize.chargebacks methods.
Methods
list
prov.authorize.chargebacks.list(params?: ListChargebacksParams): Promise<ListResponse<Chargeback>>Newest first.
Calls GET /v1/authorize/chargebacks.
get
prov.authorize.chargebacks.get(id: string): Promise<Chargeback>Calls GET /v1/authorize/chargebacks/{id}.
respond
prov.authorize.chargebacks.respond(id: string): Promise<Chargeback>Merge and submit the response staged on Stripe now (one submission only; 409 unless one is staged).
Calls POST /v1/authorize/chargebacks/{id}/respond.
dismiss
prov.authorize.chargebacks.dismiss(id: string): Promise<Chargeback>Stage nothing more on this dispute (Provenance never accepts or closes one).
Calls POST /v1/authorize/chargebacks/{id}/dismiss.
disputeText
prov.authorize.chargebacks.disputeText(id: string): Promise<ChargebackDisputeText>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.
Calls GET /v1/authorize/chargebacks/{id}/dispute_text.
references
prov.authorize.chargebacks.references(id: string, references: ChargebackReference[]): Promise<Chargeback>Your own references for a customer-reason dispute (at most 10); a staged response is staged again with them.
Calls POST /v1/authorize/chargebacks/{id}/references.