Skip to content

API ​

All endpoints are on the university's own address, e.g. https://<university>.<platform domain>, and need a logged-in user. Each call only returns and changes what the user's roles allow (roles).

EntityEndpoint
Gateway Refund/api/payments/gateway_refund
Payment Link/api/payments/payment_link
Payment Order/api/payments/payment_order
Payment/api/payments/payment_transaction
Settlement (Payout)/api/payments/settlement
Settlement Account/api/payments/settlement_account
Split Payout/api/payments/split_payout

Events ​

DirectionEvent
emitspayments.payment.received
emitspayments.payment.failed
emitspayments.refund.completed
emitspayments.settlement.received

Settings ​

Each university sets these from its admin screen.

SettingTypeDefaultLabel
providerselect"CCAvenue"Payment gateway
testModecheckfalseUse the gateway's test environment
splitSettlementchecktrueSplit each payment to college settlement accounts
defaultSettlementAccounttext""Settlement account code used when none is given
orderLookupAfterMinutesnumber30Check an unfinished order with the gateway after (minutes)
orderLookupMaxAttemptsnumber5Times to check an unfinished order before marking it failed
orderExpiryMinutesnumber60Minutes before an unpaid order expires
payerReceiptEmailcheckfalseEmail the payer a payment confirmation
offlinePaymentschecktrueAllow finance staff to record offline payments
currencyselect"INR"Currency

Edulab Bench developer documentation