PayWay Integration | DualEntry
PayWay
Overview
A settlement deposit arrives in the bank as one net number, and someone has to work backwards from it: which invoices does this cover, how much of it was processing fees, and which of last week's refunds is buried inside it. PayWay handles the card processing. DualEntry handles the accounts receivable. The connector in between does the matching.
The connector reads authorized, captured and settled transactions from PayWay — transaction ID, amount, currency, timestamp, payment method and the customer or order reference — and splits the gross amount from the processing fee before anything posts. It then matches each payment to an open AR invoice using the order or invoice reference as the primary key, with amount-and-date matching as a fallback. Matched payments are applied to the invoice and it is marked paid or partially paid; the fee posts to your configured fee account; the net cash lands against your bank or clearing account; and transactions are grouped into settlement batches so the grouping matches the deposit on your bank statement.
Flow is inbound only. PayWay is the source of truth for what was charged, refunded and settled, and nothing is written back to the gateway from DualEntry. DualEntry is the source of truth for the AR ledger — which invoices are open, what they are worth, and how cash is applied against them. Unmatched and mismatched payments are held rather than posted, so a payment never silently applies to the wrong invoice.
Data synced
The integration syncs the following data types:
Settled Payments
- Authorized, captured and settled PayWay transactions are retrieved with transaction ID, amount, currency, timestamp, payment method and the customer or order reference.
- Each settled payment posts to DualEntry as a customer payment applied to the matched AR invoice at the gross amount.
- The invoice is marked paid when the gross amount clears the balance, or partially paid when it does not.
- The PayWay transaction ID is carried into DualEntry as the payment reference and external ID.
Payment to Invoice Matching
- The PayWay order or invoice reference is the primary match key against the DualEntry AR invoice.
- Where no reference is present, the connector falls back to amount-and-date matching.
- The PayWay customer reference resolves to the DualEntry customer record on the payment.
Processing Fees
- The connector splits the gross transaction amount from the PayWay processing fee before either side posts.
- The processing fee posts as a fee or expense entry to the fee account you map during configuration.
Refunds and Chargebacks
- Refunds and chargebacks raised in PayWay are captured by the connector and posted into DualEntry as credit or reversal entries.
Settlement Batches and Deposits
- The connector groups PayWay transactions into settlement batches so the deposit grouping in DualEntry matches the payout on your bank statement.
Exceptions and Held Payments
- A payment that cannot be matched to an open invoice raises a no-matching-invoice exception and is held for review rather than posted.
Key Features
- Payments matched to invoices, not dumped in a batch
- Fees split from cash before posting
- Cash applied automatically
- Settlement batches that tie to the bank
- Refunds and chargebacks reversed against the original
- Held queue instead of wrong postings
- Near real-time or on your schedule
- Delivered and maintained by APIWorx
FAQ
Is this integration handled by third parties?
Yes. The PayWay connection is delivered by APIWorx, a managed integration platform that sits between PayWay and DualEntry.
How does integrating DualEntry with PayWay help my business?
It removes the manual work of turning gateway activity into applied cash. Settled payments are matched to your open AR invoices and applied automatically.
Does data flow back from DualEntry to PayWay?
No. The flow is inbound only: PayWay to DualEntry, with no reverse sync.
How does the connector decide which invoice a payment belongs to?
The primary match key is the order or invoice reference carried on the PayWay transaction, matched against your open AR invoices.
How often does the integration sync?
Transactions sync near real time on PayWay webhook events where those are available.