# Online payments & reconciliation

Create gateway orders, verify callbacks and investigate payments that remain pending.

Category: Finance
Guide: https://avkul.in/docs/guides/module-payments/
Guided sample demo: https://avkul.in/docs/demo/module-payments/
Snapshot: 11 October 2026

## Features

- Payment orders
- Callback verification
- Pending payment review
- Reconciliation
- Gateway connection check

## Access and setup

Intended access: Assigned account with the required permissions
- An assigned school account with the required permissions.
- The academic, student or staff setup used by this workflow.

Permission keys: fee:view, fee:manage, fee:create

## Workflow

1. Review the invoice and provider readiness.
2. Create an order through the permitted checkout workflow.
3. Verify the gateway response before treating the invoice as paid.
4. Investigate a pending payment through reconciliation.

## Fields and controls

- abandon (boolean, optional)
- reason (string, optional)
- invoiceId (string, declared required)
- amount (number, optional)
- paymentId (string, declared required)
- razorpayPaymentId (string, optional)
- razorpaySignature (string, optional)

## Current limits

- External collection requires approved gateway credentials and verified callbacks. The public guided demo does not charge money.

## Actual application access

- https://avkul.in/en/school/payments

## API reference

- POST /api/v1/webhooks/payments/razorpay — Razorpay; Public/capability access
- GET /api/v1/payments/stuck — Payments left pending far longer than a checkout takes; fee:view
- POST /api/v1/payments/:id/reconcile — Ask the gateway what happened, and settle the payment; fee:manage
- GET /api/v1/payments/orders — List Orders; fee:view
- GET /api/v1/payments/test-connection — Test Connection; fee:view
- POST /api/v1/payments/orders — Create Order; fee:create
- POST /api/v1/payments/verify — Verify Payment; fee:create

## Demo access

No login is required for the guided sample demo. Its fictional records and actions stay in this browser tab; they do not modify ERP records or send messages/payments. An assigned account is required for the actual ERP links.

Source inventory checked on 11 October 2026. This source inventory is not a certification of every external provider or device flow.
