PaybytokenDocs
Payment Requests
API reference · Payment Requests

Reconcile Payment Requests

Detect aggregate drift and review confirmed funds that could not be allocated.

GET /api/v1/payment_requests/reconciliation

const report = await paybytoken.paymentRequests.reconciliation()
if (!report.reconciled) {
  alertOperations(report.mismatches)
}

The report compares persisted amount_paid and amount_remaining with immutable allocation sums. It reports drift but never auto-repairs financial data.

GET /api/v1/payment_request_payments

const review = await paybytoken.paymentRequests.listAllPayments({
  status: 'unapplied',
  limit: 25,
})

Review unapplied funds for overpayment, late payment, refund, or manual reconciliation. Do not mark a receivable paid merely because an on-chain transfer exists; use the allocation state and verified merchant events.

API Workbench

Full Explorer

Open in new tab