Payment

Get preliminary amount for international payment

post/psu/{psuId}/payment-order/preliminary-amount

Request

  • Base URL: https://bankapidemo.svea.com
  • URL: https://bankapidemo.svea.com/psu/{psuId}/payment-order/preliminary-amount
  • 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

Request body

amountstring required
currency'SEK' | 'EUR' | 'NOK' | 'USD' | 'DKK' | 'PLN' | 'RON' | 'CZK' | 'HUF' | 'ISK' | 'CHF' required
debtorCurrency'SEK' required

Example request

{
  "amount": "12.06",
  "currency": "EUR",
  "debtorCurrency": "SEK"
}

Response

OK

creditorAmountstring required
creditorCurrency'SEK' | 'EUR' | 'NOK' | 'USD' | 'DKK' | 'PLN' | 'RON' | 'CZK' | 'HUF' | 'ISK' | 'CHF' required
debtorAmountstring required
debtorCurrency'SEK' required
exchangeRatestring required
exchangeRateWithMarginstring required

Use exchangeRate instead, will be removed earliest 2025-03-31. Same value as exchangeRate since all rates are with margins.

Example response

{
  "creditorAmount": "12.06",
  "creditorCurrency": "EUR",
  "debtorAmount": "137.42",
  "debtorCurrency": "SEK",
  "exchangeRate": "11.395000",
  "exchangeRateWithMargin": "11.395000"
}

Changes

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