# List Business Transactions

List transactions for the authenticated business, including payout, payin, checkout, and fee-related records.

## GET

```
/api/v1/transaction
```

### Send
#### Authorization

**AuthorizationBearer <token>**  
In: `header`

### Query Parameters
- `page`?integer  
- `limit`?integer  
- `search`?string  
- `status`?string

### Response Body

#### 200 application/json
#### 400 application/json
#### 401 application/json
#### 403 application/json
#### 422 application/json
#### 500 application/json
#### 503 application/json

### cURL Example

```bash
curl -X GET "https://atlas.tryduplo.com/api/v1/transaction?page=1&limit=15&search=TRN_&status=SUCCESSFUL"
```

### Example Responses

```json
{
  "requestId": "f006ad7b-096c-4254-8c7e-2d23a55b0b0e",
  "requestTimestamp": "2025-09-04 11:49:40",
  "message": "All business transactions fetched successfully.",
  "statusCode": 200,
  "data": [
    {}
  ],
  "links": {},
  "meta": {}
}
```

```json
{
  "requestId": "f006ad7b-096c-4254-8c7e-2d23a55b0b0e",
  "requestTimestamp": "2025-09-04 11:49:40",
  "message": "Bad request.",
  "statusCode": 400
}
```

```json
{
  "requestId": "f006ad7b-096c-4254-8c7e-2d23a55b0b0e",
  "requestTimestamp": "2025-09-04 11:49:40",
  "message": "Invalid API key.",
  "statusCode": 401
}
```

```json
{
  "requestId": "f006ad7b-096c-4254-8c7e-2d23a55b0b0e",
  "requestTimestamp": "2025-09-04 11:49:40",
  "message": "Forbidden.",
  "statusCode": 403
}
```

```json
{
  "requestId": "f006ad7b-096c-4254-8c7e-2d23a55b0b0e",
  "requestTimestamp": "2025-09-04 11:49:40",
  "message": "Validation error.",
  "statusCode": 422
}
```

```json
{
  "requestId": "f006ad7b-096c-4254-8c7e-2d23a55b0b0e",
  "requestTimestamp": "2025-09-04 11:49:40",
  "message": "Internal server error.",
  "statusCode": 500
}
```

```json
{
  "requestId": "f006ad7b-096c-4254-8c7e-2d23a55b0b0e",
  "requestTimestamp": "2025-09-04 11:49:40",
  "message": "Service unavailable.",
  "statusCode": 503
}
```
