Disputes
The chargebacks a customer's bank opened against a payment of an order, as the payment provider reports them: the amount, the provider's reason, when the evidence is due and how the dispute ended. Read only: the shop answers a dispute at the provider's dashboard, and one lost takes its amount back from the order as a CHARGEBACK.
List disputes
Lists the order's disputes — the chargebacks its payments met at the payment provider, the oldest first, closed ones too — all of them in one page by default: an order holds at most 20. Neither filters nor sorts. The provider reports a dispute and every move of it; the shop answers it in the provider's dashboard (provider_uri).
path Parameters
website_idId of the parent website.
order_idId of the parent order.
query Parameters
page_sizeRows per page. Over the maximum is clamped, not rejected.
page_tokenOpaque token from a previous next_page_token. A token minted under a different order_by/filter is rejected.
skipRows to skip before the page (AIP-158). skip + page_size is capped at 10000; beyond that is OUT_OF_RANGE.
order_byComma-separated field [asc|desc], at most 3 keys. Default: create_time desc. Sortable: none — this collection serves its documented order only.
filterAIP-160 subset (§8). Filterable: none. A field outside the list is INVALID_ARGUMENT.
List disputes › Responses
One page of disputes.
This page of disputes, in the requested order.
next_page_tokenOpaque. Absent or empty means this was the last page.
total_sizeRows in the whole filtered collection, not in this page.
Get dispute
A dispute of a payment of an order: the customer's bank disputing a payment the order took at its payment provider — a chargeback. The provider reports it, and every move of it, to the platform: a new one is recorded open and the shop is sent the order_dispute_opened_owner email; one lost takes its amount back, a CHARGEBACK of the order's transactions. A payment the provider takes back naming no dispute, of a payment nothing disputes yet, is recorded as a dispute LOST at once, reason REVERSED, with its CHARGEBACK; the CHARGEBACKs of one payment never take back more than it was. The shop answers a dispute in the provider's dashboard (provider_uri); here it is read only, and never deleted. An order holds at most 20; listed the oldest first.
path Parameters
website_idId of the parent website.
order_idId of the parent order.
dispute_idId of the parent dispute.
Headers
If-None-MatchA matching etag answers 304 with no body (§16).
Get dispute › Responses
The resource.
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
providerThe payment provider the disputed payment was made at — the id of one of the website's payment_providers.
provider_refThe dispute's id at the provider: what its dashboard finds it by — of a payment the provider took back naming no dispute, the id it gives what took it back.
transaction_idThe payment disputed: the id of a SALE or a CAPTURE of the order's transactions.
statusWhere the dispute is, as the provider reports it: NEEDS_RESPONSE — the customer's bank waits for the shop's evidence, due by respond_by_time; UNDER_REVIEW — the evidence is with the bank; WON — closed for the shop, no money moved; LOST — closed for the customer: the provider took the amount back, a CHARGEBACK of the order's transactions. WON and LOST move no more.
amountThe amount disputed, a google.type.Money in the order's currency — what the shop loses should the dispute be lost.
reasonWhy the customer's bank disputes the payment, in the provider's own code, at most 100 characters; empty when it named none. REVERSED is the platform's own: the provider took the payment back naming no dispute — recorded LOST at once.
respond_by_timeWhen the shop's evidence is due at the provider; absent when the provider named no date. A dispute left unanswered by then is lost.
provider_uriThe page of the provider's dashboard that shows the dispute — where the shop answers it — where the provider has one.
close_timeWhen the dispute closed, WON or LOST; absent before.