Creates the submitted credit transfers.
If a submitted reference matches an existing credit transfer that has not reached the bank yet — one shown in the credit transfer list as Draft, Cancelled, Rejected by signatory or Rejected by depositary — that credit transfer is updated with the submitted data instead of being rejected as a duplicate, and its ID is returned. Updating is only possible for credit transfers you are permitted to access. A reference matching a credit transfer in any other status is rejected as a duplicate, as is a reference submitted together with batching parameters. A credit transfer submitted without a reference always creates a new one.
Purpose
Use it to submit the payments of an external system to FinologeeBKO, as drafts, sent for authorisation, or signed at submission with the X-Signature header.
Rights
PAYMENT_CREATE- Without
options.draft, the API user also needsPAYMENT_SKIP_4EYESwith a scope that covers the ordering party account, payment category, currency and counterparty account of each credit transfer. The API user creates the credit transfers and sends them for authorisation in one call, so the maker-checker principle requires this right - With
options.draftset totrue, the scope ofPAYMENT_CREATEmust cover the ordering party account, payment category, currency and counterparty account of each credit transfer - Updating, without
options.draft, an editable credit transfer that another user last modified requires the scope ofPAYMENT_APPROVE. On an update, the API user's scope must also cover the credit transfer as it exists before the update PAYMENT_AUTHORISEand the signatory rules apply when the request has anX-Signatureheader, see Signed creation
Rules
- The request is all or nothing: when one credit transfer is invalid, FinologeeBKO creates and updates none of them
orderingParty.accountNumbermust match exactly one active ordering party account. A deactivated ordering party account is refused- When several counterparty accounts have the same
counterparty.accountNumber, the credit transfer is refused; usecounterparty.id. Counterparty accounts in statusREJECTEDorDEACTIVATEDare refused. A counterparty account in statusPENDINGis accepted, see Effects - The ordering party account and the counterparty account cannot be the same account, and neither can be on the tenant's blacklist
categoryis the name of an active payment category within the API user'sPAYMENT_CREATEscope. The match ignores case and surrounding spacescurrencyis an active currency of the tenantamountis greater than zero, has no more decimals than the currency allows, and has at most 14 digits in totalremittanceInfocannot be blankreferenceaccepts letters, digits, spaces and/ - ? : ( ) . ' +. It cannot start or end with/nor contain//executionDatecannot be in the past. WithoutexecutionDate, FinologeeBKO executes the credit transfer as soon as possibleauthorisationDatecannot be afterexecutionDate. FinologeeBKO sets the authorisation deadline toauthorisationDate, or toexecutionDatewhen it is absent, or to the current day when both are absent, at the cut-off time configured for the ordering party account and currencychargeBearerandurgencyfollow the rules in Credit TransfersgroupId, when set, is theidof an existing transaction groupcorrespondentBank.bic, when set, is a valid BIC with a country code known to FinologeeBKO- FinologeeBKO refuses duplicates:
- Two credit transfers of the same request with the same
reference - Two credit transfers of the same request without
referencethat have the same ordering party account, counterparty account, amount, currency and execution date
- Two credit transfers of the same request with the same
Updating a credit transfer by reference
- The update applies only when the
referencematches exactly one credit transfer in an editable status - Only individual credit transfers can be updated. A batch booking cannot be updated by reference
- The update follows the same audit trail and status rules as an edit in the interface
- An update removes the signatures already given on the credit transfer
Batch booking
With options.batchingParams.batchBookingParams, FinologeeBKO creates one batch booking that contains all credit transfers of the request.
batchBookingParams.referencefollows the rules ofreferenceand cannot already be in use.batchBookingParams.namecannot be the name of an existing transaction groupoptions.draftcannot betrue- All credit transfers have the same ordering party account, payment category and urgency
- The bank of the ordering party account supports batch booking, and the ordering party account is not under depositary oversight
- All credit transfers are SEPA payments in
EURbetween accounts in the SEPA area - The response contains one
id: the identifier of the batch booking
Signed creation
The X-Signature header attaches the API user's signature to the credit transfers at creation. Without the header, FinologeeBKO creates the credit transfers without signature.
Creation of the X-Signature value
The content of the X-Signature header is the detached JWS of the request body. A detached JWS signs the body of an HTTP request without modifying it.
To generate the detached JWS:
- Generate a standard JWS in compact serialization, with the HTTP body as payload
- Replace the middle part of the JWS (the payload) with an empty string
- Put the resulting string, a JWS without payload, in the
X-Signatureheader
The JWS header.payload.signature becomes the detached JWS header..signature (with two dots).
The JWS must contain the certificate used to sign in its x5c header.
Obtain a certificate
To obtain a certificate, send a CSR (certificate signing request) to Finologee. The CSR contains the following information:
CN = Firstname Lastname of the user
O = tenant (the tenant name of the user, provided by Finologee)
OU = REGULAR
C = LU (country)
ST = Luxembourg (state)
L = Leudelange (locality)
emailAddress = [email protected]
Finologee returns a certificate to use as entry of the x5c array of the JWS.
Example of CSR creation with an existing private key:
openssl req -new -key device-key.pem -out device-csr.pem -subj "/C=LU/ST=Luxembourg/L=Leudelange/O=tenant1/OU=REGULAR/CN=Jean Dupont/[email protected]"
Signature rules
- The certificate must be valid and trusted by FinologeeBKO
- The
emailAddressof the certificate must be the email address of the API user, and itsOthe tenant of the API user. The comparison ignores case - The JWS signature must match the request body
orderingParty.accountNumberandcounterparty.accountNumberare required in each credit transfer, so that the signed body contains the account numbers sent to the bank- The API user must be able to sign every credit transfer of the request under the signatory rules of the tenant
Signing process
- Credit transfers that require a single signature are sent to the bank according to the cut-off time
- Credit transfers that require several signatures wait until all signatures are received before being sent to the bank
Effects
- Without
options.draft, FinologeeBKO computes the required signatures from the signatory rules and notifies the signatories. Auto-authorisation applies when it is configured - Credit transfers matched by an automatic rejection rule move to
REJECTED_BY_SIGNATORYright after creation - Credit transfers to a counterparty account in status
PENDINGstay on hold until the counterparty account is approved, and the users who can approve it receive a notification - With
X-Signature, FinologeeBKO records the API user's signature on each created credit transfer. A fully signed credit transfer moves toPENDING_DELIVERY_TO_BANK, or toWAITING_FOR_DEPOSITARY_AUTHORISATIONfor an ordering party account under depositary oversight - An updated credit transfer returns to
DRAFTor toWAITING_FOR_SIGNATURES, and the audit log records the changed fields and group changes - The audit log of each credit transfer records its creation and its submission for authorisation
- Subscribers to credit transfer webhooks receive
TRANSACTION_FULLY_SIGNEDwhen a credit transfer is fully signed, then the bank and cancellation events. See Credit Transfer Webhook API
Order of the returned identifiersThe response lists the
idof every created or updated credit transfer in ascending order, not in the order of the request. To map eachidto its source record, setreferenceon every credit transfer and read them back with Find credit transfer filtered byreferences.
Errors
| Status | When |
|---|---|
400 | A batch booking constraint is not met |
400 | The X-Signature value is invalid, its certificate does not match the API user, or the API user cannot sign the credit transfers. FinologeeBKO creates none of them |
409 | An updated credit transfer was modified concurrently |

