Skip to content

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

NorthechPay

Transactions

List and read the Moov transfers behind checkouts, refunds and payouts, and understand transfer status versus rail status.

A transaction is NorthechPay's copy of one Moov transfer that involves the merchant: a buyer's card payment coming in, or a payout going out. Moov is the system of record. NorthechPay keeps these copies current from Moov webhooks and scheduled re-reads.

Method Path Ability
GET /merchant/transactions transactions:read
GET /merchant/transactions/{id} transactions:read
POST /merchant/transactions/{id}/refunds transactions:read and refunds:write (see Refunds)

List transactions

curl -sS "$NORTHECHPAY_API_BASE/merchant/transactions?direction=incoming&status=completed&from=2026-11-01T00:00:00Z&to=2026-12-01T00:00:00Z" \
  -H "Authorization: Bearer $NORTHECHPAY_API_KEY" \
  -H "Accept: application/json"
const params = new URLSearchParams({
    direction: 'incoming',
    status: 'completed',
    from: '2026-11-01T00:00:00Z',
    to: '2026-12-01T00:00:00Z',
});
const response = await fetch(
    `${process.env.NORTHECHPAY_API_BASE}/merchant/transactions?${params}`,
    {
        headers: {
            Authorization: `Bearer ${process.env.NORTHECHPAY_API_KEY}`,
            Accept: 'application/json',
        },
    },
);
const { data, meta, links } = await response.json();
$page = Http::baseUrl(config('services.northechpay.api_base'))
    ->withToken(config('services.northechpay.api_key'))
    ->acceptJson()
    ->get('/merchant/transactions', [
        'direction' => 'incoming',
        'status' => 'completed',
        'from' => '2026-11-01T00:00:00Z',
        'to' => '2026-12-01T00:00:00Z',
    ])
    ->throw()
    ->json();
Query parameter Meaning
status Exact Moov transfer status, for example completed.
direction incoming (money into the merchant wallet) or outgoing.
search Exact id, moov_transfer_id, payment_link_code or card_last_four, or part of counterparty_name.
from Moov creation time on or after this date-time.
to Moov creation time before this date-time.
per_page 1 to 100. Default 25.
page Page number.

Results are newest first, by Moov creation time. The list has the standard data, links and meta pagination shape (see API reference).

Transaction fields

JSON
{
    "data": {
        "id": "01a2093b-77c1-7e0a-b5d2-0c1d2e3f4a5b",
        "object": "transaction",
        "moov_transfer_id": "3818d1c9-0000-0000-0000-00000000cba0",
        "direction": "incoming",
        "type": "card-payment",
        "status": "completed",
        "rail_status": "completed",
        "failure": null,
        "amount": {
            "amount": 2450,
            "currency": "USD",
            "decimal": "24.50",
            "formatted": "$24.50"
        },
        "refunded_amount": {
            "amount": 0,
            "currency": "USD",
            "decimal": "0.00",
            "formatted": "$0.00"
        },
        "disputed_amount": {
            "amount": 0,
            "currency": "USD",
            "decimal": "0.00",
            "formatted": "$0.00"
        },
        "payment_method": {
            "source_type": "card-payment",
            "destination_type": "moov-wallet",
            "card_brand": "Visa",
            "card_last_four": "1111",
            "bank_name": null,
            "bank_last_four": null
        },
        "counterparty_name": "…",
        "checkout_id": "01a20926-5b7e-7c2d-9f41-6e8d2c3b1421",
        "payout_id": null,
        "payment_link_code": "hSYJZTsTH9",
        "created_at": "2026-11-24T16:05:12+00:00",
        "completed_at": "2026-11-24T16:34:31+00:00",
        "last_synced_at": "2026-11-24T16:34:35+00:00"
    }
}
Field Meaning
id NorthechPay transaction ID (UUID). Use it in URLs.
moov_transfer_id Moov's transfer ID.
direction incoming or outgoing.
type Moov's transfer type, for example card-payment.
status Moov's transfer status. See below.
rail_status The card or bank rail's own status, for example card confirmed, settled, completed.
failure null, or { "reason", "code" } from Moov, for example do-not-honor.
amount The transfer amount.
refunded_amount How much Moov reports as refunded.
disputed_amount How much Moov reports as disputed.
payment_method Masked source and destination details. Never full card or account numbers.
checkout_id The checkout or payment link this payment belongs to, if any.
payout_id The payout this transfer belongs to, if any.
payment_link_code Moov's payment link code, if the payment came through a link.
created_at, completed_at Times reported by Moov.

checkout_id and payout_id are present on the list and single-transaction endpoints. Transactions nested inside a checkout do not repeat them.

Status versus rail status

status is the overall Moov transfer. rail_status is the network step underneath it.

status Meaning
created, pending, queued, awaiting-capture In flight. Not final.
completed Final. Money reached its destination.
failed Final. The payment failed or was declined.
canceled Final. The transfer was canceled.
reversed A completed transfer was reversed later.

For a card payment, rail_status of confirmed, settled or completed while status is still in flight means the card was approved and funds are settling. The checkout shows authorized. Only status: completed makes the checkout paid.

Statuses only move forward. A late or repeated update from Moov never moves a completed transfer back to pending. The only change after a final status is completed to reversed.

Errors

HTTP error.code Meaning
403 insufficient_scope The key lacks transactions:read.
404 not_found No transaction with that ID for this merchant.