Loan Account

Get a single loan account

Get a specific loan accounts for the PSU. Read more about loan accounts in the Glossary

get/psu/{psuId}/loan-account/{loanAccountId}

Request

  • Base URL: https://bankapidemo.svea.com
  • URL: https://bankapidemo.svea.com/psu/{psuId}/loan-account/{loanAccountId}
  • Auth: Bearer (a scheme the document does not define)

Path parameters

loanAccountIdstring uuid required
Example:8c6e0ed6-1192-48e6-8439-09821533cb31
psuIdstring uuid required
Example:febbe8f2-bd6b-4e53-89c6-e89ca92ff5ee

Headers

Authorizationstring required
Example:Bearer {BearerToken}
X-Svea-ClientAppstring required

Tenant client app name, version, and optional comment <client-app-name>/<version>(/<comment>)

Example:TENANT-IOS/0.99.0
X-Svea-CorrelationIdstring uuid

The correlationId is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. Used to follow transaction information, especially for logging purposes.

Example:21436a05-d62d-4f29-a253-31b3815d148b
X-Svea-SessionIdstring uuid

The sessionId is a unique identifier value for a users session. This identifier should be the same for the entire duration of that users session. Mainly used for logging and troubleshooting purposes.

Example:afe56332-dee2-48b4-ae0b-d694a6174a7e

Response

OK

bankAccountTypeClassstring required

BankAccountTypeClasses are unique per tenant and can be used for logic in the client.

Note! New values might be added at any time and the client should have a default case for handling unknown bankAccountTypeClasses.

bankAccountTypeNamestring required
capabilitiesstring[] required

Note! New values might be added at any time and should be ignored if the client does not know how to handle them.

currency'SEK' required
displayNamestring required
expirationDatestring required
firstRepaymentDatestring required
loanAccountIdstring uuid required
overdraftLimitstring required
repaymentAmountstring required
repaymentFrequency'daily' | 'weekly' | 'monthly' | 'quarterly' | 'semiAnnual' | 'annual' | 'endOfMaturity' required

Note! New values might be added at any time and it's up to the client how to handle unknown repaymentFrequencies.

repaymentMethod'directDebit' | 'manual' | 'account' required

Note! New values might be added at any time and it's up to the client how to handle unknown repaymentMethods.

repaymentPeriodsinteger required
repaymentType'annuity' | 'principal' | 'invoice' | 'directInvoice' required

Note! New values might be added at any time and it's up to the client how to handle unknown repaymentTypes.

status'open' | 'blocked' required

Note! New values might be added at any time and it's up to the client how to handle unknown statuses.

Example response

{
  "balance": {
    "available": "0.00",
    "current": "-107872.00",
    "opening": "-107872.00"
  },
  "bankAccountTypeClass": "loanAccount",
  "bankAccountTypeName": "Företagslån Plus",
  "currency": "SEK",
  "displayName": "401-9568165-5544-43",
  "expirationDate": "2020-01-31",
  "firstRepaymentDate": "2019-12-31",
  "interestPayable": {
    "accrued": "0.00",
    "lastDate": "2021-12-31",
    "rate": "0.00",
    "total": "0.00"
  },
  "interestReceivable": {
    "accrued": "-6172.62",
    "lastDate": "2021-12-31",
    "rate": "24.00",
    "total": "247301.23"
  },
  "loanAccountId": "cc594e2a-aa54-4a01-82ca-88d539751c4a",
  "overdraftLimit": "250000.00",
  "repaymentAmount": "100000.00",
  "repaymentFrequency": "monthly",
  "repaymentMethod": "manual",
  "repaymentPeriods": 5,
  "repaymentType": "principal",
  "status": "open"
}

Changes

No recorded changes to this operation across all 1 revision of this API.