{"id":48471263,"url":"https://github.com/nip10/gocardless-open-banking","last_synced_at":"2026-04-07T06:34:36.826Z","repository":{"id":330213261,"uuid":"1120057433","full_name":"nip10/gocardless-open-banking","owner":"nip10","description":"GoCardless Open Banking Node SDK","archived":false,"fork":false,"pushed_at":"2025-12-23T23:03:00.000Z","size":204,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-25T12:11:20.588Z","etag":null,"topics":["gocardless","open-banking"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nip10.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-20T11:55:48.000Z","updated_at":"2025-12-23T23:02:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nip10/gocardless-open-banking","commit_stats":null,"previous_names":["nip10/gocardless-open-banking"],"tags_count":3,"template":false,"template_full_name":"nip10/ts-package","purl":"pkg:github/nip10/gocardless-open-banking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nip10%2Fgocardless-open-banking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nip10%2Fgocardless-open-banking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nip10%2Fgocardless-open-banking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nip10%2Fgocardless-open-banking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nip10","download_url":"https://codeload.github.com/nip10/gocardless-open-banking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nip10%2Fgocardless-open-banking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31503385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gocardless","open-banking"],"created_at":"2026-04-07T06:34:36.084Z","updated_at":"2026-04-07T06:34:36.814Z","avatar_url":"https://github.com/nip10.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoCardless Open Banking SDK\n\nA modern, type-safe TypeScript SDK for the GoCardless Bank Account Data API v2.\n\n[![npm version](https://img.shields.io/npm/v/gocardless-open-banking.svg)](https://www.npmjs.com/package/gocardless-open-banking)\n[![CI](https://github.com/nip10/gocardless-open-banking/actions/workflows/main.yml/badge.svg)](https://github.com/nip10/gocardless-open-banking/actions/workflows/main.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.9-blue.svg)](https://www.typescriptlang.org/)\n[![Test Coverage](https://img.shields.io/badge/coverage-91.7%25-brightgreen.svg)](https://github.com/nip10/gocardless-open-banking)\n\n## Features\n\n- 🎯 **Type-Safe**: Full TypeScript support with auto-generated types from OpenAPI spec\n- 🔄 **Automatic Token Management**: Handles JWT token generation, refresh, and expiry\n- 🔁 **Smart Retry Logic**: Configurable retry with linear/exponential backoff\n- ⚡ **Modern API**: Clean, Promise-based interface\n- 🪝 **Interceptors**: Request/response transformation hooks\n- 📦 **Tree-Shakeable**: ESM and CJS builds with minimal bundle size\n- ✅ **Well Tested**: 91.7% test coverage with 156+ tests\n\n## Installation\n\n```bash\nnpm install gocardless-open-banking\n```\n\n```bash\npnpm add gocardless-open-banking\n```\n\n```bash\nyarn add gocardless-open-banking\n```\n\n## Quick Start\n\n```typescript\nimport { GoCardlessClient } from 'gocardless-open-banking';\n\n// Initialize the client\nconst client = new GoCardlessClient({\n  secretId: process.env.GOCARDLESS_SECRET_ID!,\n  secretKey: process.env.GOCARDLESS_SECRET_KEY!,\n});\n\n// List available institutions in the UK\nconst institutions = await client.institutions.list('GB');\n\n// Create an end-user agreement\nconst agreement = await client.agreements.create({\n  institution_id: 'SANDBOXFINANCE_SFIN0000',\n  max_historical_days: 90,\n  access_valid_for_days: 90,\n  access_scope: ['balances', 'details', 'transactions'],\n});\n\n// Create a requisition for account access\nconst requisition = await client.requisitions.create({\n  redirect: 'https://your-app.com/callback',\n  institution_id: 'SANDBOXFINANCE_SFIN0000',\n  agreement: agreement.id,\n  reference: 'user-123',\n  user_language: 'en',\n});\n\n// After user completes authorization, get account details\nconst accounts = requisition.accounts;\nconst accountId = accounts[0];\n\n// Get account balances\nconst balances = await client.accounts.balances(accountId);\n\n// Get account transactions\nconst transactions = await client.accounts.transactions(accountId, {\n  dateFrom: '2024-01-01',\n  dateTo: '2024-12-31',\n});\n```\n\n## Authentication\n\nThe SDK automatically handles authentication using your GoCardless API credentials. Tokens are cached and automatically refreshed when needed.\n\n### Getting API Credentials\n\n1. Sign up at [GoCardless Bank Account Data](https://bankaccountdata.gocardless.com/)\n2. Navigate to User Secrets in the dashboard\n3. Create a new secret pair\n4. Copy your `Secret ID` and `Secret Key`\n\n### Environment Variables\n\n```bash\nGOCARDLESS_SECRET_ID=your_secret_id\nGOCARDLESS_SECRET_KEY=your_secret_key\n```\n\n## Usage Examples\n\n### Institutions\n\nList and retrieve information about supported banking institutions.\n\n```typescript\n// List institutions for a specific country\nconst ukBanks = await client.institutions.list('GB');\nconst germanBanks = await client.institutions.list('DE');\n\n// Get details for a specific institution\nconst institution = await client.institutions.get('SANDBOXFINANCE_SFIN0000');\nconsole.log(institution.name); // \"Sandbox Finance\"\nconsole.log(institution.countries); // [\"GB\"]\n```\n\n### Agreements\n\nManage end-user agreements that define data access permissions.\n\n```typescript\n// Create a new agreement\nconst agreement = await client.agreements.create({\n  institution_id: 'SANDBOXFINANCE_SFIN0000',\n  max_historical_days: 90,\n  access_valid_for_days: 90,\n  access_scope: ['balances', 'details', 'transactions'],\n});\n\n// List all agreements with pagination\nconst agreements = await client.agreements.list({\n  limit: 20,\n  offset: 0,\n});\n\n// Get a specific agreement\nconst agreementDetails = await client.agreements.get(agreement.id);\n\n// Accept an agreement\nconst acceptedAgreement = await client.agreements.accept(agreement.id, {\n  user_agent: 'Mozilla/5.0...',\n  ip_address: '192.168.1.1',\n});\n\n// Delete an agreement\nawait client.agreements.delete(agreement.id);\n```\n\n### Requisitions\n\nCreate and manage requisitions to obtain end-user consent for account access.\n\n```typescript\n// Create a requisition\nconst requisition = await client.requisitions.create({\n  redirect: 'https://your-app.com/callback',\n  institution_id: 'SANDBOXFINANCE_SFIN0000',\n  agreement: agreementId,\n  reference: 'user-123',\n  user_language: 'en',\n});\n\n// Direct user to the authorization link\nconsole.log(requisition.link); // User completes authorization here\n\n// List all requisitions\nconst requisitions = await client.requisitions.list({\n  limit: 10,\n  offset: 0,\n});\n\n// Get requisition details (after user authorization)\nconst requisitionDetails = await client.requisitions.get(requisition.id);\nconsole.log(requisitionDetails.status); // \"LN\" (Linked)\nconsole.log(requisitionDetails.accounts); // [\"account-id-1\", \"account-id-2\"]\n\n// Delete a requisition\nawait client.requisitions.delete(requisition.id);\n```\n\n### Accounts\n\nAccess account metadata, balances, details, and transactions.\n\n```typescript\nconst accountId = 'account-id-from-requisition';\n\n// Get account metadata\nconst account = await client.accounts.get(accountId);\nconsole.log(account.iban);\nconsole.log(account.status);\nconsole.log(account.owner_name);\n\n// Get account balances\nconst balances = await client.accounts.balances(accountId);\nbalances.balances.forEach((balance) =\u003e {\n  console.log(`${balance.balanceType}: ${balance.balanceAmount.amount} ${balance.balanceAmount.currency}`);\n});\n\n// Get account details\nconst details = await client.accounts.details(accountId);\nconsole.log(details.account.name);\nconsole.log(details.account.currency);\n\n// Get transactions without filters\nconst allTransactions = await client.accounts.transactions(accountId);\n\n// Get transactions with date filters\nconst filteredTransactions = await client.accounts.transactions(accountId, {\n  dateFrom: '2024-01-01',\n  dateTo: '2024-03-31',\n});\n\n// Process transactions\nfilteredTransactions.transactions.booked.forEach((tx) =\u003e {\n  console.log(`${tx.bookingDate}: ${tx.transactionAmount.amount} ${tx.transactionAmount.currency}`);\n  console.log(`Debtor: ${tx.debtorName || 'N/A'}`);\n  console.log(`Creditor: ${tx.creditorName || 'N/A'}`);\n});\n```\n\n## Configuration\n\n### Client Options\n\n```typescript\nconst client = new GoCardlessClient({\n  // Required\n  secretId: 'your-secret-id',\n  secretKey: 'your-secret-key',\n\n  // Optional\n  baseUrl: 'https://bankaccountdata.gocardless.com', // Default\n  timeout: 30000, // Request timeout in ms (default: 30000)\n\n  // Retry configuration\n  retry: {\n    maxRetries: 2, // Maximum retry attempts (default: 2)\n    retryableStatusCodes: [429], // Status codes to retry (default: [429])\n    backoff: 'linear', // 'linear' or 'exponential' (default: 'linear')\n    initialDelayMs: 1000, // Initial retry delay (default: 1000)\n    maxDelayMs: 30000, // Maximum retry delay (default: 30000)\n    respectRetryAfter: true, // Honor Retry-After header (default: true)\n  },\n\n  // Request/response interceptors\n  interceptors: {\n    request: [\n      async (config) =\u003e {\n        // Modify request config\n        console.log(`Making request to: ${config.url}`);\n        return config;\n      },\n    ],\n    response: [\n      async (response) =\u003e {\n        // Modify response\n        console.log(`Received response: ${response.status}`);\n        return response;\n      },\n    ],\n  },\n});\n```\n\n### Retry Strategies\n\n**Linear Backoff** (default):\n- Retry delay increases linearly: 1s, 2s, 3s...\n- Predictable and suitable for most use cases\n\n**Exponential Backoff**:\n- Retry delay doubles each time: 1s, 2s, 4s, 8s...\n- Better for handling rate limits and server congestion\n\n```typescript\nconst client = new GoCardlessClient({\n  secretId: process.env.GOCARDLESS_SECRET_ID!,\n  secretKey: process.env.GOCARDLESS_SECRET_KEY!,\n  retry: {\n    maxRetries: 3,\n    backoff: 'exponential',\n    initialDelayMs: 1000,\n    maxDelayMs: 60000,\n  },\n});\n```\n\n## Rate Limiting\n\nThe GoCardless API enforces rate limits to ensure fair usage. The SDK provides comprehensive rate limiting support to help you stay within limits.\n\n### Rate Limit Headers\n\nThe API returns rate limit information in response headers:\n\n- **General Rate Limits**:\n  - `X-RateLimit-Limit`: Total requests allowed per day\n  - `X-RateLimit-Remaining`: Remaining requests for today\n  - `X-RateLimit-Reset`: Unix timestamp when the limit resets\n\n- **Account Success Rate Limits** (for successful account data requests):\n  - `X-RateLimit-Account-Success-Limit`: Total successful account requests allowed per day\n  - `X-RateLimit-Account-Success-Remaining`: Remaining successful requests\n  - `X-RateLimit-Account-Success-Reset`: Unix timestamp when the account limit resets\n\n### Monitoring Rate Limits\n\n#### Get Last Rate Limit Info\n\n```typescript\n// Make a request\nconst institutions = await client.institutions.list('GB');\n\n// Check rate limit status\nconst rateLimit = client.getLastRateLimitInfo();\n\nif (rateLimit?.general) {\n  console.log(`Requests remaining: ${rateLimit.general.remaining}/${rateLimit.general.limit}`);\n\n  const resetDate = new Date(rateLimit.general.reset * 1000);\n  console.log(`Limit resets at: ${resetDate.toISOString()}`);\n}\n\nif (rateLimit?.accountSuccess) {\n  console.log(`Account success requests remaining: ${rateLimit.accountSuccess.remaining}/${rateLimit.accountSuccess.limit}`);\n}\n```\n\n#### Using the onRateLimit Callback\n\nFor real-time rate limit monitoring, use the `onRateLimit` callback:\n\n```typescript\nconst client = new GoCardlessClient({\n  secretId: process.env.GOCARDLESS_SECRET_ID!,\n  secretKey: process.env.GOCARDLESS_SECRET_KEY!,\n\n  // Called whenever rate limit headers are received\n  onRateLimit: (rateLimit) =\u003e {\n    if (rateLimit.general) {\n      console.log(`[Rate Limit] ${rateLimit.general.remaining}/${rateLimit.general.limit} requests remaining`);\n\n      // Alert when approaching limit\n      if (rateLimit.general.remaining \u003c 10) {\n        console.warn('Warning: Approaching rate limit!');\n      }\n    }\n\n    if (rateLimit.accountSuccess) {\n      console.log(`[Account Limit] ${rateLimit.accountSuccess.remaining}/${rateLimit.accountSuccess.limit} remaining`);\n    }\n  },\n});\n```\n\n### Handling Rate Limit Errors\n\nWhen you exceed the rate limit, the API returns a `429 Too Many Requests` error:\n\n```typescript\nimport { GoCardlessAPIError } from 'gocardless-open-banking';\n\ntry {\n  const accounts = await client.accounts.get('account-id');\n} catch (error) {\n  if (error instanceof GoCardlessAPIError \u0026\u0026 error.code === 'RATE_LIMIT_EXCEEDED') {\n    // Get retry-after time from error detail\n    const retryAfter = error.getRetryAfter();\n\n    if (retryAfter) {\n      console.log(`Rate limited. Retry after ${retryAfter} seconds`);\n\n      // Wait before retrying\n      await new Promise(resolve =\u003e setTimeout(resolve, retryAfter * 1000));\n\n      // Retry the request\n      const accounts = await client.accounts.get('account-id');\n    }\n\n    // Check rate limit info from the error\n    if (error.rateLimit?.general) {\n      const resetDate = new Date(error.rateLimit.general.reset * 1000);\n      console.log(`Rate limit resets at: ${resetDate.toISOString()}`);\n    }\n  }\n}\n```\n\n### Best Practices\n\n1. **Monitor Rate Limits Proactively**:\n   ```typescript\n   const rateLimit = client.getLastRateLimitInfo();\n\n   if (rateLimit?.general?.remaining \u0026\u0026 rateLimit.general.remaining \u003c 100) {\n     console.warn('Low rate limit remaining, consider throttling requests');\n   }\n   ```\n\n2. **Implement Exponential Backoff**:\n   ```typescript\n   const client = new GoCardlessClient({\n     secretId: process.env.GOCARDLESS_SECRET_ID!,\n     secretKey: process.env.GOCARDLESS_SECRET_KEY!,\n     retry: {\n       maxRetries: 3,\n       backoff: 'exponential', // Better for rate limits\n       respectRetryAfter: true, // Honor API's retry-after time\n     },\n   });\n   ```\n\n3. **Batch Requests Efficiently**:\n   ```typescript\n   // Use pagination to limit requests\n   const requisitions = await client.requisitions.list({\n     limit: 100, // Get more data per request\n     offset: 0,\n   });\n   ```\n\n## Error Handling\n\nThe SDK throws `GoCardlessAPIError` for all API-related errors.\n\n```typescript\nimport { GoCardlessAPIError } from 'gocardless-open-banking';\n\ntry {\n  const account = await client.accounts.get('invalid-id');\n} catch (error) {\n  if (error instanceof GoCardlessAPIError) {\n    console.error(`Error: ${error.message}`);\n    console.error(`Status: ${error.statusCode}`);\n    console.error(`Code: ${error.code}`);\n    console.error(`Detail: ${error.detail}`);\n\n    // Handle specific error codes\n    switch (error.code) {\n      case 'ACCOUNT_NOT_FOUND':\n        console.log('Account does not exist');\n        break;\n      case 'RATE_LIMIT_EXCEEDED':\n        const retryAfter = error.getRetryAfter();\n        console.log(`Rate limited. Retry after ${retryAfter} seconds`);\n        break;\n      case 'AUTHENTICATION_FAILED':\n        console.log('Invalid credentials');\n        break;\n      default:\n        console.log('Unknown error occurred');\n    }\n  } else {\n    // Network or other errors\n    console.error('Unexpected error:', error);\n  }\n}\n```\n\n### Common Error Codes\n\n| Code | Status | Description |\n|------|--------|-------------|\n| `ACCOUNT_NOT_FOUND` | 404 | Account ID does not exist |\n| `REQUISITION_NOT_FOUND` | 404 | Requisition ID does not exist |\n| `AGREEMENT_NOT_FOUND` | 404 | Agreement ID does not exist |\n| `VALIDATION_ERROR` | 400 | Invalid request data |\n| `AUTHENTICATION_FAILED` | 401 | Invalid credentials |\n| `PAYMENT_REQUIRED` | 402 | Free usage limit exceeded |\n| `FORBIDDEN` | 403 | Access denied |\n| `IP_NOT_WHITELISTED` | 403 | IP address not allowed |\n| `CONFLICT` | 409 | Account suspended or processing delay |\n| `RATE_LIMIT_EXCEEDED` | 429 | Too many requests |\n| `INTERNAL_SERVER_ERROR` | 500 | Server error |\n| `BAD_GATEWAY` | 502 | Bad gateway |\n| `SERVICE_UNAVAILABLE` | 503 | Service temporarily unavailable |\n| `GATEWAY_TIMEOUT` | 504 | Gateway timeout |\n\n## TypeScript Support\n\nThe SDK is written in TypeScript and includes comprehensive type definitions.\n\n```typescript\nimport type {\n  Account,\n  AccountBalance,\n  AccountTransactions,\n  Requisition,\n  EndUserAgreement,\n  Integration,\n} from 'gocardless-open-banking';\n\n// All API responses are fully typed\nconst account: Account = await client.accounts.get(accountId);\nconst balances: AccountBalance = await client.accounts.balances(accountId);\nconst transactions: AccountTransactions = await client.accounts.transactions(accountId);\n```\n\n## Advanced Usage\n\n### Request Interceptors\n\nModify requests before they're sent:\n\n```typescript\nconst client = new GoCardlessClient({\n  secretId: process.env.GOCARDLESS_SECRET_ID!,\n  secretKey: process.env.GOCARDLESS_SECRET_KEY!,\n  interceptors: {\n    request: [\n      // Add custom headers\n      async (config) =\u003e {\n        config.headers['X-Custom-Header'] = 'value';\n        return config;\n      },\n      // Log requests\n      async (config) =\u003e {\n        console.log(`[${config.method}] ${config.url}`);\n        return config;\n      },\n    ],\n  },\n});\n```\n\n### Response Interceptors\n\nTransform responses before they're returned:\n\n```typescript\nconst client = new GoCardlessClient({\n  secretId: process.env.GOCARDLESS_SECRET_ID!,\n  secretKey: process.env.GOCARDLESS_SECRET_KEY!,\n  interceptors: {\n    response: [\n      // Log responses\n      async (response) =\u003e {\n        console.log(`Response status: ${response.status}`);\n        return response;\n      },\n    ],\n  },\n});\n```\n\n### Custom Timeout\n\nAdjust timeout for specific operations:\n\n```typescript\nconst client = new GoCardlessClient({\n  secretId: process.env.GOCARDLESS_SECRET_ID!,\n  secretKey: process.env.GOCARDLESS_SECRET_KEY!,\n  timeout: 60000, // 60 seconds for slow connections\n});\n```\n\n## API Reference\n\n### Client\n\n#### `new GoCardlessClient(config)`\n\nCreates a new GoCardless client instance.\n\n**Parameters:**\n- `config.secretId` (string, required): Your GoCardless Secret ID\n- `config.secretKey` (string, required): Your GoCardless Secret Key\n- `config.baseUrl` (string, optional): API base URL (default: `https://bankaccountdata.gocardless.com`)\n- `config.timeout` (number, optional): Request timeout in ms (default: 30000)\n- `config.retry` (object, optional): Retry configuration\n- `config.interceptors` (object, optional): Request/response interceptors\n\n### Institutions\n\n#### `client.institutions.list(country: string): Promise\u003cIntegration[]\u003e`\n\nList all supported institutions in a country.\n\n#### `client.institutions.get(institutionId: string): Promise\u003cIntegration\u003e`\n\nGet details for a specific institution.\n\n### Agreements\n\n#### `client.agreements.list(options?): Promise\u003cPaginatedEndUserAgreementList\u003e`\n\nList all agreements with optional pagination.\n\n#### `client.agreements.get(agreementId: string): Promise\u003cEndUserAgreement\u003e`\n\nGet a specific agreement.\n\n#### `client.agreements.create(data: EndUserAgreementRequest): Promise\u003cEndUserAgreement\u003e`\n\nCreate a new end-user agreement.\n\n#### `client.agreements.accept(agreementId: string, data: EnduserAcceptanceDetailsRequest): Promise\u003cEndUserAgreement\u003e`\n\nAccept an agreement.\n\n#### `client.agreements.delete(agreementId: string): Promise\u003cvoid\u003e`\n\nDelete an agreement.\n\n### Requisitions\n\n#### `client.requisitions.list(options?): Promise\u003cPaginatedRequisitionList\u003e`\n\nList all requisitions with optional pagination.\n\n#### `client.requisitions.get(requisitionId: string): Promise\u003cRequisition\u003e`\n\nGet a specific requisition.\n\n#### `client.requisitions.create(data: RequisitionRequest): Promise\u003cRequisition\u003e`\n\nCreate a new requisition.\n\n#### `client.requisitions.delete(requisitionId: string): Promise\u003cvoid\u003e`\n\nDelete a requisition.\n\n### Accounts\n\n#### `client.accounts.get(accountId: string): Promise\u003cAccount\u003e`\n\nGet account metadata.\n\n#### `client.accounts.balances(accountId: string): Promise\u003cAccountBalance\u003e`\n\nGet account balances.\n\n#### `client.accounts.details(accountId: string): Promise\u003cAccountDetail\u003e`\n\nGet account details.\n\n#### `client.accounts.transactions(accountId: string, options?): Promise\u003cAccountTransactions\u003e`\n\nGet account transactions with optional date filters.\n\n**Options:**\n- `dateFrom` (string, optional): Start date (YYYY-MM-DD)\n- `dateTo` (string, optional): End date (YYYY-MM-DD)\n\n## Testing\n\nThe SDK includes comprehensive test coverage:\n\n```bash\n# Run tests\npnpm test\n\n# Run tests with coverage\npnpm coverage\n\n# Run tests in watch mode\npnpm test:ui\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\n[MIT](LICENSE)\n\n## Resources\n\n- [GoCardless Bank Account Data API Documentation](https://developer.gocardless.com/bank-account-data/overview)\n- [API Reference](https://developer.gocardless.com/bank-account-data/endpoints)\n- [Support](https://support.gocardless.com/)\n\n## Changelog\n\nSee [Releases](https://github.com/nip10/gocardless-open-banking/releases) for release history.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnip10%2Fgocardless-open-banking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnip10%2Fgocardless-open-banking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnip10%2Fgocardless-open-banking/lists"}