{"openapi":"3.1.0","info":{"title":"Endpoints","version":"1.6.5"},"paths":{"/digital-banking/v1/accounts":{"get":{"tags":["Accounts"],"summary":"List Accounts","operationId":"list_accounts_digital_banking_v1_accounts_get","security":[{"HTTPBearer":["read:digital-banking","write:retool-override"]}],"parameters":[{"name":"statuses","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/AccountStatus"}},{"type":"null"}],"description":"Filter accounts by status. May be specified multiple times (e.g. ?statuses=CLOSED&statuses=SCHEDULED_FOR_CLOSURE). If omitted, accounts of all statuses are returned.","title":"Statuses"},"description":"Filter accounts by status. May be specified multiple times (e.g. ?statuses=CLOSED&statuses=SCHEDULED_FOR_CLOSURE). If omitted, accounts of all statuses are returned."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountResponse"},"title":"Response List Accounts Digital Banking V1 Accounts Get"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["accounts"],"x-fern-sdk-method-name":"list"},"post":{"tags":["Accounts"],"summary":"Create Account","operationId":"create_account_digital_banking_v1_accounts_post","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"idempotency-key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAccountRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["accounts"],"x-fern-sdk-method-name":"create"}},"/digital-banking/v1/accounts/{account_id}":{"get":{"tags":["Accounts"],"summary":"Get Account","operationId":"get_account_digital_banking_v1_accounts__account_id__get","security":[{"HTTPBearer":["read:digital-banking"]}],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Account Id"}},{"name":"id_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/IdType"},{"type":"null"}],"description":"Type of the account id. Must be 'institution' or 'None'.","title":"Id Type"},"description":"Type of the account id. Must be 'institution' or 'None'."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["accounts"],"x-fern-sdk-method-name":"get"},"patch":{"tags":["Accounts"],"summary":"Update Account","description":"Updates an account. Note: account_type is immutable and cannot be changed after creation.","operationId":"update_account_digital_banking_v1_accounts__account_id__patch","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAccountRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["accounts"],"x-fern-sdk-method-name":"update"},"delete":{"tags":["Accounts"],"summary":"Close Account","description":"This endpoint closes an account after verifying access. The account's ledger balance must be zero before closure: requests for accounts with a non-zero balance are rejected. Withdraw remaining funds first, via your integration or a booked withdrawal.","operationId":"close_account_digital_banking_v1_accounts__account_id__delete","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloseAccountResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["accounts"],"x-fern-sdk-method-name":"close"}},"/digital-banking/v1/accounts/{account_id}/allocation":{"get":{"tags":["Accounts"],"summary":"Get Account Allocation","operationId":"get_account_allocation_digital_banking_v1_accounts__account_id__allocation_get","security":[{"HTTPBearer":["read:digital-banking"]}],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Account Id"}},{"name":"id_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/IdType"},{"type":"null"}],"description":"Type of the account id. Must be 'institution' or 'None'.","title":"Id Type"},"description":"Type of the account id. Must be 'institution' or 'None'."},{"name":"run_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The date for which to retrieve allocation data. If not provided, uses the most recent run date.","title":"Run Date"},"description":"The date for which to retrieve allocation data. If not provided, uses the most recent run date."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllocationResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["accounts"],"x-fern-sdk-method-name":"getAllocation"}},"/digital-banking/v1/accounts/{account_id}/signer-primary-tin":{"get":{"tags":["Accounts"],"summary":"Get Account Signer Primary Tin","operationId":"get_account_signer_primary_tin_digital_banking_v1_accounts__account_id__signer_primary_tin_get","security":[{"HTTPBearer":["read:digital-banking","read:retool-override"]}],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountTINResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["accounts"],"x-fern-sdk-method-name":"getSignerPrimaryTin"}},"/digital-banking/v1/accounts/{account_id}/beneficiary-tin":{"get":{"tags":["Accounts"],"summary":"Get Account Beneficiary Tin","operationId":"get_account_beneficiary_tin_digital_banking_v1_accounts__account_id__beneficiary_tin_get","security":[{"HTTPBearer":["read:digital-banking","read:retool-override"]}],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountTINResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["accounts"],"x-fern-sdk-method-name":"getBeneficiaryTin"}},"/digital-banking/v1/custom-benchmarks":{"get":{"tags":["Custom Benchmarks"],"summary":"List Custom Benchmarks","description":"List all custom benchmarks for the institution, including their current rates.","operationId":"list_custom_benchmarks","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"},"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthenticated: Invalid or expired token"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthorized: User does not have access to this resource"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":["read:digital-banking","write:retool-override"]}],"x-fern-sdk-group-name":"custom-benchmarks","x-fern-sdk-method-name":"list"},"post":{"tags":["Custom Benchmarks"],"summary":"Create Custom Benchmark","description":"Create a new custom benchmark with an initial rate. Custom benchmarks allow institutions to define their own rate indices that can be referenced by account rate tiers. When a custom benchmark's rate is updated, all accounts using it in their rate tiers will automatically receive the new rate.","operationId":"create_custom_benchmark","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCustomBenchmarkRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"},"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthenticated: Invalid or expired token"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthorized: User does not have access to this resource"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"x-fern-sdk-group-name":"custom-benchmarks","x-fern-sdk-method-name":"create"}},"/digital-banking/v1/custom-benchmarks/{custom_benchmark_id}":{"get":{"tags":["Custom Benchmarks"],"summary":"Get Custom Benchmark","description":"Retrieve details for a specific custom benchmark, including its current rate.","operationId":"get_custom_benchmark","security":[{"HTTPBearer":["read:digital-banking","write:retool-override"]}],"parameters":[{"name":"custom_benchmark_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Custom Benchmark Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"custom-benchmarks","x-fern-sdk-method-name":"get"},"patch":{"tags":["Custom Benchmarks"],"summary":"Patch Custom Benchmark","description":"Update a custom benchmark's name and/or description. This endpoint does not affect rates. Use PUT /custom-benchmarks/{id} to add new rates.","operationId":"patch_custom_benchmark","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"custom_benchmark_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Custom Benchmark Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchCustomBenchmarkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"custom-benchmarks","x-fern-sdk-method-name":"patch"},"put":{"tags":["Custom Benchmarks"],"summary":"Update Custom Benchmark Rate","description":"Add a new rate to a custom benchmark. The new rate will automatically cascade to all accounts that reference this benchmark in their rate tiers on the specified effective date. This creates a new rate entry while preserving historical rate data.","operationId":"update_custom_benchmark_rate","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"custom_benchmark_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Custom Benchmark Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCustomBenchmarkRateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"custom-benchmarks","x-fern-sdk-method-name":"update_rate"},"delete":{"tags":["Custom Benchmarks"],"summary":"Delete Custom Benchmark","description":"Delete a custom benchmark. This operation will fail if the benchmark is currently referenced by any account or pricing group rate tiers. Remove all tier references before deleting.","operationId":"delete_custom_benchmark","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"custom_benchmark_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Custom Benchmark Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"custom-benchmarks","x-fern-sdk-method-name":"delete"}},"/digital-banking/v1/depositors":{"post":{"tags":["Depositors"],"summary":"Create Depositor","operationId":"create_depositor_digital_banking_v1_depositors_post","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"idempotency-key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDepositorRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositorResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["depositors"],"x-fern-sdk-method-name":"create"},"get":{"tags":["Depositors"],"summary":"List Depositors","operationId":"list_depositors_digital_banking_v1_depositors_get","security":[{"HTTPBearer":["read:digital-banking","read:retool-override"]}],"parameters":[{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search by first name, last name, or entity name (case-insensitive partial match).","title":"Name"},"description":"Search by first name, last name, or entity name (case-insensitive partial match)."},{"name":"institution_depositor_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by exact institution depositor ID.","title":"Institution Depositor Id"},"description":"Filter by exact institution depositor ID."},{"name":"depositor_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/DepositorType"},{"type":"null"}],"description":"Filter by depositor type.","title":"Depositor Type"},"description":"Filter by depositor type."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DepositorResponse"},"title":"Response List Depositors Digital Banking V1 Depositors Get"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["depositors"],"x-fern-sdk-method-name":"list"}},"/digital-banking/v1/depositors/{depositor_id}":{"get":{"tags":["Depositors"],"summary":"Get Depositor","operationId":"get_depositor_digital_banking_v1_depositors__depositor_id__get","security":[{"HTTPBearer":["read:digital-banking"]}],"parameters":[{"name":"depositor_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Depositor Id"}},{"name":"id_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/IdType"},{"type":"null"}],"description":"Type of the depositor id. Must be 'institution' or 'None'.","title":"Id Type"},"description":"Type of the depositor id. Must be 'institution' or 'None'."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositorResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["depositors"],"x-fern-sdk-method-name":"get"},"patch":{"tags":["Depositors"],"summary":"Update Depositor","operationId":"update_depositor_digital_banking_v1_depositors__depositor_id__patch","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"depositor_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Depositor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDepositorRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositorResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/digital-banking/v1/depositors/{depositor_id}/tin":{"get":{"tags":["Depositors"],"summary":"Get Depositor Tin","operationId":"get_depositor_tin_digital_banking_v1_depositors__depositor_id__tin_get","security":[{"HTTPBearer":["read:digital-banking","read:retool-override"]}],"parameters":[{"name":"depositor_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Depositor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositorTINResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["depositors"],"x-fern-sdk-method-name":"getTin"}},"/digital-banking/v1/files/statements":{"get":{"tags":["Files"],"summary":"Get Statements","operationId":"get_statements_digital_banking_v1_files_statements_get","security":[{"HTTPBearer":["read:digital-banking"]}],"parameters":[{"name":"statement_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/StatementType","description":"Type of statement to retrieve. Account statements require account_id. Institution statements require institution_id."},"description":"Type of statement to retrieve. Account statements require account_id. Institution statements require institution_id."},{"name":"account_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"description":"Required for account-level statement types.","title":"Account Id"},"description":"Required for account-level statement types."},{"name":"institution_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Required for institution-level statement types.","title":"Institution Id"},"description":"Required for institution-level statement types."},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Filter to include only statements after this date (inclusive).","title":"Start Date"},"description":"Filter to include only statements after this date (inclusive)."},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Filter to include only statements before this date (inclusive)","title":"End Date"},"description":"Filter to include only statements before this date (inclusive)"},{"name":"id_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/IdType"},{"type":"null"}],"description":"Type of the account id. Must be 'institution' or 'None'.","title":"Id Type"},"description":"Type of the account id. Must be 'institution' or 'None'."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatementsResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/digital-banking/v1/files/account-monthly-statement-config":{"get":{"tags":["Files"],"summary":"Get Account Monthly Statement Config","operationId":"get_account_monthly_statement_config_digital_banking_v1_files_account_monthly_statement_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMonthlyStatementConfigResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"},"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthenticated: Invalid or expired token"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthorized: User does not have access to this resource"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":["read:digital-banking","write:retool-override"]}]},"post":{"tags":["Files"],"summary":"Post Account Monthly Statement Config","operationId":"post_account_monthly_statement_config_digital_banking_v1_files_account_monthly_statement_config_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMonthlyStatementConfigRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMonthlyStatementConfigResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"},"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthenticated: Invalid or expired token"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthorized: User does not have access to this resource"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}]}},"/digital-banking/v1/files/preview-account-monthly-statement":{"get":{"tags":["Files"],"summary":"Get Preview Account Monthly Statement","operationId":"get_preview_account_monthly_statement_digital_banking_v1_files_preview_account_monthly_statement_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"},"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthenticated: Invalid or expired token"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthorized: User does not have access to this resource"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":["read:digital-banking","write:retool-override"]}]}},"/digital-banking/v1/files/{file_id}":{"get":{"tags":["Files"],"summary":"Get File","operationId":"get_file_digital_banking_v1_files__file_id__get","security":[{"HTTPBearer":["read:digital-banking"]}],"parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"File Id"}},{"name":"account_id","in":"query","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Account Id"}},{"name":"id_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/IdType"},{"type":"null"}],"description":"Type of the account id. Must be 'institution' or 'None'.","title":"Id Type"},"description":"Type of the account id. Must be 'institution' or 'None'."},{"name":"response_type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/FileResponseType","description":"Form of the response. 'presigned_url' (default) returns a JSON object with a short-lived presigned download URL. 'file' streams the file back directly as raw bytes (Content-Type derived from the file, e.g. application/pdf or text/csv), for callers that cannot fetch presigned URLs.","default":"presigned_url"},"description":"Form of the response. 'presigned_url' (default) returns a JSON object with a short-lived presigned download URL. 'file' streams the file back directly as raw bytes (Content-Type derived from the file, e.g. application/pdf or text/csv), for callers that cannot fetch presigned URLs."}],"responses":{"200":{"description":"When response_type=file, the file is streamed back directly as raw bytes, with a Content-Type derived from the file (e.g. application/pdf or text/csv). Otherwise a JSON object containing a presigned_url is returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileResponse"}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/digital-banking/v1/accounts/{account_id}/transactions":{"post":{"tags":["Transactions"],"summary":"Create Transaction","operationId":"create_transaction_digital_banking_v1_accounts__account_id__transactions_post","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Account Id"}},{"name":"id_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/IdType"},{"type":"null"}],"description":"Type of the account id. Must be 'institution' or 'None'.","title":"Id Type"},"description":"Type of the account id. Must be 'institution' or 'None'."},{"name":"idempotency-key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":64,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTransactionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["transactions"],"x-fern-sdk-method-name":"create"},"get":{"tags":["Transactions"],"summary":"List Transactions","description":"Retrieves all transactions for the specified account with optional filtering.\n\nFilter options:\n- Date-based filtering: Use start_date, end_date, and timezone together\n- Datetime-based filtering: Use start_datetime and end_datetime (timezone-aware, e.g., 2026-02-17T00:00:00Z)\n- Cannot mix date and datetime filters\n- Filter by transaction_type (CREDIT/DEBIT) and transaction_status (PENDING/POSTED)","operationId":"list_transactions_digital_banking_v1_accounts__account_id__transactions_get","security":[{"HTTPBearer":["read:digital-banking"]}],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Account Id"}},{"name":"id_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/IdType"},{"type":"null"}],"description":"Type of the account id. Must be 'institution' or 'None'.","title":"Id Type"},"description":"Type of the account id. Must be 'institution' or 'None'."},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}},{"name":"start_datetime","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Datetime"}},{"name":"end_datetime","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Datetime"}},{"name":"transaction_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TransactionTypeFilter"},{"type":"null"}],"title":"Transaction Type"}},{"name":"transaction_status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TransactionStatusFilter"},{"type":"null"}],"title":"Transaction Status"}},{"name":"page","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Page Size"}},{"name":"timezone","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"enum":["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Timbuktu","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/ComodRivadavia","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Atka","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Ciudad_Juarez","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Coyhaique","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Ensenada","America/Fort_Nelson","America/Fort_Wayne","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Knox_IN","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Nuuk","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Acre","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Rosario","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Shiprock","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Virgin","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/South_Pole","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Ashkhabad","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Chongqing","Asia/Chungking","Asia/Colombo","Asia/Dacca","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Harbin","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Istanbul","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kashgar","Asia/Kathmandu","Asia/Katmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macao","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Tel_Aviv","Asia/Thimbu","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ujung_Pandang","Asia/Ulaanbaatar","Asia/Ulan_Bator","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Faroe","Atlantic/Jan_Mayen","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/ACT","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Canberra","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/LHI","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/NSW","Australia/North","Australia/Perth","Australia/Queensland","Australia/South","Australia/Sydney","Australia/Tasmania","Australia/Victoria","Australia/West","Australia/Yancowinna","Brazil/Acre","Brazil/DeNoronha","Brazil/East","Brazil/West","CET","CST6CDT","Canada/Atlantic","Canada/Central","Canada/Eastern","Canada/Mountain","Canada/Newfoundland","Canada/Pacific","Canada/Saskatchewan","Canada/Yukon","Chile/Continental","Chile/EasterIsland","Cuba","EET","EST","EST5EDT","Egypt","Eire","Etc/GMT","Etc/GMT+0","Etc/GMT+1","Etc/GMT+10","Etc/GMT+11","Etc/GMT+12","Etc/GMT+2","Etc/GMT+3","Etc/GMT+4","Etc/GMT+5","Etc/GMT+6","Etc/GMT+7","Etc/GMT+8","Etc/GMT+9","Etc/GMT-0","Etc/GMT-1","Etc/GMT-10","Etc/GMT-11","Etc/GMT-12","Etc/GMT-13","Etc/GMT-14","Etc/GMT-2","Etc/GMT-3","Etc/GMT-4","Etc/GMT-5","Etc/GMT-6","Etc/GMT-7","Etc/GMT-8","Etc/GMT-9","Etc/GMT0","Etc/Greenwich","Etc/UCT","Etc/UTC","Etc/Universal","Etc/Zulu","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belfast","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Kyiv","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Tiraspol","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Factory","GB","GB-Eire","GMT","GMT+0","GMT-0","GMT0","Greenwich","HST","Hongkong","Iceland","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Iran","Israel","Jamaica","Japan","Kwajalein","Libya","MET","MST","MST7MDT","Mexico/BajaNorte","Mexico/BajaSur","Mexico/General","NZ","NZ-CHAT","Navajo","PRC","PST8PDT","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kanton","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Samoa","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","Pacific/Yap","Poland","Portugal","ROC","ROK","Singapore","Turkey","UCT","US/Alaska","US/Aleutian","US/Arizona","US/Central","US/East-Indiana","US/Eastern","US/Hawaii","US/Indiana-Starke","US/Michigan","US/Mountain","US/Pacific","US/Samoa","UTC","Universal","W-SU","WET","Zulu","localtime"]},{"type":"null"}],"title":"Timezone"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionResponse"},"title":"Response List Transactions Digital Banking V1 Accounts  Account Id  Transactions Get"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["transactions"],"x-fern-sdk-method-name":"list"}},"/digital-banking/v1/accounts/{account_id}/transactions/{transaction_id}":{"get":{"tags":["Transactions"],"summary":"Get Transaction","operationId":"get_transaction_digital_banking_v1_accounts__account_id__transactions__transaction_id__get","security":[{"HTTPBearer":["read:digital-banking"]}],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"}},{"name":"transaction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Transaction Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["transactions"],"x-fern-sdk-method-name":"get"},"patch":{"tags":["Transactions"],"summary":"Update Transaction","operationId":"update_transaction_digital_banking_v1_accounts__account_id__transactions__transaction_id__patch","security":[{"HTTPBearer":["read:digital-banking","write:retool-override"]}],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Account Id"}},{"name":"transaction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Transaction Id"}},{"name":"id_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/IdType"},{"type":"null"}],"description":"Type of the account id. Must be 'institution' or 'None'.","title":"Id Type"},"description":"Type of the account id. Must be 'institution' or 'None'."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTransactionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResponse"}}}},"204":{"description":"Successful Response"},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["transactions"],"x-fern-sdk-method-name":"update"}},"/digital-banking/v1/pricing-groups":{"get":{"tags":["Pricing Groups"],"summary":"List Pricing Groups","description":"List all pricing groups for the institution, including account counts and current rate tiers.","operationId":"list_pricing_groups_digital_banking_v1_pricing_groups_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PricingGroupResponse"},"type":"array","title":"Response List Pricing Groups Digital Banking V1 Pricing Groups Get"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"},"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthenticated: Invalid or expired token"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthorized: User does not have access to this resource"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"x-fern-sdk-group-name":["pricingGroups"],"x-fern-sdk-method-name":"list"},"post":{"tags":["Pricing Groups"],"summary":"Create Pricing Group","description":"Create a new pricing group with rate tiers. Pricing groups allow institutions to manage interest rates at scale by defining reusable rate structures that can be assigned to multiple accounts. When a pricing group's rates are updated, all assigned accounts receive the new rates automatically.","operationId":"create_pricing_group_digital_banking_v1_pricing_groups_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePricingGroupRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingGroupResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"},"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthenticated: Invalid or expired token"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"Unauthorized: User does not have access to this resource"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"},"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"x-fern-sdk-group-name":["pricingGroups"],"x-fern-sdk-method-name":"create"}},"/digital-banking/v1/pricing-groups/{pricing_group_id}":{"get":{"tags":["Pricing Groups"],"summary":"Get Pricing Group","description":"Retrieve details for a specific pricing group, including its rate tiers and account count.","operationId":"get_pricing_group_digital_banking_v1_pricing_groups__pricing_group_id__get","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"pricing_group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pricing Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingGroupResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["pricingGroups"],"x-fern-sdk-method-name":"get"},"patch":{"tags":["Pricing Groups"],"summary":"Update Pricing Group Metadata","description":"Update pricing group name and/or description. This endpoint does not affect rates or account assignments. Use PUT /pricing-groups/{id}/rates to update rates.","operationId":"update_pricing_group_metadata_digital_banking_v1_pricing_groups__pricing_group_id__patch","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"pricing_group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pricing Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePricingGroupMetadataRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingGroupResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["pricingGroups"],"x-fern-sdk-method-name":"updateMetadata"},"delete":{"tags":["Pricing Groups"],"summary":"Delete Pricing Group","description":"Delete a pricing group. This operation will fail if any accounts are currently assigned to this pricing group. Unassign accounts first before deleting.","operationId":"delete_pricing_group_digital_banking_v1_pricing_groups__pricing_group_id__delete","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"pricing_group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pricing Group Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["pricingGroups"],"x-fern-sdk-method-name":"delete"}},"/digital-banking/v1/pricing-groups/{pricing_group_id}/rates":{"put":{"tags":["Pricing Groups"],"summary":"Update Pricing Group Rates","description":"Update the rate tiers for a pricing group. The new rates will automatically cascade to all accounts assigned to this pricing group on the specified effective date. This creates a new rate tier version while preserving historical rate data.","operationId":"update_pricing_group_rates_digital_banking_v1_pricing_groups__pricing_group_id__rates_put","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"pricing_group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pricing Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePricingGroupRatesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingGroupResponse"}}}},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["pricingGroups"],"x-fern-sdk-method-name":"updateRates"}},"/digital-banking/v1/pricing-groups/{pricing_group_id}/accounts":{"post":{"tags":["Pricing Groups"],"summary":"Assign Accounts To Pricing Group","description":"Assign multiple accounts to a pricing group. The pricing group's current rate structure will be copied to all assigned accounts. If accounts are already assigned to a different pricing group, they will be reassigned and receive the new rates.","operationId":"assign_accounts_to_pricing_group_digital_banking_v1_pricing_groups__pricing_group_id__accounts_post","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"pricing_group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pricing Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignAccountsToPricingGroupRequest"}}}},"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["pricingGroups"],"x-fern-sdk-method-name":"assignAccounts"},"delete":{"tags":["Pricing Groups"],"summary":"Unassign Accounts From Pricing Group","description":"Unassign multiple accounts from a pricing group. Accounts will retain their current rates but will no longer receive automatic updates when the pricing group rates change. Future rate changes for these accounts must be made individually or by assigning them to a different pricing group.","operationId":"unassign_accounts_from_pricing_group_digital_banking_v1_pricing_groups__pricing_group_id__accounts_delete","security":[{"HTTPBearer":["write:digital-banking","write:retool-override"]}],"parameters":[{"name":"pricing_group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pricing Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnassignAccountsRequest"}}}},"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request - Invalid input or validation error","content":{"application/json":{"example":{"detail":[{"loc":["body","field_name"],"msg":"field required","type":"value_error.missing"}]},"schema":{"$ref":"#/components/schemas/ValidationErrorDetail"}}}},"401":{"description":"Unauthenticated - Invalid or missing authentication credentials","content":{"application/json":{"example":{"detail":"Unauthenticated: Invalid or expired token"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"403":{"description":"Unauthorized - Insufficient permissions to access resource","content":{"application/json":{"example":{"detail":"Unauthorized: User does not have access to this resource"},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"example":{"detail":"An unexpected error occurred on our side and we have been alerted. Please try again later and reach out if the issue persists."},"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["pricingGroups"],"x-fern-sdk-method-name":"unassignAccounts"}}},"components":{"schemas":{"AccountData":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"}},"type":"object","required":["id","title"],"title":"AccountData"},"AccountMonthlyStatementConfigRequest":{"properties":{"statement_title":{"anyOf":[{"type":"string","maxLength":125},{"type":"null"}],"title":"Statement Title","description":"Custom statement title. Leave blank or null to use the default title."},"disclosures_paragraph":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Disclosures Paragraph","description":"Disclosures text displayed at the bottom of each page. Leave blank or null to omit."},"contact_and_mailing_info":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Contact And Mailing Info","description":"Contact and mailing information shown on the statement. Supports multiple lines."},"closing_paragraph":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Closing Paragraph","description":"Closing message displayed at the end of the statement. Leave blank or null to use the default text."},"is_regulatory_mark":{"type":"boolean","title":"Is Regulatory Mark","description":"Indicates whether to display the regulatory mark."},"is_account_id_masking":{"type":"boolean","title":"Is Account Id Masking","description":"Determines whether account numbers should be masked."}},"type":"object","required":["is_regulatory_mark","is_account_id_masking"],"title":"AccountMonthlyStatementConfigRequest"},"AccountMonthlyStatementConfigResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique ID of the statement config"},"institution_id":{"type":"string","format":"uuid","title":"Institution Id","description":"Institution this config belongs to"},"statement_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Statement Title","description":"Header title on the statement"},"disclosures_paragraph":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disclosures Paragraph","description":"Disclosures text at the bottom of the statement"},"contact_and_mailing_info":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact And Mailing Info","description":"Contact info displayed in the statement footer"},"closing_paragraph":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closing Paragraph","description":"Closing message or signature text"},"is_regulatory_mark":{"type":"boolean","title":"Is Regulatory Mark","description":"Show the regulatory mark on the statement"},"is_account_id_masking":{"type":"boolean","title":"Is Account Id Masking","description":"Mask account numbers on the statement"}},"type":"object","required":["id","institution_id","is_regulatory_mark","is_account_id_masking"],"title":"AccountMonthlyStatementConfigResponse"},"AccountResponse":{"properties":{"id":{"type":"string","title":"Id"},"institution_id":{"type":"string","title":"Institution Id"},"signer_primary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer Primary"},"signer_primary_tin_last4":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer Primary Tin Last4"},"account_title":{"type":"string","title":"Account Title"},"interest_rate":{"type":"string","title":"Interest Rate"},"interest_rate_tiers":{"items":{"$ref":"#/components/schemas/InterestRateTierResponse"},"type":"array","title":"Interest Rate Tiers"},"insurance_limit":{"type":"string","title":"Insurance Limit"},"account_type":{"$ref":"#/components/schemas/AccountType"},"created_at":{"type":"string","title":"Created At"},"is_joint_account":{"type":"boolean","title":"Is Joint Account"},"total_balance":{"type":"string","title":"Total Balance"},"pending_balance":{"type":"string","title":"Pending Balance"},"closed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closed At"},"signer_secondary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer Secondary"},"beneficiary_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Beneficiary Name"},"beneficiary_tin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Beneficiary Tin"},"beneficiary_tin_last4":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Beneficiary Tin Last4"},"institution_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Account Id","deprecated":true},"institution_sweep_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Sweep Account Id"},"institution_return_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Return Account Id"},"institution_branch_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Branch Id"},"institution_alternative_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Alternative Id","deprecated":true},"cost_center_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cost Center Id"},"cost_center_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cost Center Code"},"depositors":{"anyOf":[{"items":{"$ref":"#/components/schemas/DepositorResponse"},"type":"array"},{"type":"null"}],"title":"Depositors"},"managed_sweep_target_balance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Managed Sweep Target Balance"},"shadow_account":{"anyOf":[{"$ref":"#/components/schemas/ShadowAccountResponse"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"pricing_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pricing Group Id"},"is_reciprocation_prioritized":{"type":"boolean","title":"Is Reciprocation Prioritized"},"is_receiving_printed_statements":{"type":"boolean","title":"Is Receiving Printed Statements"},"rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rate"},"floating_spread":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Floating Spread"},"floating_spread_bps":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Floating Spread Bps"},"rate_index_type":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRateType"},{"type":"null"}]},"floating_rate_percentage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Floating Rate Percentage"},"index_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Index Rate"},"custom_benchmark_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Benchmark Id"},"custom_benchmark_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Benchmark Rate"},"rate_configuration":{"$ref":"#/components/schemas/RateConfiguration"},"account_officer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Officer","description":"Account officer assigned to this account"},"is_non_interest_bearing":{"type":"boolean","title":"Is Non Interest Bearing","description":"Whether this account is non-interest-bearing","default":false},"custom_field_1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Field 1","description":"Custom field 1"},"custom_field_2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Field 2","description":"Custom field 2"},"custom_field_3":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Field 3","description":"Custom field 3"},"custom_field_4":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Field 4","description":"Custom field 4"}},"type":"object","required":["id","institution_id","signer_primary","account_title","interest_rate","interest_rate_tiers","insurance_limit","account_type","created_at","is_joint_account","total_balance","pending_balance","is_reciprocation_prioritized","is_receiving_printed_statements","rate_configuration"],"title":"AccountResponse"},"AccountStatus":{"type":"string","enum":["OPEN","SCHEDULED_FOR_CLOSURE","CLOSED"],"title":"AccountStatus"},"AccountTINResponse":{"properties":{"tin":{"type":"string","title":"Tin","description":"The full decrypted TIN"}},"type":"object","required":["tin"],"title":"AccountTINResponse"},"AccountType":{"type":"string","enum":["MMDA","DDA"],"title":"AccountType"},"AddressData":{"properties":{"street":{"type":"string","maxLength":64,"title":"Street"},"city":{"type":"string","maxLength":32,"title":"City"},"state":{"type":"string","maxLength":32,"title":"State"},"zip":{"type":"string","maxLength":32,"title":"Zip"},"country_code":{"type":"string","pattern":"^\\w{2}$","title":"Country Code","description":"ISO 3166-1 alpha-2 country code (e.g., US)"},"is_primary":{"type":"boolean","title":"Is Primary","default":true}},"type":"object","required":["street","city","state","zip","country_code"],"title":"AddressData"},"AllocationData":{"properties":{"amount":{"type":"string","title":"Amount"},"institution":{"$ref":"#/components/schemas/InstitutionData"}},"type":"object","required":["amount","institution"],"title":"AllocationData"},"AllocationResponse":{"properties":{"account_id":{"type":"string","title":"Account Id"},"run_date":{"type":"string","title":"Run Date"},"allocations":{"items":{"$ref":"#/components/schemas/AllocationData"},"type":"array","title":"Allocations"}},"type":"object","required":["account_id","run_date","allocations"],"title":"AllocationResponse"},"ApprovalStatus":{"type":"string","enum":["PENDING","APPROVED","REJECTED"],"title":"ApprovalStatus"},"AssignAccountsToPricingGroupRequest":{"properties":{"account_ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1,"title":"Account Ids","description":"List of account IDs to assign to this pricing group"},"effective_at":{"type":"string","format":"date-time","title":"Effective At","description":"When the pricing group rates become effective for these accounts. Defaults to now if not provided."}},"type":"object","required":["account_ids"],"title":"AssignAccountsToPricingGroupRequest"},"CloseAccountResponse":{"properties":{"account_id":{"type":"string","title":"Account Id"},"liquidation_amount":{"type":"string","title":"Liquidation Amount"},"scheduled_to_close_date":{"type":"string","format":"date","title":"Scheduled To Close Date"}},"type":"object","required":["account_id","liquidation_amount","scheduled_to_close_date"],"title":"CloseAccountResponse"},"CreateAccountRequest":{"properties":{"signer_primary":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Signer Primary"},"signer_primary_tin":{"anyOf":[{"type":"string","maxLength":9},{"type":"null"}],"title":"Signer Primary Tin"},"account_title":{"type":"string","maxLength":128,"title":"Account Title"},"account_type":{"$ref":"#/components/schemas/AccountType"},"depositor_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Depositor Ids"},"depositor":{"anyOf":[{"$ref":"#/components/schemas/CreateDepositorRequest"},{"type":"null"}],"description":"New depositor to create and link to this account"},"interest_rate_tiers":{"items":{"$ref":"#/components/schemas/InterestRateTierRequest"},"type":"array","title":"Interest Rate Tiers","description":"Used to define tiers of interest rates based on account balance. If only one tier is needed, use the interest_rate field instead."},"program_tags":{"items":{"type":"string"},"type":"array","title":"Program Tags"},"is_apy":{"type":"boolean","title":"Is Apy","description":"Indicates if the interest rate is an Annual Percentage Yield (APY). If ommitted or false, the rate is considered a nominal interest rate.","default":false},"interest_rate":{"anyOf":[{"type":"number","exclusiveMaximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Interest Rate","description":"Interest rate must be between 0 and 1 (e.g., 0.04 for 4%)."},"signer_secondary":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Signer Secondary"},"beneficiary_name":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Beneficiary Name"},"beneficiary_tin":{"anyOf":[{"type":"string","maxLength":9},{"type":"null"}],"title":"Beneficiary Tin"},"institution_account_id":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Institution Account Id","deprecated":true},"institution_sweep_account_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Institution Sweep Account Id"},"institution_return_account_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Institution Return Account Id"},"institution_branch_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Institution Branch Id"},"institution_cost_center_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Institution Cost Center Id"},"cost_center_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cost Center Id"},"managed_sweep_target_balance":{"anyOf":[{"type":"number","maximum":999999999999.99,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Managed Sweep Target Balance","description":"Target balance for managed sweep accounts. Must be a non-negative USD amount."},"shadow_account":{"anyOf":[{"$ref":"#/components/schemas/ShadowAccountRequest"},{"type":"null"}],"description":"Configuration for shadow account associated with this account."},"account_agreement_file_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Agreement File Data","description":"Base64 encoded PDF file data (max 25MB)"},"notes":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Notes","description":"Notes for the account"},"pricing_group_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Pricing Group Id","description":"Pricing group ID associated with the account"},"is_reciprocation_prioritized":{"type":"boolean","title":"Is Reciprocation Prioritized","description":"Whether this account should be prioritized for reciprocation.","default":false},"is_receiving_printed_statements":{"type":"boolean","title":"Is Receiving Printed Statements","description":"Whether this account should receive printed statements.","default":false},"account_officer":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Account Officer","description":"Account officer assigned to this account (free-text)"},"is_non_interest_bearing":{"type":"boolean","title":"Is Non Interest Bearing","description":"Whether this account is non-interest-bearing. If true, no interest rates, tiers, or pricing groups can be assigned.","default":false},"custom_field_1":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Custom Field 1","description":"Custom field 1"},"custom_field_2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Custom Field 2","description":"Custom field 2"},"custom_field_3":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Custom Field 3","description":"Custom field 3"},"custom_field_4":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Custom Field 4","description":"Custom field 4"}},"type":"object","required":["account_title","account_type","depositor_ids"],"title":"CreateAccountRequest"},"CreateCustomBenchmarkRequest":{"properties":{"name":{"type":"string","maxLength":128,"title":"Name","description":"Name of the custom benchmark (e.g., 'Short-Term Funding Cost')"},"description":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Description","description":"Optional description providing additional context about this benchmark"},"rate":{"anyOf":[{"type":"number","exclusiveMaximum":1.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Rate","description":"Initial rate for the custom benchmark (e.g., 0.0425 for 4.25%)"}},"type":"object","required":["name","rate"],"title":"CreateCustomBenchmarkRequest"},"CreateDepositorRequest":{"properties":{"tin":{"type":"string","maxLength":64,"minLength":1,"title":"Tin","description":"TIN must be unique per institution"},"first_name":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Last Name"},"entity_name":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Entity Name"},"is_organization":{"type":"boolean","title":"Is Organization","default":false},"institution_depositor_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Institution Depositor Id"},"phone_numbers":{"anyOf":[{"items":{"$ref":"#/components/schemas/PhoneNumberData"},"type":"array"},{"type":"null"}],"title":"Phone Numbers"},"emails":{"anyOf":[{"items":{"$ref":"#/components/schemas/EmailData"},"type":"array"},{"type":"null"}],"title":"Emails"},"addresses":{"anyOf":[{"items":{"$ref":"#/components/schemas/AddressData"},"type":"array"},{"type":"null"}],"title":"Addresses"},"account_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Account Ids"},"depositor_type":{"anyOf":[{"$ref":"#/components/schemas/DepositorType"},{"type":"null"}]},"ownership_category":{"anyOf":[{"$ref":"#/components/schemas/OwnershipCategory"},{"type":"null"}]},"account_officer":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Account Officer"},"notes":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Notes"},"institution_opt_out_federal_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Institution Opt Out Federal Ids","description":"List of institutions (by federal_id) excluded from receiving this depositor's funds"}},"type":"object","required":["tin"],"title":"CreateDepositorRequest"},"CreatePricingGroupRequest":{"properties":{"name":{"type":"string","maxLength":128,"title":"Name","description":"Name of the pricing group (e.g., 'Retail Checking', 'Accounts 2025')"},"description":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Description","description":"Optional description providing additional context about this pricing group"},"interest_rate_tiers":{"items":{"$ref":"#/components/schemas/PricingGroupRateTierRequest"},"type":"array","minItems":1,"title":"Interest Rate Tiers","description":"Rate tiers for the pricing group. At least one tier is required."},"effective_at":{"type":"string","format":"date-time","title":"Effective At","description":"When these rates become effective. Defaults to now if not provided."},"account_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Account Ids","description":"Optional list of account IDs to assign to this pricing group upon creation. If provided, the pricing group rates will be applied to these accounts immediately."}},"type":"object","required":["name","interest_rate_tiers"],"title":"CreatePricingGroupRequest"},"CreateTransactionRequest":{"properties":{"amount":{"type":"string","title":"Amount","description":"Transaction amount. If negative, the transaction type will be Debit instead of Credit."},"transacted_at":{"type":"string","format":"date-time","title":"Transacted At","description":"The datetime when the transaction occurred. Must be timezone-aware and cannot be in the future. Backdating is restricted to the current calendar month and to the last 7 days. Transactions submitted after the allocation cutoff on the last day of the month will have their effective date adjusted to the 1st of the following month."},"description":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Description"},"institution_transaction_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Institution Transaction Id"}},"type":"object","required":["amount","transacted_at"],"title":"CreateTransactionRequest"},"DepositorResponse":{"properties":{"id":{"type":"string","title":"Id"},"institution_id":{"type":"string","title":"Institution Id"},"institution_depositor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Depositor Id"},"tin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tin","deprecated":true},"tin_last_four":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tin Last Four","description":"Last 4 digits of the TIN (masked)."},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"entity_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Name"},"is_organization":{"type":"boolean","title":"Is Organization"},"phone_numbers":{"items":{"$ref":"#/components/schemas/PhoneNumberData"},"type":"array","title":"Phone Numbers"},"emails":{"items":{"$ref":"#/components/schemas/EmailData"},"type":"array","title":"Emails"},"addresses":{"items":{"$ref":"#/components/schemas/AddressData"},"type":"array","title":"Addresses"},"depositor_type":{"$ref":"#/components/schemas/DepositorType"},"ownership_category":{"anyOf":[{"$ref":"#/components/schemas/OwnershipCategory"},{"type":"null"}]},"account_officer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Officer"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"institution_opt_out_federal_ids":{"items":{"type":"string"},"type":"array","title":"Institution Opt Out Federal Ids","description":"List of institutions (by federal_id) excluded from receiving this depositor's funds"}},"type":"object","required":["id","institution_id","institution_depositor_id","first_name","last_name","entity_name","is_organization","phone_numbers","emails","addresses","depositor_type"],"title":"DepositorResponse"},"DepositorTINResponse":{"properties":{"tin":{"type":"string","title":"Tin","description":"The full decrypted TIN"}},"type":"object","required":["tin"],"title":"DepositorTINResponse"},"DepositorType":{"type":"string","enum":["CONSUMER","BUSINESS","NONPROFIT","LOCAL_GOVERNMENT","FEDERAL_GOVERNMENT","US_DEPOSITORY","FOREIGN_DEPOSITORY","FOREIGN_GOVERNMENT"],"title":"DepositorType"},"EmailData":{"properties":{"email_address":{"type":"string","format":"email","title":"Email Address"},"is_primary":{"type":"boolean","title":"Is Primary","default":true}},"type":"object","required":["email_address"],"title":"EmailData"},"ErrorDetail":{"properties":{"detail":{"type":"string","title":"Detail"}},"type":"object","required":["detail"],"title":"ErrorDetail"},"FileResponse":{"properties":{"presigned_url":{"type":"string","title":"Presigned Url"}},"type":"object","required":["presigned_url"],"title":"FileResponse"},"FileResponseType":{"type":"string","enum":["presigned_url","file"],"title":"FileResponseType"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IdType":{"type":"string","enum":["INSTITUTION"],"title":"IdType","description":"Type of the account id. Institution accounts ids are external ids and come from the institution."},"InstitutionData":{"properties":{"name":{"type":"string","title":"Name"},"state":{"type":"string","title":"State"}},"type":"object","required":["name","state"],"title":"InstitutionData"},"InterestRateTierRequest":{"properties":{"min_balance":{"anyOf":[{"type":"number","maximum":999999999999.99,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Min Balance"},"max_balance":{"anyOf":[{"type":"number","maximum":999999999999.99,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Max Balance"},"rate":{"anyOf":[{"type":"number","exclusiveMaximum":1.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Rate"},"floating_spread":{"anyOf":[{"type":"number","exclusiveMaximum":1.0,"exclusiveMinimum":-1.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Floating Spread"},"rate_index_type":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRateType"},{"type":"null"}],"description":"Reference rate index type. Required when floating_spread is set."},"floating_rate_percentage":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Floating Rate Percentage","description":"Multiplier applied to the index rate before adding floating_spread. Required when floating_spread is set. Effective rate = market_rate * floating_rate_percentage + floating_spread"}},"type":"object","required":["min_balance","max_balance"],"title":"InterestRateTierRequest"},"InterestRateTierResponse":{"properties":{"min_balance":{"type":"string","title":"Min Balance"},"max_balance":{"type":"string","title":"Max Balance"},"rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rate"},"floating_spread":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Floating Spread"},"rate_index_type":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRateType"},{"type":"null"}]},"floating_rate_percentage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Floating Rate Percentage"},"custom_benchmark_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Benchmark Id"}},"type":"object","required":["min_balance","max_balance"],"title":"InterestRateTierResponse"},"OwnershipCategory":{"type":"string","enum":["JOINT","SINGLE","RETIREMENT","ESTATE_REVOCABLE_TRUST","OTHER_CONSUMER","CORPORATION","LIMITED_LIABILITY_COMPANY","LIMITED_PARTNERSHIP","SOLE_PROPRIETORSHIP","OTHER_BUSINESS","CLUBS_ASSOCIATIONS","OTHER_NONPROFIT","MUNICIPALITIES","SCHOOL_DISTRICTS","OTHER_LOCAL_GOVERNMENT","US_GOVERNMENT","US_DEPOSITORY"],"title":"OwnershipCategory"},"PatchCustomBenchmarkRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Name","description":"New name for the custom benchmark"},"description":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Description","description":"New description for the custom benchmark"}},"type":"object","title":"PatchCustomBenchmarkRequest"},"PhoneNumberData":{"properties":{"number":{"type":"string","maxLength":32,"title":"Number"},"is_primary":{"type":"boolean","title":"Is Primary","default":true}},"type":"object","required":["number"],"title":"PhoneNumberData"},"PricingGroupRateTierRequest":{"properties":{"min_balance":{"anyOf":[{"type":"number","maximum":999999999999.99,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Min Balance","description":"Minimum balance for this tier (inclusive)"},"max_balance":{"anyOf":[{"type":"number","maximum":999999999999.99,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Max Balance","description":"Maximum balance for this tier (inclusive)"},"rate":{"anyOf":[{"type":"number","exclusiveMaximum":1.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Rate","description":"Fixed interest rate (e.g., 0.035 for 3.5%). Mutually exclusive with floating_spread."},"floating_spread":{"anyOf":[{"type":"number","exclusiveMaximum":1.0,"exclusiveMinimum":-1.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Floating Spread","description":"Floating spread relative to market reference rate (e.g., 0.005 for +0.5%). Mutually exclusive with rate."},"rate_index_type":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRateType"},{"type":"null"}],"description":"Reference rate index type (e.g., EFFR). Required when floating_spread is set and custom_benchmark_id is not. Mutually exclusive with custom_benchmark_id."},"floating_rate_percentage":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Floating Rate Percentage","description":"Multiplier applied to the index rate. Required when floating_spread is set."},"custom_benchmark_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Custom Benchmark Id","description":"Custom benchmark to float against. Mutually exclusive with rate_index_type."}},"type":"object","required":["min_balance","max_balance"],"title":"PricingGroupRateTierRequest"},"PricingGroupRateTierResponse":{"properties":{"min_balance":{"type":"string","title":"Min Balance"},"max_balance":{"type":"string","title":"Max Balance"},"rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rate"},"floating_spread":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Floating Spread"},"rate_index_type":{"anyOf":[{"$ref":"#/components/schemas/ReferenceRateType"},{"type":"null"}]},"floating_rate_percentage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Floating Rate Percentage"},"custom_benchmark_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Benchmark Id"}},"type":"object","required":["min_balance","max_balance"],"title":"PricingGroupRateTierResponse"},"PricingGroupResponse":{"properties":{"id":{"type":"string","title":"Id"},"institution_id":{"type":"string","title":"Institution Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"account_count":{"type":"integer","title":"Account Count","description":"Number of accounts currently assigned to this pricing group"},"interest_rate_tiers":{"items":{"$ref":"#/components/schemas/PricingGroupRateTierResponse"},"type":"array","title":"Interest Rate Tiers"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"accounts":{"items":{"$ref":"#/components/schemas/AccountData"},"type":"array","title":"Accounts","description":"List of accounts assigned to this pricing group"}},"type":"object","required":["id","institution_id","name","description","account_count","interest_rate_tiers","created_at","updated_at","accounts"],"title":"PricingGroupResponse"},"RateConfiguration":{"type":"string","enum":["FIXED","FLOATING_MARKET","FLOATING_CUSTOM","TIERED","MIXED"],"title":"RateConfiguration"},"ReferenceRateType":{"type":"string","enum":["EFFR","CU_RECEIVE_DEFAULT","BANK_RECEIVE_DEFAULT","EFFR_UPPER_BAND","EFFR_LOWER_BAND","SOFR_OVERNIGHT","SOFR_1M","SOFR_3M","SOFR_6M","SOFR_12M","CMT_1M","CMT_3M","CMT_6M","FIDELITY_FISXX","FIDELITY_SPAXX","FIDELITY_FCIXX","WSJ_PRIME","IORB"],"title":"ReferenceRateType"},"ShadowAccountRequest":{"properties":{"account_number":{"type":"string","maxLength":36,"title":"Account Number"},"account_type":{"$ref":"#/components/schemas/AccountType"}},"type":"object","required":["account_number","account_type"],"title":"ShadowAccountRequest"},"ShadowAccountResponse":{"properties":{"id":{"type":"string","title":"Id"},"account_number":{"type":"string","title":"Account Number"},"account_type":{"$ref":"#/components/schemas/AccountType"},"closed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closed At"}},"type":"object","required":["id","account_number","account_type"],"title":"ShadowAccountResponse"},"StatementResponse":{"properties":{"file_id":{"type":"string","title":"File Id"},"title":{"type":"string","title":"Title"},"statement_date":{"type":"string","title":"Statement Date"},"account_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Account Id","description":"The ID of the associated account"},"institution_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Institution Id","description":"The ID of the associated institution"}},"type":"object","required":["file_id","title","statement_date"],"title":"StatementResponse"},"StatementType":{"type":"string","enum":["INSTITUTION_DAILY_SWEEP","INSTITUTION_DAILY_RECEIVE","INSTITUTION_MONTHLY_INTEREST","ACCOUNT_MONTHLY_SWEEP","INSTITUTION_DAILY_GL_POSTINGS","INSTITUTION_DAILY_GL_BALANCES","INSTITUTION_DAILY_COST_CENTER_POSTINGS","INSTITUTION_DAILY_COST_CENTER_BALANCES","INSTITUTION_DAILY_TRIAL_BALANCES","INSTITUTION_QUARTERLY_CALL_REPORT","INSTITUTION_WEEKLY_FR2900","INSTITUTION_DAILY_ACCOUNT_HISTORY","INSTITUTION_DAILY_TRANSACTION_HISTORY","INSTITUTION_DAILY_TRANSACTION_ERRORS","INSTITUTION_MONTHLY_SETTLEMENT_POSTINGS","INSTITUTION_MONTHLY_COST_CENTER_SETTLEMENT_POSTINGS","INSTITUTION_MONTHLY_NBID","INSTITUTION_MONTHLY_ACCOUNT_STATEMENT_BUNDLE"],"title":"StatementType"},"StatementsResponse":{"properties":{"statements":{"items":{"$ref":"#/components/schemas/StatementResponse"},"type":"array","title":"Statements"}},"type":"object","required":["statements"],"title":"StatementsResponse"},"TransactionResponse":{"properties":{"id":{"type":"string","title":"Id"},"account_id":{"type":"string","title":"Account Id"},"institution_id":{"type":"string","title":"Institution Id"},"amount":{"type":"string","title":"Amount"},"transacted_at":{"type":"string","title":"Transacted At"},"transaction_status":{"$ref":"#/components/schemas/TransactionStatus"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"is_interest_payment":{"type":"boolean","title":"Is Interest Payment"},"posted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Posted At"},"institution_transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Transaction Id"},"transaction_type":{"$ref":"#/components/schemas/TransactionType"}},"type":"object","required":["id","account_id","institution_id","amount","transacted_at","transaction_status","is_interest_payment","transaction_type"],"title":"TransactionResponse"},"TransactionStatus":{"type":"string","enum":["PENDING","POSTED","CANCELLED"],"title":"TransactionStatus"},"TransactionStatusFilter":{"type":"string","enum":["PENDING","POSTED"],"title":"TransactionStatusFilter"},"TransactionType":{"type":"string","enum":["CREDIT","DEBIT"],"title":"TransactionType"},"TransactionTypeFilter":{"type":"string","enum":["CREDIT","DEBIT"],"title":"TransactionTypeFilter"},"UnassignAccountsRequest":{"properties":{"account_ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1,"title":"Account Ids","description":"List of account IDs to unassign from the pricing group"}},"type":"object","required":["account_ids"],"title":"UnassignAccountsRequest"},"UpdateAccountRequest":{"properties":{"depositor_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Depositor Ids"},"account_title":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Account Title"},"institution_sweep_account_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Institution Sweep Account Id"},"institution_return_account_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Institution Return Account Id"},"is_reciprocation_prioritized":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Reciprocation Prioritized"},"is_receiving_printed_statements":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Receiving Printed Statements"},"signer_primary":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Signer Primary"},"signer_secondary":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Signer Secondary"},"beneficiary_name":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Beneficiary Name"},"institution_cost_center_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Institution Cost Center Id"},"cost_center_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cost Center Id"},"notes":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Notes"},"managed_sweep_target_balance":{"anyOf":[{"type":"number","maximum":999999999999.99,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Managed Sweep Target Balance"},"program_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Program Tags"},"institution_alternative_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Institution Alternative Id","deprecated":true},"account_officer":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Account Officer","description":"Account officer assigned to this account"},"custom_field_1":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Custom Field 1","description":"Custom field 1"},"custom_field_2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Custom Field 2","description":"Custom field 2"},"custom_field_3":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Custom Field 3","description":"Custom field 3"},"custom_field_4":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Custom Field 4","description":"Custom field 4"}},"type":"object","title":"UpdateAccountRequest"},"UpdateCustomBenchmarkRateRequest":{"properties":{"rate":{"anyOf":[{"type":"number","exclusiveMaximum":1.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Rate","description":"New rate for the custom benchmark. Will create a new rate entry."},"effective_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective At","description":"When the new rate becomes effective. Defaults to now if not provided."}},"type":"object","required":["rate"],"title":"UpdateCustomBenchmarkRateRequest"},"UpdateDepositorRequest":{"properties":{"first_name":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Last Name"},"entity_name":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Entity Name"},"institution_depositor_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Institution Depositor Id"},"depositor_type":{"anyOf":[{"$ref":"#/components/schemas/DepositorType"},{"type":"null"}]},"ownership_category":{"anyOf":[{"$ref":"#/components/schemas/OwnershipCategory"},{"type":"null"}]},"account_officer":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Account Officer"},"notes":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Notes"},"phone_numbers":{"anyOf":[{"items":{"$ref":"#/components/schemas/PhoneNumberData"},"type":"array"},{"type":"null"}],"title":"Phone Numbers"},"addresses":{"anyOf":[{"items":{"$ref":"#/components/schemas/AddressData"},"type":"array"},{"type":"null"}],"title":"Addresses"},"approval_status":{"anyOf":[{"$ref":"#/components/schemas/ApprovalStatus"},{"type":"null"}]},"account_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Account Ids","description":"Account IDs to associate with this depositor. These are appended to existing associations."},"institution_opt_out_federal_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Institution Opt Out Federal Ids","description":"List of institutions (by federal_id) excluded from receiving this depositor's funds"}},"type":"object","title":"UpdateDepositorRequest"},"UpdatePricingGroupMetadataRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Name","description":"New name for the pricing group"},"description":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Description","description":"New description for the pricing group"}},"type":"object","title":"UpdatePricingGroupMetadataRequest"},"UpdatePricingGroupRatesRequest":{"properties":{"interest_rate_tiers":{"items":{"$ref":"#/components/schemas/PricingGroupRateTierRequest"},"type":"array","minItems":1,"title":"Interest Rate Tiers","description":"New rate tiers for the pricing group."},"effective_at":{"type":"string","format":"date-time","title":"Effective At","description":"When these rates become effective. Defaults to now if not provided."}},"type":"object","required":["interest_rate_tiers"],"title":"UpdatePricingGroupRatesRequest"},"UpdateTransactionRequest":{"properties":{"transaction_status":{"anyOf":[{"$ref":"#/components/schemas/TransactionStatus"},{"type":"null"}]},"institution_transaction_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Institution Transaction Id"}},"type":"object","title":"UpdateTransactionRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"ValidationErrorDetail":{"properties":{"detail":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Detail"},"body":{"anyOf":[{},{"type":"null"}],"title":"Body"}},"type":"object","required":["detail","body"],"title":"ValidationErrorDetail"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}