Skip to main content
POST
Raise a dispute/query on one of the customer's own invoices
Portal endpoints authenticate via the portal_session cookie issued by magic-link verification — not a Bearer API key. State-changing portal calls must additionally echo the portal_csrf cookie’s value in the X-CSRF-Token header (double-submit CSRF).
Opens a dispute on the given invoice. The invoice must belong to the authenticated portal customer, otherwise a 404 is returned (existence is not leaked). At most one open dispute exists per invoice: re-raising updates the reason of the existing open dispute.

Path Parameters

Request body

Example Request

Response

List the customer’s existing disputes with List Customer Disputes.

Authorizations

portal_session
string
cookie
required

Customer-portal session cookie issued by GET /portal/auth/verify.

Path Parameters

id
string<uuid>
required

Invoice ID.

Body

application/json
reason
string
required
Example:

"I was charged twice for this invoice."

Response

The open dispute.

data
object

A customer-raised dispute/query against one of their invoices.