Card

Get a single card

get/psu/{psuId}/card/{cardId}

Request

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

Path parameters

cardIdstring uuid required
Example:46d83b79-27d4-4039-95ad-6ba25c1627ce
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

capabilitiesstring[] required
cardContextType'debit' | 'credit' required

Note! New cardContextTypes are created upon request by the tenant and must be supported by the clients before delivery to production.

cardHolderNamestring required
cardIdstring uuid required
cardNumberstring nullable required
cardProgramstring required

Note! New cardPrograms are created upon request by the tenant and must be supported by the clients before delivery to production.

creditInterestRatestring nullable required

The interest rate for the credit. For debit cards this is the interest rate of the underlying bank account.

creditLimitstring required

The maximum credit amout. For debit cards this is the credit limit of the underlying bank account.

currencystring required
organizationNamestring nullable required
sequenceNumberstring required
status'Active' | 'Inactive' | 'Paused' | 'Terminated' required
validFromstring date required
validTostring date required

Example response

{
  "capabilities": [
    "activate"
  ],
  "cardContext": {
    "balance": "56786.82",
    "bankAccountId": "ccf7c77a-8e32-4d9b-8f40-ea446f37d492",
    "bankAccountName": "Transaktionskonto",
    "bankAccountNumber": "9586892",
    "clearingNumber": "9669"
  },
  "cardContextType": "debit",
  "cardHolderName": "Åsa Mattsson",
  "cardId": "46d83b79-27d4-4039-95ad-6ba25c1627ce",
  "cardNumber": "537509******0997",
  "cardProgram": "SVEA_Debit_SveaBank",
  "creditInterestRate": "15.90",
  "creditLimit": "100000.00",
  "currency": "SEK",
  "organizationName": "Svea Bank AB",
  "sequenceNumber": "002",
  "status": "Active",
  "validFrom": "2019-05-01",
  "validTo": "2022-06-30"
}

Changes

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