Skip to content

Gateway Refund ​

payments.gateway_refund · every change is kept in the audit log · numbered GRF-{YYYY}-{#####}

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
payment_transactionpayment transactionlink → payments.payment_transactionrequired
requested_by_modulerequested by moduletextmax 40 characters
referencereferencetextmax 80 characters
amountamountmoneyrequired; min 1
reasonreasontextmax 400 characters
statusstatusselectone of: Requested, Submitted, Done, Failed; default "Requested"
gateway_referencegateway referencetextmax 80 characters
errorerrortextmax 400 characters
approved_byapproved bylink → core.user

Permissions ​

RoleCan
payments:adminread, create, update
payments:financeread, create, update
payments:viewerread

API ​

http
GET    /api/payments/gateway_refund?<field>=<value>&limit=100&offset=0
POST   /api/payments/gateway_refund
GET    /api/payments/gateway_refund/:id
PATCH  /api/payments/gateway_refund/:id
DELETE /api/payments/gateway_refund/:id

Edulab Bench developer documentation