Check Transaction List

POST

api/v2/check_transaction_list



API Error Code

Status code Description
500 Something Error, will return error message


Parameters that need to be pass for the request.

Parameters Type Required Description
project_id string yes Project ID
token string yes Token details view Encryption & Decryption
transaction_type string yes TOPUP/DEPOSIT/PAYOUT/SETTLEMENT
date_option number yes Filter date option, 1 = created_at / 2 = statement_date
date_format string no Date Search Format (default / timestamp), may not need to fill in default date format is 2022-08-02
min_date date/timestamp yes Filter min date, eg: 2021-12-26/1640476800
max_date date/timestamp yes Filter max date, eg: 2022-02-11/1644623999
per_page_data number no Number of data per page, this api have support paginate function

Parameters

  • project_id: 1 (string, required) - Project ID
  • token: 9BC97D2BCC7990F84F05202205E53D14 (string, required) - Token
  • transaction_type: DEPOSIT (string, required) - TOPUP/DEPOSIT/PAYOUT/SETTLEMENT
  • date_option: 1 (number, required) - Filter date option, 1 = created_at / 2 = statement_date
  • date_format: default/timestamp (string, nullable) - may not need to fill in default date format is 2022-08-02
  • min_date: 2021-12-26/1640476800 (default/timestamp, required) - Filter min date
  • max_date: 2022-02-11/1644623999 (default/timestamp, required) - Filter max date
  • per_page_data: 20 (number, nullable) - Number of data per page


Response 200 (application/json)

  
                {
                    "status": 0,
                    "ret_msg": "Success",
                    "data": {
                        "current_page": 1,
                        "data": [
                            {
                                "transaction_id": "DP2501170004007",
                                "client_transaction": "Testing Client Transaction Id",
                                "amount": "2,000.00",
                                "currency": "VND",
                                "created_at": "2025/01/17 12:15:10",
                                "statement_date": "2025-01-17",
                                "status": "Approved"
                            }
                        ],
                        "first_page_url": "https://example.com/api/v1/checkTransactionList?page=1",
                        "from": 1,
                        "last_page": 49,
                        "last_page_url": "https://example.com/api/v1/checkTransactionList?page=49",
                        "links": [
                            {
                                "url": null,
                                "label": "« Previous",
                                "active": false
                            },
                            {
                                "url": "https://example.com/api/v1/checkTransactionList?page=1",
                                "label": "1",
                                "active": true
                            },
                            {
                                "url": "https://example.com/api/v1/checkTransactionList?page=2",
                                "label": "2",
                                "active": false
                            },
                            {
                                "url": "https://example.com/api/v1/checkTransactionList?page=3",
                                "label": "3",
                                "active": false
                            },
                            {
                                "url": "https://example.com/api/v1/checkTransactionList?page=4",
                                "label": "4",
                                "active": false
                            },
                            {
                                "url": "https://example.com/api/v1/checkTransactionList?page=5",
                                "label": "5",
                                "active": false
                            },
                            {
                                "url": "https://example.com/api/v1/checkTransactionList?page=6",
                                "label": "6",
                                "active": false
                            },
                            {
                                "url": "https://example.com/api/v1/checkTransactionList?page=7",
                                "label": "7",
                                "active": false
                            },
                            {
                                "url": "https://example.com/api/v1/checkTransactionList?page=8",
                                "label": "8",
                                "active": false
                            },
                            {
                                "url": "https://example.com/api/v1/checkTransactionList?page=9",
                                "label": "9",
                                "active": false
                            },
                            {
                                "url": "https://example.com/api/v1/checkTransactionList?page=10",
                                "label": "10",
                                "active": false
                            },
                            {
                                "url": null,
                                "label": "...",
                                "active": false
                            },
                            {
                                "url": "https://example.com/api/v1/checkTransactionList?page=48",
                                "label": "48",
                                "active": false
                            },
                            {
                                "url": "https://example.com/api/v1/checkTransactionList?page=49",
                                "label": "49",
                                "active": false
                            },
                            {
                                "url": "https://example.com/api/v1/checkTransactionList?page=2",
                                "label": "Next »",
                                "active": false
                            }
                        ],
                        "next_page_url": "https://example.com/api/v1/checkTransactionList?page=2",
                        "path": "https://example.com/api/v1/checkTransactionList",
                        "per_page": "1",
                        "prev_page_url": null,
                        "to": 1,
                        "total": 49,
                        "token": "AED4B8A0FDB136D17A014FE190DAD4B4",
                    }
                }