Vatly
Python SDK

Chargebacks

Read payment disputes and retain their financial snapshots for accounting.

Read payment disputes and retain their financial snapshots for accounting. Chargeback methods are read-only. Examples accept the client from setup.

from vatly import VatlyClient


def example(client: VatlyClient):
    chargeback = client.chargebacks.get("chargeback_example")
    all_disputes = list(client.chargebacks.list_all({"limit": 25}))
    order_disputes = list(client.orders.list_all_chargebacks("order_example"))
    scoped = client.orders.get_chargeback("order_example", "chargeback_example")
    return chargeback, all_disputes, order_disputes, scoped
InputMeaning
Chargeback IDchargeback_... from Vatly
Order IDRequired for the orders-scoped methods
limit, startingAfter, endingBeforeList size and exclusive pagination cursors
Response fieldMeaning
id, resourceIdentifier; resource is chargeback
original_order_idDisputed order
linesFinancial line snapshots
testmode, linksMode and resource links

order.chargeback_received and order.chargeback_reversed events contain a Chargeback object even though entityType is order. Inspect event.object.resource, not just the envelope's entity type. Verify the signature first.

Chargeback API reference · All methods

Copyright © 2026