Appearance
Split Payout
payments.split_payout
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
payment_transaction | payment transaction | link → payments.payment_transaction | required |
settlement_account | settlement account | link → payments.settlement_account | required |
amount | amount | money | required; min 0 |
commission | commission | money | default 0; min 0 |
gateway_reference | gateway reference | text | max 80 characters |
status | status | select | one of: Pending, Done, Failed, Stopped; default "Pending" |
error | error | text | max 400 characters |
Unique together: payment_transaction + settlement_account
Permissions
| Role | Can |
|---|---|
payments:admin | read, create, update |
payments:finance | read, create, update |
payments:viewer | read |
API
http
GET /api/payments/split_payout?<field>=<value>&limit=100&offset=0
POST /api/payments/split_payout
GET /api/payments/split_payout/:id
PATCH /api/payments/split_payout/:id
DELETE /api/payments/split_payout/:id