Card

List authorizations

An authorization is a pending transfer of money, also known as reserved amount. An authorization can either go through and become a transaction or be withdrawn.

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

Request

  • Base URL: https://bankapidemo.svea.com
  • URL: https://bankapidemo.svea.com/psu/{psuId}/card/{cardId}/authorization
  • 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

Query parameters

pageSizeinteger
Example:100

Set the number of authorizations to return per page. Min 1, Max 100

pageinteger
Example:1

Set which page to return (1 indexed), will default to 1 if not set. Min 1

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

amountstring required

The amount that the card's underlying account is debited or credited. Specified in the underlying accounts currency.

authorizationIdstring required
creditorCitystring nullable required
creditorCountryCodestring nullable required

Country code (ISO 3166-1 alpha-2)

creditorNamestring required
currencystring required

The card's underlying accounts currency.

statusstring required
transactionAmountstring required

The amount given in the transaction currency.

transactionCurrencystring nullable required

The currency in which the transaction was initiated.

transactionTimestring date-time required

Example response

[
  {
    "amount": "1267.85",
    "authorizationId": "1",
    "creditorCity": "g.co/helppay#",
    "creditorCountryCode": "SE",
    "creditorName": "GOOGLE *SERVICES",
    "currency": "SEK",
    "status": "P",
    "transactionAmount": "100.00",
    "transactionCurrency": "GBP",
    "transactionTime": "2018-12-28T15:31:25Z"
  }
]

Changes

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