Before you initiate standard payment using Initiate Payment API, we suggest calling Get Payment Rails API. In the request body, you need to pass creditor and debtor IBANs as well as instructed amount and currency.
{
"debtorAccount": {
"iban": "LT843740020000007036"
},
"creditorAccount": {
"iban": "LT573740020000007037"
},
"instructedAmount": {
"amount": "20000.00",
"currency": "EUR"
}
}
The response body will return fastest applicable payment rail in “paymentRails” parameter (more than one value can be returned into “paymentRails” parameter). Then, use one of “paymentRails” values for Initiate Payment API request.
{
"paymentRails": [
"INTERNAL","SEPA_SCT"
]
}
Get Payment Rails API is not mandatory for standard payments creation, however, it will help you identify the fastest rail possible. If you decide to skip Get Payment Rails API, then payment rail will be calculated automatically and fastest payment rail will be chosen by ConnectPay when Initiate Payment API is called.
Possible payment rails:
Payment Rail | Description |
---|---|
“INTERNAL” | Transfer between two ConnectPay accounts |
“SEPA_SCT_INST” | SEPA Instant Credit Transfer (SEPA SCT Inst) |
“SEPA_SCT” | SEPA Credit Transfer (SEPA SCT) |
“SWIFT” | Cross-border transfer |
Tip! “SWIFT” payment rail requires more parameters to be passed in Initiate Payment API.
More information in Initiate Payment API.