# Deposit Source Account

## POST v1/accounts/{accountId}/deposit-source-iban

>

```json
{"openapi":"3.0.3","info":{"title":"Aquanow CAMS REST API","version":"1.0"},"servers":[{"url":"https://cams.aquanow.com/api","description":"production"},{"url":"http://localhost:3001/api","description":"local"},{"url":"https://camsapi-dev.aquanow.com/api","description":"dev"},{"url":"https://camsapi-staging.aquanow.com/api","description":"staging"},{"url":"https://cams.cert.aquanow.com/api","description":"cert"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","scheme":"bearer"}},"schemas":{"DepositSourceIban":{"type":"object","properties":{"accountId":{"type":"string","format":"uuid","nullable":false},"customerId":{"type":"string","format":"uuid","nullable":false},"status":{"$ref":"#/components/schemas/DepositSourceIbanStatus","nullable":false}}},"DepositSourceIbanStatus":{"type":"string","enum":["PENDING","FAILED","WHITELISTED"]}},"responses":{"400":{"description":"Validation Error"},"401":{"description":"Unauthorized"},"403":{"description":"Insufficient Privileges"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}}},"paths":{"v1/accounts/{accountId}/deposit-source-iban":{"post":{"operationId":"WhitelistDepositSourceIban","tags":["Accounts"],"responses":{"200":{"description":"The deposit source IBAN has been submitted for whitelisting","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositSourceIban"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"4XX":{"$ref":"#/components/responses/4XX"},"5XX":{"$ref":"#/components/responses/5XX"}}}}}}
```

## GET v1/accounts/{accountId}/deposit-source-iban

>

```json
{"openapi":"3.0.3","info":{"title":"Aquanow CAMS REST API","version":"1.0"},"servers":[{"url":"https://cams.aquanow.com/api","description":"production"},{"url":"http://localhost:3001/api","description":"local"},{"url":"https://camsapi-dev.aquanow.com/api","description":"dev"},{"url":"https://camsapi-staging.aquanow.com/api","description":"staging"},{"url":"https://cams.cert.aquanow.com/api","description":"cert"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","scheme":"bearer"}},"schemas":{"DepositSourceIban":{"type":"object","properties":{"accountId":{"type":"string","format":"uuid","nullable":false},"customerId":{"type":"string","format":"uuid","nullable":false},"status":{"$ref":"#/components/schemas/DepositSourceIbanStatus","nullable":false}}},"DepositSourceIbanStatus":{"type":"string","enum":["PENDING","FAILED","WHITELISTED"]}},"responses":{"400":{"description":"Validation Error"},"401":{"description":"Unauthorized"},"403":{"description":"Insufficient Privileges"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}}},"paths":{"v1/accounts/{accountId}/deposit-source-iban":{"get":{"operationId":"ListDepositSourceIban","tags":["Accounts"],"responses":{"200":{"description":"A list of deposit source IBANs submitted for whitelisting","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DepositSourceIban"}}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"4XX":{"$ref":"#/components/responses/4XX"},"5XX":{"$ref":"#/components/responses/5XX"}}}}}}
```
