POS payments
Sale payments: cash (with the amount received and the change) or card. Filter with filter[sale_id].
Module: POS (pos).
Endpoints
Section titled “Endpoints”GET /api/v1/pos_payments- List with filters, sorting and pagination (scopepos:read)GET /api/v1/pos_payments/{id}- A record by id (scopepos:read)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).sale_id(string, uuid; read)method(string; read)amount(number; read)tendered(number; read)change_given(number; read)reference(string; read)created_at(string, date-time; read): Creation date (ISO 8601).
Events
Section titled “Events”pos_payments.createdpos_payments.updatedpos_payments.deleted