Endpoint
Authentication
Requires a developer API key in theAuthorization header.
Request Headers
| Header | Value |
|---|---|
Authorization | Bearer <api_key> |
Path Parameters
| Parameter | Type | Description |
|---|---|---|
grantId | string | The grant ID to look up transactions for |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page | number | No | Page number (default 1) |
pageSize | number | No | Results per page (default 50) |
Example Request
Response — 200 OK
Response Fields
| Field | Type | Description |
|---|---|---|
transactions | array | Array of transaction objects |
transactions[].id | string | Unique transaction ID |
transactions[].grantId | string | The grant this transaction belongs to |
transactions[].amount | number | Amount debited |
transactions[].description | string | null | Human-readable description |
transactions[].metadata | object | Arbitrary metadata |
transactions[].balanceAfter | number | Remaining balance after this transaction |
transactions[].createdAt | string | ISO-8601 timestamp |
total | number | Total number of transactions |
Error Responses
| Status | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Invalid or missing API key |