Payment

List failed payments

Read more about the Payment life cycle in the Developer resources

get/psu/{psuId}/failed-payment

Request

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

Path parameters

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

amountstring 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.

creditorType'swedishBankAccount' | 'ownBankAccount' | 'bankGiro' | 'plusGiro' | 'preregisteredIban' required

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

currency'SEK' | 'EUR' | 'NOK' | 'USD' | 'GBP' | 'DKK' | 'PLN' | 'RON' | 'CZK' | 'HUF' | 'ISK' | 'CHF' required
externalPaymentReferencestring nullable required

Can be used by external parties to connect a payment through it's lifecycle with a resource on their side.

failureReason'TechnicalError' | 'InsufficientFunds' | 'InvalidPaymentDate' | 'InvalidValueDate' | 'AccountClosed' | 'Unknown' required
overDueboolean required
paymentOrderIdstring uuid required

Example response

[
  {
    "amount": "123.00",
    "capabilities": [
      "delete"
    ],
    "creditor": {
      "bankAccountCustomName": "9669-8590276",
      "bankAccountNumber": "8590276",
      "bankDisplayName": "swedish account",
      "clearingNumber": "9669",
      "message": "Hej, hej",
      "name": "Sven Svensson"
    },
    "creditorType": "swedishBankAccount",
    "currency": "SEK",
    "debtor": {
      "bankAccountCustomName": "9669-8590276",
      "bankAccountId": "ad5acb9d-a11a-4533-bf6a-870a2217bcfb",
      "bankAccountNumber": "8590276",
      "bankAccountTypeName": "Transaktionskonto",
      "clearingNumber": "9669",
      "message": "Description"
    },
    "eInvoice": {
      "link": "https://www.foretag.se/fakturaid.jsp",
      "unsignedTicket": "eyJwYXllZSI6eyJmdWkiOiIwMDU1NjU3NTc3MzguMDIwMDAwMDAzNzguRlNQQS5TRSJ9fQ=="
    },
    "externalPaymentReference": "Invoice #42",
    "failureReason": "InsufficientFunds",
    "overDue": true,
    "paymentDate": "2026-10-12",
    "paymentOrderId": "d0125fa2-daf7-4e8b-a198-46e2c708918e"
  }
]

Changes

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