Wallet Transaction

Get https://payzigo.online/api/v1/wallet/transactions/{wallet_id}

Headers

Authorization* string

Pass your {api_key} as a bearer token in the request header to authorize this call

Path parameters

wallet_id* string

ID of wallet

Body parameters

page string

Sets the page number; use "all" to retrieve all items. The default is 1

limit integer

Specifies the default number of items per page, with a default setting of 20

Response


{
    "data": [
        {
            "id": "037e3e83-dccf-4427-8a43-e320043233f1",
            "amount": "25400.00",
            "human_readable_amount": 254,
            "charge": "0.00",
            "human_readable_charge": 0,
            "status": "success",
            "decline_reason": null,
            "mode": "live",
            "type": "debit",
            "description": "swap",
            "created_at": "2024-07-10T09:53:19.000000Z",
            "from_wallet": "EUR",
            "to_wallet": "USD",
            "rate": 1.0718345693715,
            "credit_id": "37716862-035b-41b0-b657-83a90fed15a8"
        },
        {
            "id": "3b367518-151e-4239-87a3-5ee0ff901b01",
            "amount": "914.00",
            "human_readable_amount": 9.14,
            "charge": "0.00",
            "human_readable_charge": 0,
            "status": "success",
            "decline_reason": null,
            "mode": "live",
            "type": "credit",
            "description": "swap",
            "created_at": "2024-07-07T22:45:34.000000Z",
            "to_wallet": "EUR",
            "from_wallet": "USD",
            "debit_id": "c300c84e-a8bc-46d2-8c97-099730d42f8a"
        },
        {
            "id": "56e5d84e-b98d-4be6-9d26-320836223b98",
            "amount": "23609.00",
            "human_readable_amount": 236.09,
            "charge": "0.00",
            "human_readable_charge": 0,
            "status": "success",
            "decline_reason": null,
            "mode": "live",
            "type": "credit",
            "description": "swap",
            "created_at": "2024-07-05T10:27:45.000000Z",
            "to_wallet": "EUR",
            "from_wallet": "GBP",
            "debit_id": "d9475022-3726-461b-958d-a9e628af91ce"
        },
        {
            "id": "9a56541e-6699-45f9-ad0b-d518eb036f8f",
            "amount": "925.00",
            "human_readable_amount": 9.25,
            "charge": "0.00",
            "human_readable_charge": 0,
            "status": "success",
            "decline_reason": null,
            "mode": "live",
            "type": "credit",
            "description": "swap",
            "created_at": "2024-07-05T09:57:48.000000Z",
            "to_wallet": "EUR",
            "from_wallet": "USD",
            "debit_id": "ddbc46ff-fe35-4b00-9d8e-d510cd243b39"
        }
    ],
    "links": {
        "first": "https://payzigo.online/api/v1/wallet/transactions/a2d64189-3c52-48d4-a04f-1a2ae23d52b7?page=1",
        "last": "https://payzigo.online/api/v1/wallet/transactions/a2d64189-3c52-48d4-a04f-1a2ae23d52b7?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://payzigo.online/api/v1/wallet/transactions/a2d64189-3c52-48d4-a04f-1a2ae23d52b7?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "path": "https://payzigo.online/api/v1/wallet/transactions/a2d64189-3c52-48d4-a04f-1a2ae23d52b7",
        "per_page": 20,
        "to": 4,
        "total": 4
    }
}