Skip to content

NorthechPay runs in Moov test mode. No real money moves yet.

NorthechPay

Disputes

Read card disputes mirrored from Moov, upload text or file evidence, and submit it once before the Moov deadline.

A dispute (chargeback) starts when a cardholder asks their bank to reverse a card payment. Moov opens it and takes the disputed amount from the merchant wallet at once. NorthechPay mirrors the dispute from Moov and lets you respond before Moov's deadline. NorthechPay does not decide the outcome. It comes from the card network, through Moov.

Method Path Ability
GET /merchant/disputes disputes:read
GET /merchant/disputes/{id} disputes:read
POST /merchant/disputes/{id}/refresh disputes:read
GET /merchant/disputes/{id}/evidence disputes:read
POST /merchant/disputes/{id}/evidence disputes:read and disputes:respond
DELETE /merchant/disputes/{id}/evidence/{evidence_id} disputes:read and disputes:respond
POST /merchant/disputes/{id}/submit disputes:read and disputes:respond
POST /merchant/disputes/{id}/accept disputes:read and disputes:accept (signed-in owners and admins only)

{id} is the NorthechPay dispute id, not moov_dispute_id.

Note: API keys cannot accept liability. disputes:accept cannot be granted to an API key. Accepting is done by an owner or admin in the dashboard.

Find disputes

GET /merchant/disputes lists disputes with those waiting for a response first, then by the earliest deadline.

Query parameter Meaning
status Exact status, for example response-needed.
per_page 1 to 100. Default 25.
page Page number.

You also get a dispute.updated webhook when a dispute opens and each time Moov changes its status, and a checkout.disputed webhook on the checkout.

Dispute fields

JSON
{
    "data": {
        "id": "01a20a11-3c4d-7e5f-8a9b-0c1d2e3f4a5b",
        "object": "dispute",
        "moov_dispute_id": "…",
        "status": "response-needed",
        "status_label": "Response needed",
        "phase": "chargeback",
        "amount": {
            "amount": 2450,
            "currency": "USD",
            "decimal": "24.50",
            "formatted": "$24.50"
        },
        "reason": { "code": "…", "description": "…" },
        "respond_by": "2026-12-01T23:59:59+00:00",
        "open_for_response": true,
        "evidence_submitted_at": null,
        "accepted_at": null,
        "transaction_id": "01a2093b-77c1-7e0a-b5d2-0c1d2e3f4a5b",
        "checkout": {
            "id": "01a20926-5b7e-7c2d-9f41-6e8d2c3b1421",
            "title": "Order #1001",
            "merchant_reference": "ORDER-1001"
        },
        "moov_transfer_id": "…",
        "created_at": "2026-11-24T18:00:00+00:00",
        "last_synced_at": "2026-11-24T18:00:05+00:00"
    }
}
Field Meaning
status See Statuses.
phase Moov's dispute phase, for example chargeback.
reason The card network's reason code and description.
respond_by Moov's deadline.
open_for_response true only while the status is response-needed, the deadline has not passed, and nothing was submitted or accepted.
transaction_id, checkout The disputed payment. Present on list, read and action responses. Not included in dispute.updated webhook payloads.

Respond to a dispute

You can respond once, only while open_for_response is true.

  1. Add one or more pieces of evidence. They are drafts until you submit.
  2. Review them with GET …/evidence. Remove mistakes with DELETE …/evidence/{evidence_id}.
  3. Submit everything with POST …/submit and {"confirmation": "SUBMIT"}. This is final.

Or, instead of contesting, an owner or admin accepts liability in the dashboard. That is also final, and Moov keeps the debit.

Add evidence

Each request adds one item: either text or a file, never both.

Field Rules
evidence_type Required. One of receipt, proof-of-delivery, cancelation-policy, terms-of-service, customer-communication, generic-evidence, cover-letter, other.
text Up to 750 characters. JSON or form field.
file Multipart upload. PDF, JPEG or TIFF, checked by content, with a .pdf, .jpg, .jpeg, .tif or .tiff name, up to 4 MB. The file name is shortened to 16 characters, which is what Moov accepts.

Files go straight to Moov. NorthechPay does not store or log evidence content. Do not include card numbers or more personal data than the case needs.

curl -sS -X POST "$NORTHECHPAY_API_BASE/merchant/disputes/01a20a11-3c4d-7e5f-8a9b-0c1d2e3f4a5b/evidence" \
  -H "Authorization: Bearer $NORTHECHPAY_API_KEY" \
  -H "Accept: application/json" \
  -F "evidence_type=proof-of-delivery" \
  -F "[email protected];type=application/pdf"
import { readFile } from 'node:fs/promises';

const form = new FormData();
form.append('evidence_type', 'proof-of-delivery');
form.append(
    'file',
    new Blob([await readFile('delivery.pdf')], { type: 'application/pdf' }),
    'delivery.pdf',
);

const response = await fetch(
    `${process.env.NORTHECHPAY_API_BASE}/merchant/disputes/${disputeId}/evidence`,
    {
        method: 'POST',
        headers: {
            Authorization: `Bearer ${process.env.NORTHECHPAY_API_KEY}`,
            Accept: 'application/json',
        },
        body: form,
    },
);
const { data: evidence } = await response.json();
$evidence = Http::baseUrl(config('services.northechpay.api_base'))
    ->withToken(config('services.northechpay.api_key'))
    ->acceptJson()
    ->attach('file', file_get_contents('delivery.pdf'), 'delivery.pdf', ['Content-Type' => 'application/pdf'])
    ->post("/merchant/disputes/{$disputeId}/evidence", ['evidence_type' => 'proof-of-delivery'])
    ->throw()
    ->json('data');

Text evidence is a JSON body:

cURL
curl -sS -X POST "$NORTHECHPAY_API_BASE/merchant/disputes/01a20a11-3c4d-7e5f-8a9b-0c1d2e3f4a5b/evidence" \
  -H "Authorization: Bearer $NORTHECHPAY_API_KEY" \
  -H "Accept: application/json" -H "Content-Type: application/json" \
  -d '{"evidence_type":"customer-communication","text":"The buyer confirmed delivery by email on 2026-11-20."}'

The response is 201 with the evidence item:

JSON
{
    "data": {
        "id": "…",
        "type": "proof-of-delivery",
        "kind": "file",
        "text": null,
        "filename": "delivery.pdf",
        "mime_type": "application/pdf",
        "size": 48213,
        "created_at": "2026-11-24T18:10:00+00:00",
        "submitted_at": null
    }
}

Submit

curl -sS -X POST "$NORTHECHPAY_API_BASE/merchant/disputes/01a20a11-3c4d-7e5f-8a9b-0c1d2e3f4a5b/submit" \
  -H "Authorization: Bearer $NORTHECHPAY_API_KEY" \
  -H "Accept: application/json" -H "Content-Type: application/json" \
  -d '{"confirmation":"SUBMIT"}'
const response = await fetch(
    `${process.env.NORTHECHPAY_API_BASE}/merchant/disputes/${disputeId}/submit`,
    {
        method: 'POST',
        headers: {
            Authorization: `Bearer ${process.env.NORTHECHPAY_API_KEY}`,
            Accept: 'application/json',
            'Content-Type': 'application/json',
        },
        body: JSON.stringify({ confirmation: 'SUBMIT' }),
    },
);
$dispute = Http::baseUrl(config('services.northechpay.api_base'))
    ->withToken(config('services.northechpay.api_key'))
    ->acceptJson()
    ->post("/merchant/disputes/{$disputeId}/submit", ['confirmation' => 'SUBMIT'])
    ->throw()
    ->json('data');

Before submitting, NorthechPay re-reads the dispute from Moov and locks it, so a double click cannot submit twice. The response is the dispute, usually under-review. Submitting does not guarantee a win. Moov reports the outcome later as a dispute.updated webhook.

Errors

HTTP error.code Meaning
403 insufficient_scope The key lacks disputes:respond (or disputes:accept).
409 dispute_not_open Already submitted or accepted, past respond_by, or Moov is not waiting for a response.
409 dispute_action_in_progress Another submit or accept for this dispute is running. Wait and re-read.
422 evidence_required Submit was called with no evidence uploaded.
422 validation_failed Wrong confirmation word, bad evidence_type, file type or size.
422 provider_validation_failed Moov rejected the evidence.
429 rate_limited More than 20 evidence or submit actions per minute.

Good practice

  • Respond early. Do not wait for the last day before respond_by.
  • Do not refund a disputed payment. It is blocked, and a refund would not cancel the chargeback.
  • Keep receipts, delivery confirmations and buyer messages for every order, so evidence is ready.
  • Test the flow with Moov's dispute trigger values from the test mode page.