SEPA Gateway API provides an access to the SEPA Instant compliant messaging systems, offering the simplified (yet fully functional) JSON message format instead of ISO 20022 XMLs.
The JSON API abstracts away most of the low level technical details like message IDs and duplicated reference data. This approach allows to simplify integration and significantly reduce the amount of data being transferred over the wire.
Provide your username and password for SASL/PLAIN
Provide your username and password for SASL/PLAIN
Message queue to send messages to
Available only on servers:
Accepts the following message:
Request to initiate an outgoing instant payment
{
"messageType": "OutgoingInstantPaymentMessage",
"data": [
{
"paymentUid": "string",
"endToEndId": "string",
"msgId": "string",
"txId": "string",
"debtor": {
"person": {
"type": "ORG",
"name": "string",
"id": "string",
"countryCode": "LT",
"fullAddress": "string",
"address": {
"streetName": "string",
"buildingNumber": "string",
"buildingName": "string",
"floor": "string",
"postBox": "string",
"room": "string",
"postCode": "string",
"townName": "string",
"townLocationName": "string",
"districtName": "string",
"countrySubDivision": "string",
"country": "LT"
},
"identityType": "ANY_BIC"
},
"account": {
"iban": "LT121000011101001000",
"bic": "TESTLT21",
"proxy": {
"id": "string",
"proxyType": {
"code": "stri",
"proprietary": "string"
}
}
}
},
"creditor": {
"person": {
"type": "ORG",
"name": "string",
"id": "string",
"countryCode": "LT",
"fullAddress": "string",
"address": {
"streetName": "string",
"buildingNumber": "string",
"buildingName": "string",
"floor": "string",
"postBox": "string",
"room": "string",
"postCode": "string",
"townName": "string",
"townLocationName": "string",
"districtName": "string",
"countrySubDivision": "string",
"country": "LT"
},
"identityType": "ANY_BIC"
},
"account": {
"iban": "LT121000011101001000",
"bic": "TESTLT21",
"proxy": {
"id": "string",
"proxyType": {
"code": "stri",
"proprietary": "string"
}
}
}
},
"amount": {
"currency": "EUR",
"value": 0.01
},
"purpose": "string",
"ultimateDebtor": {
"type": "ORG",
"name": "string",
"id": "string",
"countryCode": "LT",
"fullAddress": "string",
"address": {
"streetName": "string",
"buildingNumber": "string",
"buildingName": "string",
"floor": "string",
"postBox": "string",
"room": "string",
"postCode": "string",
"townName": "string",
"townLocationName": "string",
"districtName": "string",
"countrySubDivision": "string",
"country": "LT"
},
"identityType": "ANY_BIC"
},
"ultimateCreditor": {
"type": "ORG",
"name": "string",
"id": "string",
"countryCode": "LT",
"fullAddress": "string",
"address": {
"streetName": "string",
"buildingNumber": "string",
"buildingName": "string",
"floor": "string",
"postBox": "string",
"room": "string",
"postCode": "string",
"townName": "string",
"townLocationName": "string",
"districtName": "string",
"countrySubDivision": "string",
"country": "LT"
},
"identityType": "ANY_BIC"
}
}
]
}
Message queue to send messages to
Available only on servers:
Accepts the following message:
Rejects a previously received incoming instant payment.
{
"messageType": "RejectInstantPaymentMessage",
"data": [
{
"paymentUid": "string",
"msgId": "string",
"txId": "string",
"reasonCode": "CLEARING_TIMEOUT",
"originatorBic": "string",
"originatorName": "string"
}
]
}
Message queue to send messages to
Available only on servers:
Accepts the following message:
Confirms a previously received incoming instant payment.
{
"messageType": "ConfirmInstantPaymentMessage",
"data": [
{
"paymentUid": "string",
"msgId": "string",
"txId": "string"
}
]
}
Message queue to send messages to
Available only on servers:
Accepts the following message:
Request cancellation of a previously sent outgoing payment.
{
"messageType": "CancelInstantPaymentMessage",
"data": [
{
"paymentUid": "string",
"msgId": "string",
"txId": "string",
"reasonCode": "DUPLICATE",
"additionalInfo": "string"
}
]
}
Message queue to send messages to
Available only on servers:
Accepts the following message:
Return a previously received incoming payment.
{
"messageType": "ReturnInstantPaymentMessage",
"data": [
{
"paymentUid": "string",
"msgId": "string",
"txId": "string",
"chargeAmount": {
"currency": "EUR",
"value": 0.01
}
}
]
}
Message queue to send messages to
Available only on servers:
Accepts the following message:
Do not return funds for a cancelled incoming payment.
{
"messageType": "RetainInstantPaymentMessage",
"data": [
{
"paymentUid": "string",
"msgId": "string",
"txId": "string",
"reasonCode": "INSUFFICIENT_FUNDS",
"additionalInfo": "string"
}
]
}
Message queue to send messages to
Available only on servers:
Accepts the following message:
Send liquidity transfer request between internal accounts.
{
"messageType": "LiquidityTransferRequestMessage",
"data": [
{
"paymentUid": "string",
"creditor": {
"iban": "LT121000011101001000",
"bic": "TESTLT21"
},
"debtor": {
"iban": "LT121000011101001000",
"bic": "TESTLT21"
},
"amount": {
"currency": "EUR",
"value": 0.01
}
}
]
}
Message queue to send messages to
Available only on servers:
Accepts the following message:
Request status of an outgoing instant payment cancellation.
{
"messageType": "RequestInstantCancellationStatusMessage",
"data": [
{
"cancelledPaymentUid": "string",
"msgId": "string",
"txId": "string"
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Outgoing payment confirmed and settled by CENTROlink
{
"messageType": "InstantMessageAccepted",
"data": [
{
"originalMessageUid": "string",
"msgId": "string",
"txId": "string",
"messageType": "INCOMING_PAYMENT"
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Outgoing payment was rejected by CENTROlink
{
"messageType": "InstantMessageRejected",
"data": [
{
"originalMessageUid": "string",
"msgId": "string",
"txId": "string",
"messageType": "INCOMING_PAYMENT",
"rejectionReason": "INCORRECT_ACCOUNT_NUMBER",
"originatorBic": "string",
"originatorName": "string"
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Previously sent instant payment was cancelled.
{
"messageType": "InstantPaymentCancelledMessage",
"data": [
{
"originalPaymentUid": "string",
"additionalReasonInfo": "string",
"originalMsgId": "string",
"cancellationId": "string",
"originalTxId": "string",
"reasonCode": "DUPLICATE"
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Notification about successfully processed liquidity transfer
{
"messageType": "LiquidityTransferReportMessage",
"data": [
{
"msgId": "string",
"transactionId": "string",
"debtor": {
"iban": "LT121000011101001000",
"bic": "TESTLT21",
"proxy": {
"id": "string",
"proxyType": {
"code": "stri",
"proprietary": "string"
}
}
},
"creditor": {
"iban": "LT121000011101001000",
"bic": "TESTLT21",
"proxy": {
"id": "string",
"proxyType": {
"code": "stri",
"proprietary": "string"
}
}
},
"transferredAmount": {
"currency": "EUR",
"value": 0.01
}
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Incoming message about account statement balances
{
"messageType": "AccountStatementReportMessage",
"data": [
{
"msgId": "string",
"pageNumber": 0,
"last": true,
"balances": [
{
"transactionType": "CREDIT",
"balanceType": "START_OF_DAY",
"relatedParticipantIndicator": "string",
"amount": {
"currency": "EUR",
"value": 0.01
},
"transactionDate": "2019-11-21T16:32:59"
}
]
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Callback with new incoming payment
{
"messageType": "InstantPaymentReceivedMessage",
"data": [
{
"paymentUid": "string",
"paymentTimestamp": "2019-11-21T16:32:59",
"paymentTimestampTZ": "2019-08-24T14:15:22Z",
"msgId": "string",
"txId": "string",
"purpose": "string",
"recipient": {
"person": {
"type": "ORG",
"name": "string",
"id": "string",
"countryCode": "LT",
"fullAddress": "string",
"address": {
"streetName": "string",
"buildingNumber": "string",
"buildingName": "string",
"floor": "string",
"postBox": "string",
"room": "string",
"postCode": "string",
"townName": "string",
"townLocationName": "string",
"districtName": "string",
"countrySubDivision": "string",
"country": "LT"
},
"identityType": "ANY_BIC"
},
"account": {
"iban": "LT121000011101001000",
"bic": "TESTLT21",
"proxy": {
"id": "string",
"proxyType": {
"code": "stri",
"proprietary": "string"
}
}
}
},
"ultimateRecipient": {
"type": "ORG",
"name": "string",
"id": "string",
"countryCode": "LT",
"fullAddress": "string",
"address": {
"streetName": "string",
"buildingNumber": "string",
"buildingName": "string",
"floor": "string",
"postBox": "string",
"room": "string",
"postCode": "string",
"townName": "string",
"townLocationName": "string",
"districtName": "string",
"countrySubDivision": "string",
"country": "LT"
},
"identityType": "ANY_BIC"
},
"payer": {
"person": {
"type": "ORG",
"name": "string",
"id": "string",
"countryCode": "LT",
"fullAddress": "string",
"address": {
"streetName": "string",
"buildingNumber": "string",
"buildingName": "string",
"floor": "string",
"postBox": "string",
"room": "string",
"postCode": "string",
"townName": "string",
"townLocationName": "string",
"districtName": "string",
"countrySubDivision": "string",
"country": "LT"
},
"identityType": "ANY_BIC"
},
"account": {
"iban": "LT121000011101001000",
"bic": "TESTLT21",
"proxy": {
"id": "string",
"proxyType": {
"code": "stri",
"proprietary": "string"
}
}
}
},
"initialPayer": {
"type": "ORG",
"name": "string",
"id": "string",
"countryCode": "LT",
"fullAddress": "string",
"address": {
"streetName": "string",
"buildingNumber": "string",
"buildingName": "string",
"floor": "string",
"postBox": "string",
"room": "string",
"postCode": "string",
"townName": "string",
"townLocationName": "string",
"districtName": "string",
"countrySubDivision": "string",
"country": "LT"
},
"identityType": "ANY_BIC"
},
"amount": {
"currency": "EUR",
"value": 0.01
}
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Notification that previously sent payment has been returned
{
"messageType": "InstantPaymentReturnedMessage",
"data": [
{
"originalPaymentUid": "string",
"returnId": "string",
"originalMsgId": "string",
"originalTxId": "string",
"reasonCode": "FOLLOWING_CANCELLATION_REQUEST",
"additionalInfo": "string",
"originalAmount": {
"currency": "EUR",
"value": 0.01
},
"returnedAmount": {
"currency": "EUR",
"value": 0.01
}
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Incoming instant payment was debited (recalled) by Bank of Lithuania
{
"messageType": "InstantPaymentDebitedMessage",
"data": [
{
"originalPaymentUid": "string",
"returnId": "string",
"originalMsgId": "string",
"originalTxId": "string"
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Liquidity position report from Bank of Lithuania
{
"messageType": "LiquidityPositionReportMessage",
"data": [
{
"reportDate": "2019-11-21T16:32:59",
"amount": {
"currency": "EUR",
"value": 0.01
},
"identificationCode": "CREDIT"
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Report of SEPA Instant transactions from Bank of Lithuania
{
"messageType": "InstantPaymentTransactionsReportMessage",
"data": [
{
"msgId": "string",
"reportId": "string",
"pageNumber": 0,
"last": true,
"reportDate": "2019-11-21T16:32:59",
"accountIban": "LT121000011101001000",
"transactions": [
{
"transactionType": "CREDIT",
"debtorBic": "TESTLT21",
"creditorBic": "TESTLT21",
"amount": {
"currency": "EUR",
"value": 0.01
},
"originalPaymentTxId": "string"
}
]
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Notification about current state of the payment
{
"messageType": "InstantPaymentStatusRequestMessage",
"data": [
{
"originalPaymentUid": "string",
"msgId": "string",
"txId": "string",
"statusRequestId": "string",
"messageType": "PAYMENT"
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Notification about denying to return funds on cancellation
{
"messageType": "InstantPaymentRetainedMessage",
"data": [
{
"originalPaymentUid": "string",
"retentionId": "string",
"originalMsgId": "string",
"originalTxId": "string",
"reasonCode": "INSUFFICIENT_FUNDS",
"additionalInfo": "string"
}
]
}
Request to initiate an outgoing instant payment
Rejects a previously received incoming instant payment.
Confirms a previously received incoming instant payment.
Request cancellation of a previously sent outgoing payment.
Return a previously received incoming payment.
Do not return funds for a cancelled incoming payment.
Send liquidity transfer request between internal accounts.
Request status of an outgoing instant payment cancellation.
Outgoing payment confirmed and settled by CENTROlink
Outgoing payment was rejected by CENTROlink
Previously sent instant payment was cancelled.
Notification about successfully processed liquidity transfer
Incoming message about account statement balances
Callback with new incoming payment
Notification that previously sent payment has been returned
Incoming instant payment was debited (recalled) by Bank of Lithuania
Liquidity position report from Bank of Lithuania
Report of SEPA Instant transactions from Bank of Lithuania
Notification about current state of the payment
Notification about denying to return funds on cancellation
Currency code (ISO 4217)
Country code (ISO 3166-1 alpha-2)
Information on party’s account
Information on party’s account
Monetary amount. Length of fractional part is 2 digits
Information on party’s personal details
Structured address.
Proxy of party’s account
Proxy type on party’s personal details
Cancellation reason code.
Reason code for retaining the incoming payment:
Type of instant message
Reason for instant payment rejection
AC01) – Incorrect account numberAC03) – Incorrect IBANAC04) – Closed accountAC06) – Blocked accountAG01) – Transaction forbiddenAG02) – Invalid bank operation codeAG09) – Original payment not receivedAG10) – Instructing agent suspendedAG11) – Creditor agent suspendedAM04) – Insufficient fundsAM09) – Wrong amountAM23) – Amount exceeds settlement limitARDT) – Already returned transactionCUST) – Requested by customerDUPL) – Duplicate paymentFOCR) – Following cancellation requestFRAD) – Fraudulent transactionLEGL) – Legal decisionMS02) – Not specified reason (customer)MS03) – Not specified reason (agent)NOAS) – No answer from customerNOOR) – Original credit transfer not receivedRC01) – Bank identifier incorrectRR01) – Missing debtor account or identificationRR02) – Missing debtor name or addressRR03) – Missing creditor name or addressRR04) – Regulatory reasonTECH) – Technical errorTM01) – Invalid cut-off timeXT04) – Insufficient liquidityXT06) – Invalid acceptance date/timeXT79) – Debtor agent not allowed to send IPXT80) – Creditor agent not allowed to receive IPXT83) – Product usage not allowedUNKNOWN) – Unknown reasonReason for returned instant payment.
Allows to create a new outgoing instant payment.
Rejects a previously received incoming instant payment.
Confirms a previously received incoming instant payment.
Cancel a previously sent outgoing instant payment.
Return a previously received instant payment.
Do not return funds for a previously received payment cancellation.
Request for liquidity transfer between internal accounts.
Request for the status of an outgoing instant payment cancellation.
Payload of accepted instant message
Payload of rejected instant message
Type of the message for which the status was requested: