Current User Wallet

To get user wallet and wallet history

GET emart.castleindia.in

Query Parameters

NameTypeDescription

secret

String

Secret key obtained from admin panel

currency*

String

ISO 3 code of currency eg : INR

Headers

NameTypeDescription

Accept*

String

application/json

Authorization*

String

Bearer {bearer token}

{
    "wallet": {
        "id": 1,
        "user_id": 1,
        "balance": 78.39,
        "status": 1,
        "created_at": "2020-08-08T16:17:50.000000Z",
        "updated_at": "2021-11-09T05:33:06.000000Z",
        "wallethistory": [
            {
                "id": 2,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Payment for order 5f2ed059394ea",
                "txn_id": "WALLET_PAYMENT_5f2ed07062621",
                "amount": 152,
                "created_at": "2020-08-08T16:18:56.000000Z",
                "updated_at": "2020-08-08T16:18:56.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 3,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Payment for order 5f2ed91ab11c6",
                "txn_id": "WALLET_PAYMENT_5f2eda397d343",
                "amount": 152.18,
                "created_at": "2020-08-08T17:00:41.000000Z",
                "updated_at": "2020-08-08T17:00:41.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 4,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Refund Payment for Invoice #EMRT101MRTE2019",
                "txn_id": "WALLETEkuVQNHbGm",
                "amount": 152.18,
                "created_at": "2020-08-08T17:01:59.000000Z",
                "updated_at": "2020-08-08T17:01:59.000000Z",
                "expire_at": "2020-08-14 20:18:33",
                "expired": 1
            },
            {
                "id": 5,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Payment for order 5f2edd6b713fb",
                "txn_id": "WALLET_PAYMENT_5f2edd93cd321",
                "amount": 152.18,
                "created_at": "2020-08-08T17:15:00.000000Z",
                "updated_at": "2020-08-08T17:15:00.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 6,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Refund Payment for Invoice #EMRT102MRTE2019",
                "txn_id": "REFUND_4THYz7mj8S",
                "amount": 147.61,
                "created_at": "2020-08-08T17:17:35.000000Z",
                "updated_at": "2020-08-08T17:17:35.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 14,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Added Amount via Razorpay",
                "txn_id": "pay_FQgLGJg7yorbEl",
                "amount": 100,
                "created_at": "2020-08-14T14:51:01.000000Z",
                "updated_at": "2020-08-14T14:51:01.000000Z",
                "expire_at": "2020-08-14 00:00:00",
                "expired": 1
            },
            {
                "id": 15,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Points expired",
                "txn_id": "WALLET_POINT_EXPIRED_5f36a56d520f5",
                "amount": 152.18,
                "created_at": "2020-08-14T14:53:33.000000Z",
                "updated_at": "2020-08-14T14:53:33.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 16,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Points expired",
                "txn_id": "WALLET_POINT_EXPIRED_5f36a56d63b0f",
                "amount": 100,
                "created_at": "2020-08-14T14:53:33.000000Z",
                "updated_at": "2020-08-14T14:53:33.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 17,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Added Amount via Razorpay",
                "txn_id": "pay_FQgudUJivSiAdl",
                "amount": 150,
                "created_at": "2020-08-14T15:24:31.000000Z",
                "updated_at": "2020-08-14T15:24:31.000000Z",
                "expire_at": "2020-08-14 00:00:00",
                "expired": 1
            },
            {
                "id": 21,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Points expired",
                "txn_id": "WALLET_POINT_EXPIRED_5f36b34bc804d",
                "amount": 150,
                "created_at": "2020-08-14T15:52:43.000000Z",
                "updated_at": "2020-08-14T15:52:43.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 22,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Added Amount via Razorpay",
                "txn_id": "pay_FQhQHVfO9UEXsX",
                "amount": 250,
                "created_at": "2020-08-14T15:54:29.000000Z",
                "updated_at": "2020-08-13T15:54:29.000000Z",
                "expire_at": "2020-08-14 00:00:00",
                "expired": 1
            },
            {
                "id": 23,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Points expired",
                "txn_id": "WALLET_POINT_EXPIRED_5f36b50874f78",
                "amount": 250,
                "created_at": "2020-08-14T16:00:08.000000Z",
                "updated_at": "2020-08-14T16:00:08.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 24,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Added Amount via Razorpay",
                "txn_id": "pay_FQhZWJh5Tc64Rc",
                "amount": 10,
                "created_at": "2020-08-14T16:03:14.000000Z",
                "updated_at": "2020-08-14T16:03:14.000000Z",
                "expire_at": "2020-08-14 00:00:00",
                "expired": 1
            },
            {
                "id": 25,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Points expired",
                "txn_id": "WALLET_POINT_EXPIRED_5f36b5e2359bf",
                "amount": 10,
                "created_at": "2020-08-14T16:03:46.000000Z",
                "updated_at": "2020-08-14T16:03:46.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 26,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Added Amount via Razorpay",
                "txn_id": "pay_FQuCCMZgZCFHDU",
                "amount": 20,
                "created_at": "2020-08-15T04:24:11.000000Z",
                "updated_at": "2020-08-15T04:24:11.000000Z",
                "expire_at": "2020-08-15 00:00:00",
                "expired": 1
            },
            {
                "id": 27,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Points expired",
                "txn_id": "WALLET_POINT_EXPIRED_5f37639594da8",
                "amount": 20,
                "created_at": "2020-08-15T04:24:53.000000Z",
                "updated_at": "2020-08-15T04:24:53.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 28,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Payment for order 5f894638a8d7d",
                "txn_id": "WALLET_PAYMENT_5f89465170f0c",
                "amount": 99,
                "created_at": "2020-10-16T07:05:53.000000Z",
                "updated_at": "2020-10-16T07:05:53.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 29,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Added Amount via Braintree",
                "txn_id": "e2rmj3zd",
                "amount": 50,
                "created_at": "2021-02-03T01:01:17.000000Z",
                "updated_at": "2021-02-03T01:01:17.000000Z",
                "expire_at": "2022-02-03 00:00:00",
                "expired": 0
            },
            {
                "id": 30,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Added Amount via Paypal",
                "txn_id": "PAYID-MANEGTA1EK477724L8829622",
                "amount": 50,
                "created_at": "2021-02-03T01:02:16.000000Z",
                "updated_at": "2021-02-03T01:02:16.000000Z",
                "expire_at": "2022-02-03 00:00:00",
                "expired": 0
            },
            {
                "id": 31,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Payment for order 601a43a14feab",
                "txn_id": "WALLET_PAYMENT_601a43a834379",
                "amount": 50.04,
                "created_at": "2021-02-03T01:03:12.000000Z",
                "updated_at": "2021-02-03T01:03:12.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 32,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Added Amount via Braintree",
                "txn_id": "pxv165ba",
                "amount": 10,
                "created_at": "2021-02-03T01:15:24.000000Z",
                "updated_at": "2021-02-03T01:15:24.000000Z",
                "expire_at": "2022-02-03 00:00:00",
                "expired": 0
            },
            {
                "id": 33,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Added Amount via Paytm",
                "txn_id": "20210203111212800110168467402331510",
                "amount": 1,
                "created_at": "2021-02-03T01:17:22.000000Z",
                "updated_at": "2021-02-03T01:17:22.000000Z",
                "expire_at": "2022-02-03 00:00:00",
                "expired": 0
            },
            {
                "id": 35,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Referal bonus",
                "txn_id": "8fFLj5sf",
                "amount": 0.06,
                "created_at": "2021-05-10T10:26:02.000000Z",
                "updated_at": "2021-05-10T10:26:02.000000Z",
                "expire_at": "2022-05-10 00:00:00",
                "expired": 0
            },
            {
                "id": 36,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Referal bonus for first purchase by KT 18",
                "txn_id": "I5XhTF7K",
                "amount": 0.06,
                "created_at": "2021-05-10T16:43:43.000000Z",
                "updated_at": "2021-05-10T16:43:43.000000Z",
                "expire_at": "2022-05-10 00:00:00",
                "expired": 0
            },
            {
                "id": 37,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Referal bonus for first purchase by Test",
                "txn_id": "6HguQyHe",
                "amount": 0.06,
                "created_at": "2021-05-10T16:51:33.000000Z",
                "updated_at": "2021-05-10T16:51:33.000000Z",
                "expire_at": "2022-05-10 00:00:00",
                "expired": 0
            },
            {
                "id": 38,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Referal bonus",
                "txn_id": "zWnJcHwE",
                "amount": 0.06,
                "created_at": "2021-07-09T09:16:41.000000Z",
                "updated_at": "2021-07-09T09:16:41.000000Z",
                "expire_at": "2022-07-09 00:00:00",
                "expired": 0
            },
            {
                "id": 39,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Payment for order 60f571b5c2498",
                "txn_id": "WALLET_PAYMENT_60f573a7418a8",
                "amount": 20.77,
                "created_at": "2021-07-19T12:44:24.000000Z",
                "updated_at": "2021-07-19T12:44:24.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 40,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Payment for order 60f576691eff4",
                "txn_id": "WALLET_PAYMENT_60f57673cd4c0",
                "amount": 20.77,
                "created_at": "2021-07-19T12:56:20.000000Z",
                "updated_at": "2021-07-19T12:56:20.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 41,
                "wallet_id": 1,
                "type": "Debit",
                "log": "Payment for order 60ffdbd7b3cc7",
                "txn_id": "WALLET_PAYMENT_60ffdbe958ed9",
                "amount": 21.54,
                "created_at": "2021-07-27T10:11:53.000000Z",
                "updated_at": "2021-07-27T10:11:53.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 42,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Cashback received on order 610cd1675a5b1",
                "txn_id": "cashback_HPmiAzRK",
                "amount": 8,
                "created_at": "2021-08-10T12:04:31.000000Z",
                "updated_at": "2021-08-10T12:04:31.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 43,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Cashback received on order 610cd1675a5b1",
                "txn_id": "cashback_ygDrpSMs",
                "amount": 2,
                "created_at": "2021-08-10T12:18:50.000000Z",
                "updated_at": "2021-08-10T12:18:50.000000Z",
                "expire_at": null,
                "expired": 0
            },
            {
                "id": 44,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Cashback received on order 610a656c17bb6",
                "txn_id": "cashback_vNAaKp9K",
                "amount": 3,
                "created_at": "2021-08-10T12:27:20.000000Z",
                "updated_at": "2021-08-10T12:27:20.000000Z",
                "expire_at": "2022-08-10 17:57:20",
                "expired": 0
            },
            {
                "id": 51,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Cashback received on order 6114a8c1d3b9c",
                "txn_id": "cashback_dGODx9iQ",
                "amount": 15,
                "created_at": "2021-08-12T04:52:22.000000Z",
                "updated_at": "2021-08-12T04:52:22.000000Z",
                "expire_at": "2022-08-12 10:22:22",
                "expired": 0
            },
            {
                "id": 52,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Cashback received on order 6114a94a4fa39",
                "txn_id": "cashback_4mxgyAWU",
                "amount": 1.59,
                "created_at": "2021-08-12T04:54:59.000000Z",
                "updated_at": "2021-08-12T04:54:59.000000Z",
                "expire_at": "2022-08-12 10:24:59",
                "expired": 0
            },
            {
                "id": 53,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Cashback received on order 6114eb71f167e",
                "txn_id": "cashback_M8eG155E",
                "amount": 8.42,
                "created_at": "2021-08-12T10:23:18.000000Z",
                "updated_at": "2021-08-12T10:23:18.000000Z",
                "expire_at": "2022-08-12 15:53:18",
                "expired": 0
            },
            {
                "id": 56,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Cashback received on order 61753832753b0",
                "txn_id": "cashback_Cuv90PDF",
                "amount": 10,
                "created_at": "2021-11-09T04:07:30.000000Z",
                "updated_at": "2021-11-09T04:07:30.000000Z",
                "expire_at": "2022-11-09 09:37:30",
                "expired": 0
            },
            {
                "id": 57,
                "wallet_id": 1,
                "type": "Credit",
                "log": "Cashback received on order 6175302cad557",
                "txn_id": "cashback_bZ6gFUoo",
                "amount": 2,
                "created_at": "2021-11-09T05:33:06.000000Z",
                "updated_at": "2021-11-09T05:33:06.000000Z",
                "expire_at": "2022-11-09 11:03:06",
                "expired": 0
            }
        ]
    },
    "wallethistory": [
        {
            "id": 2,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Payment for order 5f2ed059394ea",
            "txn_id": "WALLET_PAYMENT_5f2ed07062621",
            "amount": 152,
            "created_at": "2020-08-08T16:18:56.000000Z",
            "updated_at": "2020-08-08T16:18:56.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 3,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Payment for order 5f2ed91ab11c6",
            "txn_id": "WALLET_PAYMENT_5f2eda397d343",
            "amount": 152.18,
            "created_at": "2020-08-08T17:00:41.000000Z",
            "updated_at": "2020-08-08T17:00:41.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 4,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Refund Payment for Invoice #EMRT101MRTE2019",
            "txn_id": "WALLETEkuVQNHbGm",
            "amount": 152.18,
            "created_at": "2020-08-08T17:01:59.000000Z",
            "updated_at": "2020-08-08T17:01:59.000000Z",
            "expire_at": "2020-08-14 20:18:33",
            "expired": 1
        },
        {
            "id": 5,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Payment for order 5f2edd6b713fb",
            "txn_id": "WALLET_PAYMENT_5f2edd93cd321",
            "amount": 152.18,
            "created_at": "2020-08-08T17:15:00.000000Z",
            "updated_at": "2020-08-08T17:15:00.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 6,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Refund Payment for Invoice #EMRT102MRTE2019",
            "txn_id": "REFUND_4THYz7mj8S",
            "amount": 147.61,
            "created_at": "2020-08-08T17:17:35.000000Z",
            "updated_at": "2020-08-08T17:17:35.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 14,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Added Amount via Razorpay",
            "txn_id": "pay_FQgLGJg7yorbEl",
            "amount": 100,
            "created_at": "2020-08-14T14:51:01.000000Z",
            "updated_at": "2020-08-14T14:51:01.000000Z",
            "expire_at": "2020-08-14 00:00:00",
            "expired": 1
        },
        {
            "id": 15,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Points expired",
            "txn_id": "WALLET_POINT_EXPIRED_5f36a56d520f5",
            "amount": 152.18,
            "created_at": "2020-08-14T14:53:33.000000Z",
            "updated_at": "2020-08-14T14:53:33.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 16,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Points expired",
            "txn_id": "WALLET_POINT_EXPIRED_5f36a56d63b0f",
            "amount": 100,
            "created_at": "2020-08-14T14:53:33.000000Z",
            "updated_at": "2020-08-14T14:53:33.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 17,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Added Amount via Razorpay",
            "txn_id": "pay_FQgudUJivSiAdl",
            "amount": 150,
            "created_at": "2020-08-14T15:24:31.000000Z",
            "updated_at": "2020-08-14T15:24:31.000000Z",
            "expire_at": "2020-08-14 00:00:00",
            "expired": 1
        },
        {
            "id": 21,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Points expired",
            "txn_id": "WALLET_POINT_EXPIRED_5f36b34bc804d",
            "amount": 150,
            "created_at": "2020-08-14T15:52:43.000000Z",
            "updated_at": "2020-08-14T15:52:43.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 22,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Added Amount via Razorpay",
            "txn_id": "pay_FQhQHVfO9UEXsX",
            "amount": 250,
            "created_at": "2020-08-14T15:54:29.000000Z",
            "updated_at": "2020-08-13T15:54:29.000000Z",
            "expire_at": "2020-08-14 00:00:00",
            "expired": 1
        },
        {
            "id": 23,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Points expired",
            "txn_id": "WALLET_POINT_EXPIRED_5f36b50874f78",
            "amount": 250,
            "created_at": "2020-08-14T16:00:08.000000Z",
            "updated_at": "2020-08-14T16:00:08.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 24,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Added Amount via Razorpay",
            "txn_id": "pay_FQhZWJh5Tc64Rc",
            "amount": 10,
            "created_at": "2020-08-14T16:03:14.000000Z",
            "updated_at": "2020-08-14T16:03:14.000000Z",
            "expire_at": "2020-08-14 00:00:00",
            "expired": 1
        },
        {
            "id": 25,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Points expired",
            "txn_id": "WALLET_POINT_EXPIRED_5f36b5e2359bf",
            "amount": 10,
            "created_at": "2020-08-14T16:03:46.000000Z",
            "updated_at": "2020-08-14T16:03:46.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 26,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Added Amount via Razorpay",
            "txn_id": "pay_FQuCCMZgZCFHDU",
            "amount": 20,
            "created_at": "2020-08-15T04:24:11.000000Z",
            "updated_at": "2020-08-15T04:24:11.000000Z",
            "expire_at": "2020-08-15 00:00:00",
            "expired": 1
        },
        {
            "id": 27,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Points expired",
            "txn_id": "WALLET_POINT_EXPIRED_5f37639594da8",
            "amount": 20,
            "created_at": "2020-08-15T04:24:53.000000Z",
            "updated_at": "2020-08-15T04:24:53.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 28,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Payment for order 5f894638a8d7d",
            "txn_id": "WALLET_PAYMENT_5f89465170f0c",
            "amount": 99,
            "created_at": "2020-10-16T07:05:53.000000Z",
            "updated_at": "2020-10-16T07:05:53.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 29,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Added Amount via Braintree",
            "txn_id": "e2rmj3zd",
            "amount": 50,
            "created_at": "2021-02-03T01:01:17.000000Z",
            "updated_at": "2021-02-03T01:01:17.000000Z",
            "expire_at": "2022-02-03 00:00:00",
            "expired": 0
        },
        {
            "id": 30,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Added Amount via Paypal",
            "txn_id": "PAYID-MANEGTA1EK477724L8829622",
            "amount": 50,
            "created_at": "2021-02-03T01:02:16.000000Z",
            "updated_at": "2021-02-03T01:02:16.000000Z",
            "expire_at": "2022-02-03 00:00:00",
            "expired": 0
        },
        {
            "id": 31,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Payment for order 601a43a14feab",
            "txn_id": "WALLET_PAYMENT_601a43a834379",
            "amount": 50.04,
            "created_at": "2021-02-03T01:03:12.000000Z",
            "updated_at": "2021-02-03T01:03:12.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 32,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Added Amount via Braintree",
            "txn_id": "pxv165ba",
            "amount": 10,
            "created_at": "2021-02-03T01:15:24.000000Z",
            "updated_at": "2021-02-03T01:15:24.000000Z",
            "expire_at": "2022-02-03 00:00:00",
            "expired": 0
        },
        {
            "id": 33,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Added Amount via Paytm",
            "txn_id": "20210203111212800110168467402331510",
            "amount": 1,
            "created_at": "2021-02-03T01:17:22.000000Z",
            "updated_at": "2021-02-03T01:17:22.000000Z",
            "expire_at": "2022-02-03 00:00:00",
            "expired": 0
        },
        {
            "id": 35,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Referal bonus",
            "txn_id": "8fFLj5sf",
            "amount": 0.06,
            "created_at": "2021-05-10T10:26:02.000000Z",
            "updated_at": "2021-05-10T10:26:02.000000Z",
            "expire_at": "2022-05-10 00:00:00",
            "expired": 0
        },
        {
            "id": 36,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Referal bonus for first purchase by KT 18",
            "txn_id": "I5XhTF7K",
            "amount": 0.06,
            "created_at": "2021-05-10T16:43:43.000000Z",
            "updated_at": "2021-05-10T16:43:43.000000Z",
            "expire_at": "2022-05-10 00:00:00",
            "expired": 0
        },
        {
            "id": 37,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Referal bonus for first purchase by Test",
            "txn_id": "6HguQyHe",
            "amount": 0.06,
            "created_at": "2021-05-10T16:51:33.000000Z",
            "updated_at": "2021-05-10T16:51:33.000000Z",
            "expire_at": "2022-05-10 00:00:00",
            "expired": 0
        },
        {
            "id": 38,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Referal bonus",
            "txn_id": "zWnJcHwE",
            "amount": 0.06,
            "created_at": "2021-07-09T09:16:41.000000Z",
            "updated_at": "2021-07-09T09:16:41.000000Z",
            "expire_at": "2022-07-09 00:00:00",
            "expired": 0
        },
        {
            "id": 39,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Payment for order 60f571b5c2498",
            "txn_id": "WALLET_PAYMENT_60f573a7418a8",
            "amount": 20.77,
            "created_at": "2021-07-19T12:44:24.000000Z",
            "updated_at": "2021-07-19T12:44:24.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 40,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Payment for order 60f576691eff4",
            "txn_id": "WALLET_PAYMENT_60f57673cd4c0",
            "amount": 20.77,
            "created_at": "2021-07-19T12:56:20.000000Z",
            "updated_at": "2021-07-19T12:56:20.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 41,
            "wallet_id": 1,
            "type": "Debit",
            "log": "Payment for order 60ffdbd7b3cc7",
            "txn_id": "WALLET_PAYMENT_60ffdbe958ed9",
            "amount": 21.54,
            "created_at": "2021-07-27T10:11:53.000000Z",
            "updated_at": "2021-07-27T10:11:53.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 42,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Cashback received on order 610cd1675a5b1",
            "txn_id": "cashback_HPmiAzRK",
            "amount": 8,
            "created_at": "2021-08-10T12:04:31.000000Z",
            "updated_at": "2021-08-10T12:04:31.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 43,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Cashback received on order 610cd1675a5b1",
            "txn_id": "cashback_ygDrpSMs",
            "amount": 2,
            "created_at": "2021-08-10T12:18:50.000000Z",
            "updated_at": "2021-08-10T12:18:50.000000Z",
            "expire_at": null,
            "expired": 0
        },
        {
            "id": 44,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Cashback received on order 610a656c17bb6",
            "txn_id": "cashback_vNAaKp9K",
            "amount": 3,
            "created_at": "2021-08-10T12:27:20.000000Z",
            "updated_at": "2021-08-10T12:27:20.000000Z",
            "expire_at": "2022-08-10 17:57:20",
            "expired": 0
        },
        {
            "id": 51,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Cashback received on order 6114a8c1d3b9c",
            "txn_id": "cashback_dGODx9iQ",
            "amount": 15,
            "created_at": "2021-08-12T04:52:22.000000Z",
            "updated_at": "2021-08-12T04:52:22.000000Z",
            "expire_at": "2022-08-12 10:22:22",
            "expired": 0
        },
        {
            "id": 52,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Cashback received on order 6114a94a4fa39",
            "txn_id": "cashback_4mxgyAWU",
            "amount": 1.59,
            "created_at": "2021-08-12T04:54:59.000000Z",
            "updated_at": "2021-08-12T04:54:59.000000Z",
            "expire_at": "2022-08-12 10:24:59",
            "expired": 0
        },
        {
            "id": 53,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Cashback received on order 6114eb71f167e",
            "txn_id": "cashback_M8eG155E",
            "amount": 8.42,
            "created_at": "2021-08-12T10:23:18.000000Z",
            "updated_at": "2021-08-12T10:23:18.000000Z",
            "expire_at": "2022-08-12 15:53:18",
            "expired": 0
        },
        {
            "id": 56,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Cashback received on order 61753832753b0",
            "txn_id": "cashback_Cuv90PDF",
            "amount": 10,
            "created_at": "2021-11-09T04:07:30.000000Z",
            "updated_at": "2021-11-09T04:07:30.000000Z",
            "expire_at": "2022-11-09 09:37:30",
            "expired": 0
        },
        {
            "id": 57,
            "wallet_id": 1,
            "type": "Credit",
            "log": "Cashback received on order 6175302cad557",
            "txn_id": "cashback_bZ6gFUoo",
            "amount": 2,
            "created_at": "2021-11-09T05:33:06.000000Z",
            "updated_at": "2021-11-09T05:33:06.000000Z",
            "expire_at": "2022-11-09 11:03:06",
            "expired": 0
        }
    ]
}
if user is not authenticated 

Last updated