Ecommerce
Transaction

Transaction List

Get all transaction list, this route for specific transaction define by GET Method

http://ecom.coderorbit.com/api/admin/{{app_token}}/transaction
 
headers:{ 
    "Accept": "application/json"    
    "Authorization" : `Bearer ${token}`
}

Result

{
    "trasactions": {
      "current_page": 1,
      "data": [
            {
              "id": 28,
              "unique_id": "yykAWKxs7IkMbXT",
              "order_id": "24102815396",
              "transaction_id": "24102846604",
              "user_id": 23,
              "vendor_id": 2,
              "total_amount": 9000,
              "debit": 0,
              "credit": 9000,
              "payment_method": "Cash on delivery",
              "payment_id": "24102855247",
              "extend_props": {
                "vat": 0,
                "tax": 0,
                "boundle_name": null,
                "contact": {
                  "name": "test",
                  "address": "Lane-10, Road-11, Mirpur, Dhaka",
                  "email": null,
                  "mobile": "01677270944",
                  "thana_id": 494,
                  "city_id": 1,
                  "country_id": 18,
                  "country": "Bangladesh",
                  "city": "Dhaka",
                  "thana": "Airport"
                },
                "type": "Sigle",
                "others": []
              },
              "description": [
                {
                  "user_id": 23,
                  "unique_id": "24102815396",
                  "vendor_id": 2,
                  "created_by": 23,
                  "updated_by": 23,
                  "description": null,
                  "status": 1,
                  "payment_status": 1,
                  "quantity": 2,
                  "total": 9000,
                  "grand_total": 9000,
                  "discount": 0,
                  "extend_props": "{\"vat\":0,\"tax\":0,\"boundle_name\":null,\"contact\":{\"name\":\"test\",\"address\":\"11\\/C, House-1, Lane-10, Road-11, Mirpur, Dhaka\",\"email\":null,\"mobile\":\"01677270944\",\"thana_id\":494,\"city_id\":1,\"country_id\":18,\"country\":\"Bangladesh\",\"city\":\"Dhaka\",\"thana\":\"Airport\"},\"type\":\"Sigle\",\"others\":}",
                  "created_at": "2024-10-28T14:55:44.068381Z",
                  "updated_at": "2024-10-28T14:55:44.068385Z"
                }
              ],
              "deleted_at": null,
              "created_at": "2024-10-28T08:55:44.000000Z",
              "updated_at": "2024-10-28T08:55:44.000000Z"
            },
      ],
      "first_page_url": "",
      "from": 2,
      "last_page": 12,
      "last_page_url": "",
      "links": [
        {
          "url": "",
          "label": "« Previous",
          "active": false
        },
        {
          "url": "",
          "label": "1",
          "active": false
        },
        {
          "url": "",
          "label": "2",
          "active": true
        },
        {
            ....
        }
        
      ],
      "next_page_url": "",
      "path": "",
      "per_page": 1,
      "prev_page_url": "",
      "to": 2,
      "total": 12
    }
  }

=== Query Parameters ===

limit_per_page = 1 // Default 15
page = 1 // number of page for pagination
data = all

Transaction Filter

Get all transaction list, this route for specific transaction define by POST Method

http://ecom.coderorbit.com/api/admin/{{app_token}}/transaction
 
headers:{ 
    "Accept": "application/json"    
    "Authorization" : `Bearer ${token}`
}
 
body:{
 
# All input field are optional so you will use for your requirement here is 2 type data. 1) is and condition. 2) or condition
  "and_order_id": "7050338801",
  "and_transaction_id": "9245550740",
  "and_payment_method": "Cash on delivery",
  "and_user_id": 14,
  "and_vendor_id": 1,
  "and_amount": 100,
  "and_transaction_date": "2023-07-31",
  "and_extend_props":{
    "contact": {
        "email": "majadul.dev@gmail.com2",
        "mobile": "01677270944"
      }
  },
 
  "and_between_transaction_date": ["2023-07-05 00:00:00","2023-07-05 23:59:59"],
  "and_between_order_id": ["7050338801", "..."],
  "and_between_transaction_id": ["9245550740", "..."],
  "and_between_payment_method": ["1", "3"],
  "and_between_user_id": ["1", ".."],
  "and_between_vendor_id": ["1", ".."],
  "and_between_amount": ["1", ".."],
 
 
 
  "or_order_id": "7050338801",
  "or_transaction_id": "9245550740",
  "or_payment_method": "Cash on delivery",
  "or_user_id": 14,
  "or_vendor_id": 1,
  "or_amount": 100,
  "or_transaction_date": "2023-07-31",
 
  "or_between_transaction_date": ["2023-07-05 00:00:00","2023-07-05 23:59:59"],
  "or_between_order_id": ["7050338801", "..."],
  "or_between_transaction_id": ["9245550740", "..."],
  "or_between_payment_method": ["1", "3"],
  "or_between_user_id": ["1", ".."],
  "or_between_vendor_id": ["1", ".."],
  "or_between_amount": ["1", ".."]
}

Result

    {
    "trasactions": {
      "current_page": 2,
      "data": [
        {
          "id": 11,
          "unique_id": "3RrNS1x6jdslOIL",
          "order_id": "1688272740",
          "transaction_id": "8Pp7WIySGTkEZXj",
          "user_id": 14,
          "total_amount": 0,
          "debit": 0,
          "credit": 18,
          "payment_method": "Promo Code",
          "payment_id": "MS20",
          "extend_props": null,
          "description": null,
          "deleted_at": null,
          "created_at": "2023-07-02T04:39:00.000000Z",
          "updated_at": "2023-07-02T04:39:00.000000Z"
        }
      ],
      "first_page_url": "",
      "from": 2,
      "last_page": 12,
      "last_page_url": "2",
      "links": [
        {
          "url": "",
          "label": "« Previous",
          "active": false
        },
        {
          "url": "",
          "label": "1",
          "active": false
        },
        {
          "url": "",
          "label": "2",
          "active": true
        },
        {
          "url": "",
          "label": "3",
          "active": false
        },
        {
          "url": "",
          "label": "4",
          "active": false
        },
        {
          "url": "",
          "label": "Next »",
          "active": false
        }
      ],
      "next_page_url": "",
      "path": "",
      "per_page": 1,
      "prev_page_url": "",
      "to": 2,
      "total": 12
    }
  }
CODER ORBIT
Bangladesh Office:
Call: 01534-645492
11/C, House-01, Lane-10
Road-11, Dhaka 1216
Email: support@coderorbit.com
Others
Domain & Hosting
Course
Debug
Portfolio
FOLLOW US
SUBSCRIBE US
Subscribe
2018 - 2025 Copyright © Coder Orbit. All rights reserved.