# GET Customer Transactions

## Get customer transactions

> \# Get customer transactions\
> \
> This endpoint retrieves the details about all transactions of all widget's customers for all widgets of organization based on the provided ORGANIZATION\_API\_KEY.\
> \
> \### Request\
> \
> \- Method: GET\
> &#x20;   \
> \- URL: \[<http://localhost:3000/v1/merchant/customer/incoming-transaction]\\(http://localhost:3000/v1/merchant/customer/incoming-transaction)\\>
> &#x20;   \
> \
> \### Headers\
> \
> \- Authorization: Bearer {{ORGANIZATION\_API\_KEY}}\
> &#x20;   \
> \
> \### Query Params\
> \
> \- limit: number\
> &#x20;   \
> \- offset: number\
> &#x20;   \
> \- customerId: string\
> &#x20;   \
> \- widgetId: 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 > Merchant"}],"servers":[{"url":"http://{{base_url}}"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"paths":{"/v1/merchant/customer/incoming-transaction":{"get":{"tags":["Customer > Merchant"],"summary":"Get customer transactions","description":"# Get customer transactions\n\nThis endpoint retrieves the details about all transactions of all widget's customers for all widgets of organization based on the provided ORGANIZATION_API_KEY.\n\n### Request\n\n- Method: GET\n    \n- URL: [http://localhost:3000/v1/merchant/customer/incoming-transaction](http://localhost:3000/v1/merchant/customer/incoming-transaction)\n    \n\n### Headers\n\n- Authorization: Bearer {{ORGANIZATION_API_KEY}}\n    \n\n### Query Params\n\n- limit: number\n    \n- offset: number\n    \n- customerId: string\n    \n- widgetId: 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    \"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":"widgetId","in":"query","schema":{"type":"string"}},{"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"}}}}}}}}}
````


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inabit.com/inabit-terminal/api-reference/merchant/get-customer-transactions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
