RetailerPayment
Kind: Object
Money received from a retailer.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
id |
ID! |
|
number |
String! |
Receipt number. Minted only once approved. |
amountPaise |
Int! |
|
method |
RetailerPaymentMethod! |
|
gateway |
String |
Which gateway took this payment — razorpay, cashfree… Null for cash, UPI handed to staff, bank transfer and TDS credit, which no gateway took. A snapshot written when the payment was created, never re-read from today’s setting: a receipt names the provider that took it, not the one in use now. |
status |
RetailerPaymentStatus! |
|
receivedAt |
DateTime! |
When the money actually changed hands. |
declaredAt |
DateTime! |
|
approvedAt |
DateTime |
|
rejectReason |
String! |
|
reversalReason |
String! |
|
depositedAt |
DateTime |
Cash collected but not yet banked shows null here. |
note |
String! |
|
reference |
String! |
UTR / transaction reference given at declaration, so a payment can be matched to a bank statement later. |
declaredAgeHours |
Int! |
How long this has been waiting for approval. |
dealerId |
ID! |
The dealer this receipt is against. |
allocations |
[RetailerPaymentAllocation!]! |
Which statements this money was set against. |
dealerName |
String! |