1. Transaction
POS Toko Kue
  • Physical Transfer
    • List Physical Transfer
      GET
    • Show
      GET
    • Create
      POST
    • Update Status Transfer
      POST
    • Delete
      DELETE
    • Update
      PUT
  • Supplier
    • Get All
      GET
    • Get By Id
      GET
    • Create
      POST
    • Update
      PUT
    • Delete
      DELETE
  • Cash Book
    • Get By ID
      GET
    • Get All
      GET
    • Create
      POST
    • Update
      POST
    • Delete
      DELETE
    • Get Widget
      GET
    • Update Balance
      POST
    • Cash Book sync
      POST
  • Return
    • Export
      • Return Export
    • CREATE
    • Get
    • Get by id
    • Return sync
  • Receipt
    • Export
      • Receipt Export
    • GET
    • GET By ID
    • Create
    • Receipt sync
  • Auth
    • Login
    • Forgot Password
    • New Password
    • Change Password
    • Verify Otp
    • Logout
    • Refresh Token
    • Profile
    • Edit Profile
  • Stock Opname
    • Approve Stock Opname
    • Get
    • Create
    • Get By ID
    • UPDATE
    • DELETE
    • StockOpname Sync
    • Export Stock Opname
  • Store
    • GET
    • Switch Store
    • Activation
    • Activate
    • New Otp
    • Show
    • Profile
    • Delete
    • Update
    • Destroy
  • Product
    • List product
    • Detail
    • Create
    • Update
    • Delete
    • Get Product Batch
    • Get Product Stock History
    • Get Expire soon product
    • Get Low Stock Product
    • [Dev only] Get Product Stock History
    • [Dev Only] Create dummy product batch
    • [Dev Only] Delete product that doesn't have detail
    • [DEV Only]Sync product stock
  • Role
    • List
  • Catalog
    • Material
      • Store
      • Destroy
    • List
    • Destroy
    • Show
    • Update
    • Store
  • Member
    • Export
    • List
    • Destroy
    • Show
    • Store
    • Update
  • Employee
    • List
    • Destroy
    • Show
    • Store
    • Update
  • Discount
    • List
    • Show
    • Store
    • Update
    • Delete
  • Store Payment
    • List
    • Store
    • Update
  • Store Additional Information
    • My Store Additional Information
    • Update
  • Package
    • List
    • Show
    • Store
    • Update
    • Destroy
  • Reference
    • Get All Province
    • Get All City
    • Get All District
    • Get All Village
    • Bank
  • Settings
    • Application
  • Transaction
    • Evidence
      • Store
    • Widget Transaction
      GET
    • Transaction sync
      POST
    • Create Transaction
      POST
    • Get Transaction
      GET
    • Detail Transaction
      GET
    • Delete
      DELETE
  • Report
    • Export
      • Export History Transaction
      • Export Sales Report
    • Consignment
      • Widget Consignment Load
      • Get Consignment Suppliers
      • Get Detail Consignment Supplier
      • Export Consignment Supplier
      • Suppliers-Pay
      • Get Widget Detail
    • Sales report
    • Sales item report
    • Most selling report
    • Cash flow report
    • Widget Dashboard
  • Customer Service
    • New Request
  • Stock Adjustment
    • Get All
    • Create
    • Get By ID
    • Delete
    • Update
  • Stock Reconciliation
    • GET
  • Category
    • Get
  • Send Payment Receipt
    POST
  • Change request
    POST
  • Change confirm
    POST
  1. Transaction

Get Transaction

Develop Env
http://localhost:8000
Develop Env
http://localhost:8000
GET
/api/v1/transaction

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:8000/api/v1/transaction?page=1&per_page=100' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "current_page": 1,
    "data": [
        {
            "id": 17,
            "store_id": 100,
            "member_id": 2,
            "invoice_id": 18,
            "subtotal": "100000.00",
            "discount": "28000.00",
            "additional_fee": "5000.00",
            "total": "77000.00",
            "status": "PENDING",
            "created_by": 3,
            "updated_by": 3,
            "created_at": "2024-12-23T08:51:20.000000Z",
            "updated_at": "2024-12-23T08:51:20.000000Z",
            "invoice": {
                "id": 18,
                "invoice_number": "INV-20241223-000001",
                "date": "2024-12-23 13:51:00",
                "created_by": 3,
                "updated_by": 3,
                "created_at": "2024-12-23T08:51:20.000000Z",
                "updated_at": "2024-12-23T08:51:20.000000Z"
            },
            "store": {
                "id": 100,
                "name": "CHRISTINE NATALIA SUGIARTO  Store",
                "avatar_url": "",
                "email": "xtine25.c@gmail.com ",
                "phone": "6285730316700",
                "address": "Jl. Gatak No.4, Brajan, T",
                "is_willing_to_accept_po": 1,
                "monthly_revenue": "135000000.00",
                "longitude": "110.32836205",
                "latitude": "-7.81618673",
                "approval_status": "APPROVED",
                "has_interior_status": "PENDING",
                "has_location_status": "PENDING",
                "interior_photo_url": "",
                "photo_url": [
                    "https://bgskin.arkatama.id/public/uploads/store/store0_220114093535.jpeg"
                ],
                "color": "E3007F",
                "is_active": "1",
                "inserted_at": null,
                "created_by": null,
                "updated_by": null,
                "created_at": "2024-12-18T03:39:40.000000Z",
                "updated_at": "2024-12-18T03:40:06.000000Z",
                "deleted_by": null,
                "deleted_at": null
            },
            "member": {
                "id": 2,
                "name": "Nicky Erlangga",
                "email": "nickyerlanggas@gmail.com",
                "phone": "6281234563456",
                "address": "Jalan Jakarta No.56 Jatimulyo, Lowokwaru, Malang",
                "photo_url": "http://192.168.20.19:8001/storage/member/lMEpl9gVkans12lvc0sRGkhk80TvPNdE38LJ2M0F.png",
                "is_active": "0",
                "created_by": 3,
                "updated_by": 3,
                "created_at": "2024-12-20T03:39:25.000000Z",
                "updated_at": "2024-12-20T03:39:25.000000Z"
            },
            "transaction_payment": {
                "id": 16,
                "transaction_id": 17,
                "bank_id": null,
                "store_payments_id": 1,
                "detail": {
                    "id": 1,
                    "store_id": 100,
                    "bank_id": 2,
                    "name": "Mandiri",
                    "description": "Contoh deskripsi",
                    "type": "TRANSFER",
                    "account_name": "Test",
                    "account_number": 123,
                    "photo_url": null,
                    "is_active": "1",
                    "deleted_at": null,
                    "created_by": 3,
                    "updated_by": 3,
                    "created_at": "2024-12-23T06:52:14.000000Z",
                    "updated_at": "2024-12-23T06:52:14.000000Z"
                },
                "name": "Mandiri",
                "type": "TRANSFER",
                "payment_nominal": "100000.00",
                "change": "23000.00",
                "created_by": 3,
                "updated_by": 3,
                "created_at": "2024-12-23T08:51:20.000000Z",
                "updated_at": "2024-12-23T08:51:20.000000Z"
            },
            "transaction_details": [
                {
                    "id": 7,
                    "product_id": 24,
                    "transaction_id": 17,
                    "detail": {
                        "id": 24,
                        "original_product_id": 31,
                        "stock": 50,
                        "minimum_stock": 2,
                        "description": "Deskripsi okee",
                        "price_sell": "100000.00",
                        "price_buy": "80000.00",
                        "is_active": 1,
                        "created_by": 3,
                        "updated_by": 3,
                        "created_at": "2024-12-18T03:54:26.000000Z",
                        "updated_at": "2024-12-23T06:54:35.000000Z",
                        "detail": {
                            "id_produk": 31,
                            "kode_barcode": "BARCODE031",
                            "nama_produk": "SUNCARE EMULTION ",
                            "jenis_paket": null,
                            "gambar_produk": [
                                "https://bgskin.arkatama.id/public/uploads/produk/produk0_220607083537.jpeg"
                            ],
                            "is_active": "1",
                            "soft_delete": "1",
                            "inserted_time": "2022-06-07 08:35:37",
                            "last_modified_time": null,
                            "last_modified_by": 0,
                            "is_paket": "0",
                            "created_by": 1,
                            "created_at": "2024-01-08T06:41:54.000000Z",
                            "updated_by": null,
                            "updated_at": null,
                            "poin": 0
                        }
                    },
                    "type": "PCS",
                    "name": "SUNCARE EMULTION ",
                    "image_url": "[\"https:\\/\\/bgskin.arkatama.id\\/public\\/uploads\\/produk\\/produk0_220607083537.jpeg\"]",
                    "quantity": 1,
                    "price": "100000.00",
                    "created_at": "2024-12-23T08:51:20.000000Z",
                    "updated_at": "2024-12-23T08:51:20.000000Z",
                    "created_by": 3,
                    "updated_by": 3
                }
            ],
            "transaction_discounts": [
                {
                    "id": 3,
                    "discount_id": 2,
                    "transaction_id": 17,
                    "detail": {
                        "id": 2,
                        "name": "Diskon 12.12",
                        "description": "Diskon 12.12 Terbaik",
                        "type": "PERCENTAGE",
                        "category": "PRODUCT",
                        "value": "10.00",
                        "is_active": "1",
                        "created_by": 3,
                        "updated_by": 3,
                        "created_at": "2024-12-23T06:56:16.000000Z",
                        "updated_at": "2024-12-23T06:56:16.000000Z"
                    },
                    "type": "PERCENTAGE",
                    "value": "10.00",
                    "nominal": "90000.00",
                    "created_at": "2024-12-23T08:51:20.000000Z",
                    "updated_at": "2024-12-23T08:51:20.000000Z",
                    "created_by": 3,
                    "updated_by": 3
                },
                {
                    "id": 4,
                    "discount_id": 3,
                    "transaction_id": 17,
                    "detail": {
                        "id": 3,
                        "name": "Mega Sale 20%",
                        "description": "Mega Sale 20% Terbaik",
                        "type": "PERCENTAGE",
                        "category": "PRODUCT",
                        "value": "20.00",
                        "is_active": "1",
                        "created_by": 3,
                        "updated_by": 3,
                        "created_at": "2024-12-23T07:01:05.000000Z",
                        "updated_at": "2024-12-23T07:01:05.000000Z"
                    },
                    "type": "PERCENTAGE",
                    "value": "20.00",
                    "nominal": "80000.00",
                    "created_at": "2024-12-23T08:51:20.000000Z",
                    "updated_at": "2024-12-23T08:51:20.000000Z",
                    "created_by": 3,
                    "updated_by": 3
                }
            ],
            "transaction_additional_fees": [
                {
                    "id": 2,
                    "transaction_id": 17,
                    "name": "Ongkir",
                    "type": "NOMINAL",
                    "value": "0.00",
                    "nominal": "5000.00",
                    "created_at": "2024-12-23T08:51:20.000000Z",
                    "updated_at": "2024-12-23T08:51:20.000000Z",
                    "created_by": 3,
                    "updated_by": 3
                }
            ],
            "evidence": null
        }
    ],
    "first_page_url": "http://192.168.20.19:8001/api/v1/transaction?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "http://192.168.20.19:8001/api/v1/transaction?page=1",
    "links": [
        {
            "url": null,
            "label": "&laquo; Sebelumnya",
            "active": false
        },
        {
            "url": "http://192.168.20.19:8001/api/v1/transaction?page=1",
            "label": "1",
            "active": true
        },
        {
            "url": null,
            "label": "Selanjutnya &raquo;",
            "active": false
        }
    ],
    "next_page_url": null,
    "path": "http://192.168.20.19:8001/api/v1/transaction",
    "per_page": 10,
    "prev_page_url": null,
    "to": 1,
    "total": 1
}
Modified at 2025-09-19 01:48:05
Previous
Create Transaction
Next
Detail Transaction
Built with