Hanzo AI

Create dispute

Records that the caller's org disputes one payment it is party to — for the org's admins.

POST /v1/event/economic/dispute

Addresshttps://api.hanzo.ai/v1/event/economic/dispute
MethodPOST
Operationpost_event_economic_dispute
AuthAuthorization: Bearer $HANZO_API_KEY

Records that the caller's org disputes one payment it is party to — for the org's admins. A dispute is a record both parties read beside the payment, and it changes nothing about it: the amount, the parties and the tax year stay as the rail stated them, because only the rail that moved the money restates a payment.

Request

2 fields, body application/json (required).

FieldInTypeRequiredDescription
eventbodystringyesEvent is the id of the economic event disputed.
reasonbodystringyesReason is what the caller's org says is wrong, at most 1024 characters.

Response

StatusBodyMeaning
200event.EconomicDisputeok
defaultproblem-detailsrefused

200 body — 4 fields.

FieldInTypeAlwaysDescription
atbodyinteger (int64)—At is when the dispute was filed, unix seconds.
bybodystring—By is the org that disputes it: one of the event's two parties.
eventbodystring—Event is the id of the event disputed.
reasonbodystring—Reason is what the party says is wrong.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Event API · All Hanzo APIs · Interactive reference

How is this guide?

On this page