Budget-Web-App / OneBudget-api

1 stars 0 forks source link

[Endpoint Proposal] Accounts endpoint #14

Open michaeldcanady opened 1 year ago

michaeldcanady commented 1 year ago

Describe the proposed endpoint This would be used to access the accounts connected to the user

Endpoint URL Accounts Accounts/{account_id}

HTTP Method GET, POST, DELETE

Request Parameters N/A

Request Body N/A

Response Structure

class LinkedAccount(BaseModel):
    id: str
    institution_name: str
    account_type: str
    account_number: str
    balance: float
    budget_id: str
    user_id: str

Authentication & Authorization JWT Token

Examples N/A

Additional context N/A