This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i \ | |
-X POST \ | |
-H "Content-Type: application/json; charset=utf-8" \ | |
-H "X-POS-Version: 1.31.30" \ | |
-H "X-Locale: en" \ | |
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyNjU2LCJqdGkiOiI0MDFmZWM4ZTBkMTlhYmNmY2FhNDFlYjg2MWU2NTc3MSIsImlhdCI6MTc1OTIxMjk4MiwiZXhwIjoxNzY2NDcwNTgyfQ.7wQaS-UxGsyEQIfMHErtFhDoEjNKJspwmCtmZoaOAOY" \ | |
-H "Brand-UUID: c5b64515-011c-4059-a29f-96115e927afb" \ | |
-d "{customer_order_id: C1C20CC3263D61C2, payments_attributes: [{payment_method_id: 645, payment_method_brand_id: 2, amount_receive: 30695, change: 0, is_cash: false, note: , metadata: {}}], cashier_employee_id: 2656, device: {id: 19598, device_id: 6BB0A1B3-4FFF-4E11-8C3C-958C4F86A56E, device_name: iPad Air 11-inch (M3), initial: AO, is_server: true, number: 1}, updated_by_id: 2656, updated_by_name: Rasyadh Abdul Aziz, updated_by_role: Brand Owner, updated_at: 2025-09-30T18:52:26.430765, should_validate_payment: true, queue_number: 2, kds_queue_number: 1, price_detail: {sub_total: 30000.0, sub_total_before_tax: 30 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i \ | |
-X POST \ | |
-H "Content-Type: application/json; charset=utf-8" \ | |
-H "X-POS-Version: 1.31.30" \ | |
-H "X-Locale: en" \ | |
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyNjU2LCJqdGkiOiI0MDFmZWM4ZTBkMTlhYmNmY2FhNDFlYjg2MWU2NTc3MSIsImlhdCI6MTc1OTIxMjk4MiwiZXhwIjoxNzY2NDcwNTgyfQ.7wQaS-UxGsyEQIfMHErtFhDoEjNKJspwmCtmZoaOAOY" \ | |
-H "Brand-UUID: c5b64515-011c-4059-a29f-96115e927afb" \ | |
-d "{customer_order_id: 5F0FD31835DF3391, payments_attributes: [{payment_method_id: 645, payment_method_brand_id: 2, amount_receive: 9595, change: 0, is_cash: false, note: , metadata: {}}], cashier_employee_id: 2656, device: {id: 19598, device_id: 6BB0A1B3-4FFF-4E11-8C3C-958C4F86A56E, device_name: iPad Air 11-inch (M3), initial: AO, is_server: true, number: 1}, updated_by_id: 2656, updated_by_name: Rasyadh Abdul Aziz, updated_by_role: Brand Owner, updated_at: 2025-09-30T17:17:58.276853, should_validate_payment: true, queue_number: 2, kds_queue_number: 1, price_detail: {sub_total: 10000.0, sub_total_before_tax: 100 |