# GET All Widget Deposits

## Get customer transactions

> \# Get customer transactions\
> \
> This endpoint retrieves the details about all transactions of all widget's customers based on the provided WIDGET\_API\_KEY.\
> \
> \### Request\
> \
> \- Method: GET\
> &#x20;   \
> \- URL: \[<http://localhost:3000/v1/customer/incoming-transaction]\\(http://localhost:3000/v1/customer/incoming-transaction)\\>
> &#x20;   \
> \
> \### Headers\
> \
> \- Authorization: Bearer {{WIDGET\_API\_KEY}}\
> &#x20;   \
> \
> \### Query Params\
> \
> \- limit: number\
> &#x20;   \
> \- offset: number\
> &#x20;   \
> \- customerId: string\
> &#x20;   \
> \
> \### Response\
> \
> \- Status: 200 OK\
> &#x20;   \
> \- Content Type: application/json\
> &#x20;   \
> \
> \#### Response Body\
> \
> \`\`\` json\
> {\
> &#x20;   "data": { \
> &#x20;      "transactions":\
> &#x20;       \[\
> &#x20;           {\
> &#x20;               "id": number,\
> &#x20;               "customerId": string,\
> &#x20;               "address": string,\
> &#x20;               "assets": \[\
> &#x20;                    Enum('USDT', 'USDC', 'ETH', 'MATIC','BNB', 'TRX', 'BTC')\
> &#x20;                ],\
> &#x20;               "blockchain": Enum('ethereum', 'tron', 'binance-smart-chain', 'MATIC', 'bitcoin'),\
> &#x20;               "hash": string,\
> &#x20;               "amount": number,\
> &#x20;               "sourceaddress": string,\
> &#x20;               "currentConfirmation": number,\
> &#x20;               "targetConfirmations": number\
> &#x20;           },\
> &#x20;       ],\
> &#x20;       "total": number\
> }\
> \
> &#x20;\`\`\`

````json
{"openapi":"3.0.0","info":{"title":"PSP (Stage)","version":"1.0.0"},"tags":[{"name":"Customer > Widget"}],"servers":[{"url":"http://{{base_url}}"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"paths":{"/v1/customer/incoming-transaction":{"get":{"tags":["Customer > Widget"],"summary":"Get customer transactions","description":"# Get customer transactions\n\nThis endpoint retrieves the details about all transactions of all widget's customers based on the provided WIDGET_API_KEY.\n\n### Request\n\n- Method: GET\n    \n- URL: [http://localhost:3000/v1/customer/incoming-transaction](http://localhost:3000/v1/customer/incoming-transaction)\n    \n\n### Headers\n\n- Authorization: Bearer {{WIDGET_API_KEY}}\n    \n\n### Query Params\n\n- limit: number\n    \n- offset: number\n    \n- customerId: string\n    \n\n### Response\n\n- Status: 200 OK\n    \n- Content Type: application/json\n    \n\n#### Response Body\n\n``` json\n{\n    \"data\": { \n       \"transactions\":\n        [\n            {\n                \"id\": number,\n                \"customerId\": string,\n                \"address\": string,\n                \"assets\": [\n                     Enum('USDT', 'USDC', 'ETH', 'MATIC','BNB', 'TRX', 'BTC')\n                 ],\n                \"blockchain\": Enum('ethereum', 'tron', 'binance-smart-chain', 'MATIC', 'bitcoin'),\n                \"hash\": string,\n                \"amount\": number,\n                \"sourceaddress\": string,\n                \"currentConfirmation\": number,\n                \"targetConfirmations\": number\n            },\n        ],\n        \"total\": number\n}\n\n ```","parameters":[{"name":"offset","in":"query","schema":{"type":"integer"}},{"name":"limit","in":"query","schema":{"type":"integer"}},{"name":"customerId","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"Date":{"schema":{"type":"string"}},"Content-Type":{"schema":{"type":"string"}},"Transfer-Encoding":{"schema":{"type":"string"}},"Connection":{"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"schema":{"type":"string"}},"Strict-Transport-Security":{"schema":{"type":"string"}},"Cf-Cache-Status":{"schema":{"type":"string"}},"Nel":{"schema":{"type":"number"}},"Report-To":{"schema":{"type":"string"}},"Content-Encoding":{"schema":{"type":"string"}},"Server":{"schema":{"type":"string"}},"CF-RAY":{"schema":{"type":"string"}},"alt-svc":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}}}}}}}
````
