SEPA Gateway API provides an access to the SEPA Direct Debit 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 direct debit payment
{
"messageType": "OutgoingDirectDebitMessage",
"data": [
{
"settlementDate": "2019-08-24",
"directDebitUid": "string",
"msgId": "string",
"txId": "string",
"sequenceType": "FIRST",
"creditorSchemeId": "string",
"mandate": {
"id": "string",
"signatureDate": "2019-08-24",
"amendment": true,
"amendmentDetails": {
"originalId": "string",
"originalCreditorSchemeId": "string",
"originalPayerAccountSameMandate": true,
"originalPayerAccount": {
"iban": "LT121000011101001000",
"bic": "TESTLT21",
"proxy": {
"id": "string",
"proxyType": {
"code": "stri",
"proprietary": "string"
}
}
}
},
"electronicSignature": "string"
},
"amount": {
"currency": "EUR",
"value": 0.01
},
"paymentDate": "2019-11-21T16:32:59",
"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"
}
}
}
},
"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"
},
"paymentCode": "stri",
"purpose": "string"
}
]
}
Message queue to send messages to
Available only on servers:
Accepts the following message:
Request to initiate an outgoing direct debit payment reject
{
"messageType": "DirectDebitRejectionMessage",
"data": [
{
"directDebitUid": "string",
"msgId": "string",
"txId": "string",
"reasonCode": "INCORRECT_ACCOUNT_NUMBER",
"originatorBic": "string",
"originatorName": "string"
}
]
}
Message queue to send messages to
Available only on servers:
Accepts the following message:
Request to cancel previously sent outgoing direct debit payment
{
"messageType": "OutgoingDirectDebitCancellationMessage",
"data": [
{
"directDebitUid": "string",
"msgId": "string",
"txId": "string",
"reasonCode": "FRAUDULENT_TRANSACTION",
"additionalInfo": "string"
}
]
}
Message queue to send messages to
Available only on servers:
Accepts the following message:
Request to reverse previously sent outgoing direct debit payment
{
"messageType": "OutgoingDirectDebitReversalMessage",
"data": [
{
"directDebitUid": "string",
"msgId": "string",
"txId": "string",
"reasonCode": "NOT_SPECIFIED_BY_CUSTOMER"
}
]
}
Message queue to send messages to
Available only on servers:
Accepts the following message:
Request to return previously sent outgoing direct debit payment
{
"messageType": "OutgoingDirectDebitReturnMessage",
"data": [
{
"directDebitUid": "string",
"msgId": "string",
"txId": "string",
"reasonCode": "NOT_SPECIFIED_BY_CUSTOMER",
"additionalInfo": "string"
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Payment received via direct debit enables the possibility of refunding a previously sent outgoing payment.
{
"messageType": "DirectDebitReceivedMessage",
"data": [
{
"directDebitUid": "string",
"directDebitTimestamp": "2019-11-21T16:32:59",
"settlementDate": "2019-08-24",
"dueDate": "2019-08-24",
"amount": {
"currency": "EUR",
"value": 0.01
},
"msgId": "string",
"txId": "string",
"purpose": "string",
"paymentCode": "stri",
"sequenceType": "FIRST",
"creditorSchemeId": "string",
"mandate": {
"id": "string",
"signatureDate": "2019-08-24",
"amendment": true,
"amendmentDetails": {
"originalId": "string",
"originalCreditorSchemeId": "string",
"originalPayerAccountSameMandate": true,
"originalPayerAccount": {
"iban": "LT121000011101001000",
"bic": "TESTLT21",
"proxy": {
"id": "string",
"proxyType": {
"code": "stri",
"proprietary": "string"
}
}
}
},
"electronicSignature": "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"
}
}
}
},
"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 receive messages from
Available only on servers:
Accepts the following message:
Settled message received. Allows to retrieve information about previously sent messages.
{
"messageType": "DirectDebitSettledMessage",
"data": [
{
"directDebitUid": "string",
"directDebitType": "OUTGOING_DIRECT_DEBIT",
"msgId": "string",
"txId": "string"
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Direct debit canceled message. Allows to retrieve information about canceled direct debit message.
{
"messageType": "DirectDebitCancelledMessage",
"data": [
{
"directDebitUid": "string",
"reasonCode": "FRAUDULENT_TRANSACTION",
"additionalInfo": "string",
"originalMsgId": "string",
"originalTxId": "string",
"cancellationId": "string"
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Direct debit returned message. Allows to retrieve information about the returned direct debit message.
{
"messageType": "DirectDebitReturnedMessage",
"data": [
{
"directDebitUid": "string",
"reasonCode": "INCORRECT_ACCOUNT_NUMBER",
"amount": 0.01,
"charges": {
"amount": 0.01,
"institutionBic": "string"
},
"compensation": 0.01,
"msgId": "string",
"txId": "string"
}
]
}
Message queue to receive messages from
Available only on servers:
Accepts the following message:
Direct debit reversed message. Allows to retrieve information about the reversed direct debit message.
{
"messageType": "DirectDebitReversedMessage",
"data": [
{
"directDebitUid": "string",
"reasonCode": "NOT_SPECIFIED_BY_CUSTOMER",
"charges": {
"amount": 0.01,
"institutionBic": "string"
},
"originalMsgId": "string",
"originalTxId": "string",
"reversalId": "string"
}
]
}
Request to initiate an outgoing direct debit payment
Request to initiate an outgoing direct debit payment reject
Request to cancel previously sent outgoing direct debit payment
Request to reverse previously sent outgoing direct debit payment
Request to return previously sent outgoing direct debit payment
Payment received via direct debit enables the possibility of refunding a previously sent outgoing payment.
Settled message received. Allows to retrieve information about previously sent messages.
Direct debit rejected message. Allows to retrieve information about rejected direct debit message.
Direct debit canceled message. Allows to retrieve information about canceled direct debit message.
Direct debit returned message. Allows to retrieve information about the returned direct debit message.
Direct debit reversed message. Allows to retrieve information about the reversed direct debit message.
Contains details of outgoing payment validation errors
Currency code (ISO 4217)
Country code (ISO 3166-1 alpha-2)
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
Reason for rejecting a direct debit instruction
Reason for rejecting a direct debit payment
Reason for returning a direct debit payment
Allows to create a new outgoing direct debit payment.
Allows rejecting previously received incoming payment by the inability to deliver funds to the beneficiary.
Allows to cancel previously sent outgoing payment by client or backend operator request.
Reason for cancellation of a direct debit payment
Allows reversal of a previously sent outgoing direct debit payment.
Reason for reversal of a direct debit payment
Request to return a previously sent outgoing direct debit payment.
Reason for returning an outgoing direct debit payment
Payment received via direct debit enables the possibility of refunding a previously sent outgoing payment upon request from the client or backend operator.
Type of Direct Debit