settled

curl --location --request GET 'https://hypermart.eshopweb.store/api/seller/commissions/history?page=1&per_page=10' \
--header 'user-agent: Dart/3.9 (dart:io)' \
--header 'accept: application/json' \
--header 'accept-encoding: gzip' \
--header 'content-length: 0' \
--header 'authorization: Bearer 4239|wpskd64gBPRNeCA8fAigaOJMRctrt9m3FO4C1EvB9fba3d41' \
--header 'host: hypermart.eshopweb.store'

{"success":true,"message":"Settled commissions retrieved successfully","data":{"current_page":1,"last_page":11,"per_page":10,"total":106,"data":[{"id":189,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1067","description":"Seller earning for delivered Order Item #1067","order":{"order_id":852,"order_item_id":1067,"product_title":"Radha Govind 100% Pure California Almonds 500gm","variant_title":"Radha Govind 100% Pure California Almonds 500gm","store_name":"City Square Mart"},"amount":{"raw":2097,"formatted":"\u20b92,097.00"},"posted_at":"2026-02-26T10:21:07.000000Z","settled_at":"2026-02-27T15:26:57.000000Z","settlement_status":"settled"},{"id":188,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1065","description":"Seller earning for delivered Order Item #1065","order":{"order_id":850,"order_item_id":1065,"product_title":"Flyberry Gourmet Jumbo Medjoul (Medjool) Dates","variant_title":"1kg","store_name":"City Square Mart"},"amount":{"raw":2499,"formatted":"\u20b92,499.00"},"posted_at":"2026-02-26T09:37:59.000000Z","settled_at":"2026-02-27T15:26:57.000000Z","settlement_status":"settled"},{"id":187,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1064","description":"Seller earning for delivered Order Item #1064","order":{"order_id":849,"order_item_id":1064,"product_title":"Flyberry Gourmet Jumbo Medjoul (Medjool) Dates","variant_title":"1kg","store_name":"City Square Mart"},"amount":{"raw":2499,"formatted":"\u20b92,499.00"},"posted_at":"2026-02-25T11:38:56.000000Z","settled_at":"2026-02-27T15:26:57.000000Z","settlement_status":"settled"},{"id":186,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1051","description":"Seller earning for delivered Order Item #1051","order":{"order_id":836,"order_item_id":1051,"product_title":"test","variant_title":"test","store_name":"City Square Mart"},"amount":{"raw":21.6,"formatted":"\u20b921.60"},"posted_at":"2026-02-24T08:34:56.000000Z","settled_at":"2026-02-27T15:26:57.000000Z","settlement_status":"settled"},{"id":185,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1052","description":"Seller earning for delivered Order Item #1052","order":{"order_id":837,"order_item_id":1052,"product_title":"Flyberry Gourmet Jumbo Medjoul (Medjool) Dates","variant_title":"1kg","store_name":"City Square Mart"},"amount":{"raw":2499,"formatted":"\u20b92,499.00"},"posted_at":"2026-02-24T08:34:44.000000Z","settled_at":"2026-02-27T15:26:57.000000Z","settlement_status":"settled"},{"id":184,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1053","description":"Seller earning for delivered Order Item #1053","order":{"order_id":838,"order_item_id":1053,"product_title":"Flyberry Gourmet Jumbo Medjoul (Medjool) Dates","variant_title":"1kg","store_name":"City Square Mart"},"amount":{"raw":2499,"formatted":"\u20b92,499.00"},"posted_at":"2026-02-24T08:34:30.000000Z","settled_at":"2026-02-27T15:26:57.000000Z","settlement_status":"settled"},{"id":183,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1054","description":"Seller earning for delivered Order Item #1054","order":{"order_id":839,"order_item_id":1054,"product_title":"Flyberry Gourmet Jumbo Medjoul (Medjool) Dates","variant_title":"1kg","store_name":"City Square Mart"},"amount":{"raw":2499,"formatted":"\u20b92,499.00"},"posted_at":"2026-02-24T08:34:08.000000Z","settled_at":"2026-02-27T15:26:57.000000Z","settlement_status":"settled"},{"id":182,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1050","description":"Seller earning for delivered Order Item #1050","order":{"order_id":835,"order_item_id":1050,"product_title":"test","variant_title":"test","store_name":"City Square Mart"},"amount":{"raw":21.6,"formatted":"\u20b921.60"},"posted_at":"2026-02-24T08:32:58.000000Z","settled_at":"2026-02-27T15:26:57.000000Z","settlement_status":"settled"},{"id":181,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1049","description":"Seller earning for delivered Order Item #1049","order":{"order_id":834,"order_item_id":1049,"product_title":"test","variant_title":"test","store_name":"City Square Mart"},"amount":{"raw":21.6,"formatted":"\u20b921.60"},"posted_at":"2026-02-24T08:32:43.000000Z","settled_at":"2026-02-27T15:26:57.000000Z","settlement_status":"settled"},{"id":180,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1040","description":"Seller earning for delivered Order Item #1040","order":{"order_id":825,"order_item_id":1040,"product_title":"Formal-Shirt","variant_title":"Formal-Shirt","store_name":"City Square Mart"},"amount":{"raw":854.05,"formatted":"\u20b9854.05"},"posted_at":"2026-02-24T08:32:29.000000Z","settled_at":"2026-02-27T15:26:57.000000Z","settlement_status":"settled"}]}}


unsettled --> credit

curl --location --request GET 'https://hypermart.eshopweb.store/api/seller/commissions?page=1&per_page=10' \
--header 'user-agent: Dart/3.9 (dart:io)' \
--header 'accept: application/json' \
--header 'accept-encoding: gzip' \
--header 'content-length: 0' \
--header 'authorization: Bearer 4239|wpskd64gBPRNeCA8fAigaOJMRctrt9m3FO4C1EvB9fba3d41' \
--header 'host: hypermart.eshopweb.store'

{"success":true,"message":"Unsettled commissions retrieved successfully","data":{"current_page":1,"last_page":1,"per_page":10,"total":9,"data":[{"id":198,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1074","description":"Seller earning for delivered Order Item #1074","order":{"order_id":859,"order_item_id":1074,"product_title":"Venkys Samosa - Chicken, 200 g Pouch","variant_title":"Venkys Samosa - Chicken, 200 g Pouch","store_name":"Bhuj Bus St. store"},"amount":{"raw":269,"formatted":"\u20b9269.00"},"posted_at":"2026-03-06T09:17:04.000000Z","settlement_status":"pending"},{"id":197,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1075","description":"Seller earning for delivered Order Item #1075","order":{"order_id":860,"order_item_id":1075,"product_title":"Godrej Yummiez Cheese & Chicken Nuggets (Frozen)","variant_title":"Godrej Yummiez Cheese & Chicken Nuggets (Frozen)","store_name":"Bhuj Bus St. store"},"amount":{"raw":450,"formatted":"\u20b9450.00"},"posted_at":"2026-03-06T09:16:47.000000Z","settlement_status":"pending"},{"id":196,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1116","description":"Seller earning for delivered Order Item #1116","order":{"order_id":888,"order_item_id":1116,"product_title":"Formal-Shirt","variant_title":"Formal-Shirt","store_name":"City Square Mart"},"amount":{"raw":854.05,"formatted":"\u20b9854.05"},"posted_at":"2026-03-06T09:14:57.000000Z","settlement_status":"pending"},{"id":194,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1115","description":"Seller earning for delivered Order Item #1115","order":{"order_id":887,"order_item_id":1115,"product_title":"Formal-Shirt","variant_title":"Formal-Shirt","store_name":"City Square Mart"},"amount":{"raw":854.05,"formatted":"\u20b9854.05"},"posted_at":"2026-03-05T09:45:40.000000Z","settlement_status":"pending"},{"id":193,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1113","description":"Seller earning for delivered Order Item #1113","order":{"order_id":885,"order_item_id":1113,"product_title":"Godrej Yummiez Cheese & Chicken Nuggets (Frozen)","variant_title":"Godrej Yummiez Cheese & Chicken Nuggets (Frozen)","store_name":"Bhuj Bus St. store"},"amount":{"raw":450,"formatted":"\u20b9450.00"},"posted_at":"2026-03-05T09:41:33.000000Z","settlement_status":"pending"},{"id":192,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1108","description":"Seller earning for delivered Order Item #1108","order":{"order_id":880,"order_item_id":1108,"product_title":"Fortune India October 1st, 2025","variant_title":"Fortune India October 1st, 2025","store_name":"City Square Mart"},"amount":{"raw":249,"formatted":"\u20b9249.00"},"posted_at":"2026-03-05T09:06:36.000000Z","settlement_status":"pending"},{"id":191,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1107","description":"Seller earning for delivered Order Item #1107","order":{"order_id":880,"order_item_id":1107,"product_title":"Drools Absolute Dog Supplement Tablet, Skin + Coat 400g 110 Pieces Jar","variant_title":"Drools Absolute Dog Supplement Tablet, Skin + Coat 400g 110 Pieces Jar","store_name":"Bhuj Bus St. store"},"amount":{"raw":499,"formatted":"\u20b9499.00"},"posted_at":"2026-03-05T09:05:45.000000Z","settlement_status":"pending"},{"id":190,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"1106","description":"Seller earning for delivered Order Item #1106","order":{"order_id":879,"order_item_id":1106,"product_title":"Classic Pant","variant_title":"Blue","store_name":"City Square Mart"},"amount":{"raw":575.04,"formatted":"\u20b9575.04"},"posted_at":"2026-03-05T08:50:08.000000Z","settlement_status":"pending"},{"id":100,"entry_type":"credit","reference_type":"order_item_delivery","reference_id":"795","description":"Seller earning for delivered Order Item #795","order":{"order_id":603,"order_item_id":795,"product_title":"test","variant_title":"test","store_name":null},"amount":{"raw":29.52,"formatted":"\u20b929.52"},"posted_at":"2026-02-03T07:26:27.000000Z","settlement_status":"pending"}]}}

unsettled --> debit 

curl --location --request GET 'https://hypermart.eshopweb.store/api/seller/commissions/debits?page=1&per_page=10' \
--header 'user-agent: Dart/3.9 (dart:io)' \
--header 'accept: application/json' \
--header 'accept-encoding: gzip' \
--header 'content-length: 0' \
--header 'authorization: Bearer 4239|wpskd64gBPRNeCA8fAigaOJMRctrt9m3FO4C1EvB9fba3d41' \
--header 'host: hypermart.eshopweb.store'

response will be same as credit 