Appearance
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.
| Field | Label | Type | Rules |
|---|---|---|---|
payment_transaction | payment transaction | link → payments.payment_transaction | required |
requested_by_module | requested by module | text | max 40 characters |
reference | reference | text | max 80 characters |
amount | amount | money | required; min 1 |
reason | reason | text | max 400 characters |
status | status | select | one of: Requested, Submitted, Done, Failed; default "Requested" |
gateway_reference | gateway reference | text | max 80 characters |
error | error | text | max 400 characters |
approved_by | approved by | link → core.user |
Permissions
| Role | Can |
|---|---|
payments:admin | read, create, update |
payments:finance | read, create, update |
payments:viewer | read |
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