Transport Reference
This page details all the interfaces going into and out of the CSM service. It has been split into two parts. Each part describes message queues and topics where the data flows:
-
Part 1 — from the payment/recall/direct debit service to CSM service
-
Part 2 — from the CSM service to the payment/recall/direct debit service
-
Part 3 — Configuration reference
Part 1: Payment/Recall Service to CSM service
| ID | Name | ISO20022 payload | Description | JMS Queue Default Value | Kafka Topic Default Value | JMS Queue Config Key | Kafka topic key (see note) |
|---|---|---|---|---|---|---|---|
1-1 |
Clear and settle request |
pacs.008 |
Payment service indicates that it wants to send a credit transfer to the CSM |
|
|
|
|
1-2 |
Scheme rules request (Debtor) |
pacs.008 |
Validate a credit transfer before sending to a CSM, will mark as DEBTOR unless user specifies a flowType in supportingContext. Note. can handle all types of validation. |
|
|
|
|
1-3 |
Send status request |
pacs.028 |
Payment service indicates that it wants to send a status inquiry request to the CSM |
|
|
|
|
1-4 |
Creditor payment activation request (request to pay) |
pain.013 |
Payment service indicates that it wants to send a request-to-pay request to the CSM |
|
|
|
|
1-5 |
Debtor payment activation response (request to pay response) |
pain.014 |
Payment service indicates that it wants to send a request-to-pay response to the CSM |
|
|
|
|
1-6 |
Receive payment response |
pacs.002 |
Response to |
|
|
|
|
1-7 |
Receive return response |
pacs.002 |
Response to |
|
|
|
|
1-8 |
Receive Status Request Response |
pacs.002 |
Response to |
|
|
|
|
1-9 |
RRR Debtor messages to CSM |
camt.056, pacs.028, pacs.002 |
Recall service indicates that it wants to send a Recall request or Recall Enquiry Request to the CSM |
|
|
|
|
1-10 |
RRR Creditor messages to CSM |
pacs.004, camt.029, pacs.002 |
Recall service responds to previously received Recall request with either positive or negative answer |
|
|
|
|
1-11 |
Scheme rules request (Creditor) |
pacs.008 |
Validate a credit transfer before sending to a CSM, will mark as CREDITOR unless user specifies a flowType in supportingContext. Note: can handle all types of validation |
|
|
|
|
1-13 |
Scheme rules request |
pacs.008 |
Validate a credit transfer before sending to a CSM |
|
|
|
|
1-14 |
Send status request from creditor service |
pacs.028 |
Creditor service indicates that it wants to send a status request to the CSM |
|
|
|
|
1-15 |
Collect and settle request |
pacs.003 |
Payment service indicates that it wants to send a direct debit request to the CSM |
|
|
|
|
1-16 |
Direct debit scheme rules request |
pacs.003 |
Validate a direct debit before sending to a CSM, will mark as CREDITOR unless user specifies a flowType in supportingContext |
|
|
|
|
1-17 |
Direct debit cancellation request |
camt.056 |
Payment service indicates that it wants to send a direct debit payment cancellation request to the CSM |
|
|
|
|
1-18 |
Direct debit reversal request |
pacs.007 |
Payment service indicates that it wants to send a direct debit payment reversal request to the CSM |
|
|
|
|
Part 2: CSM Service to Payment/Recall Service
ID |
Name |
ISO20022 payload |
Description |
JMS Queue Default Value |
Kafka Topic Default Value |
JMS Queue Config Key |
Kafka topic key (see note) |
2-1 |
Clear and settle response |
pacs.002 |
Response to |
|
|
|
|
2-2 |
Validate against scheme rules response (Debtor) |
(N/A) |
Response to |
|
|
|
|
2-3 |
Technical response |
(N/A) |
Technical acknowledgement of message sent from CSM to CSM Service to Payment Service |
|
|
|
|
2-4 |
Receive payment request |
pacs.008 |
The CSM Service wants the Payment Service to handle this creditor credit transfer request |
|
|
|
|
2-5 |
Receive payment settled request |
pacs.002 |
Usually known as a pacs.002 confirmation, initiated by |
|
|
|
|
2-6 |
Receive payment timeout |
pacs.002 |
A special variant of |
|
|
|
|
2-7 |
Receive return request |
pacs.004 |
The CSM has sent a payment return to the payment service |
|
|
|
|
2-8 |
Receive payment status inquiry request |
pacs.028 |
The CSM has sent a payment status inquiry to the payment service |
|
|
|
|
2-9 |
Status request response |
pacs.002 |
Response to |
|
|
|
|
2-10 |
Debtor request to pay request |
pain.014 |
Response to |
|
|
|
|
2-11 |
Creditor request to pay response |
pain.014 |
Response to |
|
|
|
|
2-12 |
Liquidity position notification |
camt.052 |
Liquidity position notification forwarded to the Payment Service |
|
|
|
|
2-13 |
Liquidity adjustment notification |
camt.054 |
Liquidity adjustment notification forwarded to the Payment Service |
|
|
|
|
2-14 |
Participant unavailable notification |
admi.004 |
Participant unavailable notification forwarded to the Payment Service |
|
|
|
|
2-15 |
Receive Status Request |
pacs.028 |
CSM has sent a status inquiry message to the Payment Service |
|
|
|
|
2-16 |
All messages from CSM to RRR Debtor (respond to a recall) |
pacs.004, camt.029, pacs.002 |
CSM Service sends a response to previously issued recall request on which it can be responded either positively (pacs.004) or negatively (camt.029) |
|
|
|
|
2-17 |
All messages from CSM to RRR Creditor |
camt.056, pacs.028, pacs.002, pacs.004 |
CSM Service sends recall request or recall enquiry request for previously processed transaction |
|
|
|
|
2-18 |
Validate against scheme rules response (Creditor) |
(N/A) |
Response to |
|
|
|
|
2-19 |
Validate against scheme rules response (Debtor) |
(N/A) |
Response to |
|
|
|
|
2-20 |
Status request response |
pacs.002 |
Response to |
|
|
|
|
2-21 |
Collect and settle response |
pacs.003 |
Response to |
|
|
|
|
2-22 |
Technical response (Direct Debit) |
(N/A) |
Technical acknowledgement of direct debit message sent from CSM to CSM Service to Payment Service |
|
|
|
|
2-23 |
Validate against direct debit scheme rules response |
(N/A) |
Response to |
|
|
|
|
2-24 |
Direct debit cancellation response |
camt.056 |
Response to |
|
|
|
|
2-25 |
Direct debit reversal response |
pacs.007 |
Response to |
|
|
|
|
Note about Kafka configuration keys
Unlike JMS, Kafka configuration is directional, which is why configuration keys have been specified like this:
csm.kafka.[consumer|producer].topics.clear-and-settle.creditor-to-csm
When overriding the topic configuration, be sure to set the right property for the right service depending on the direction of the message. Use the following table to determine the right prefix to use:
| Message kind | Kafka config prefix for Payment/R service | Kafka config prefix for CSM service |
|---|---|---|
Payment Service to CSM service (Part 1) |
|
|
CSM service to Payment Service (Part 2) |
|
|
Part 3: Connector Transport Configuration Reference
The following tables list the connector transports defined in the CSM Client Starter module, grouped by service type.
Credit Transfer (CT) Service Connector Transports
Send Connector Transports
| Connector Name | JMS Transport Config Root Path | Kafka Transport Config Root Path |
|---|---|---|
CSMClearAndSettleSend |
|
|
CSMReceivePaymentResponseSend |
|
|
CSMSendInformationRequestToCSMSend |
|
|
sendInformationRequestResponseToCSMSendConnector |
|
|
sendAdditionalInformationRequestResponseToCSMSendConnector |
|
|
CSMCreditorRequestToPayRequestSend |
|
|
CSMDebtorRequestToPayResponseSend |
|
|
CSMReceivePaymentStatusInquiryResponseSend |
|
|
CSMSlowReceivePaymentResponseSend |
|
|
CSMStatusRequestSend |
|
|
CSMCreditorStatusRequestSend |
|
|
Receive Connector Transports
| Connector Name | JMS Config Root Path | Kafka Config Root Path |
|---|---|---|
ClearAndSettleCSMToDebtorReceiveConnector |
|
|
clearAndSettleCSMToCreditorReceiveConnector |
|
|
NotificationsReceiveConnector |
|
|
ClearAndSettleTechnicalResponseReceiveConnector |
|
|
Recall/Return/Resolution (RRR) Service Connector Transports
Send Connector Transports
| Connector Name | JMS Config Root Path | Kafka Config Root Path |
|---|---|---|
sendDebtorRRRRequestToCsm |
|
|
sendDebtorRRRResponseToCsm |
|
|
sendCreditorRRRRequestToCsm |
|
|
sendCreditorRRRResponseToCsm |
|
|
Direct Debit (DD) Service Connector Transports
Send Connector Transports
| Connector Name | JMS Config Root Path | Kafka Config Root Path |
|---|---|---|
ddCreditorToCsmSendConnectorTransport |
|
|
Receive Connector Transports
| Connector Name | JMS Config Root Path | Kafka Config Root Path |
|---|---|---|
ddCsmToCreditorReceiveConnectorTransport |
|
|
DirectDebitTechnicalResponseReceiveConnectorTransport |
|
|
General JMS Notes
The tables above list configuration root paths. To see the structure that the configuration under those paths can take, please refer to the JMS section of IPF Connector Framework docs.
In addition to specifying the transport settings, JMS connection factory configuration can be customized through the following properties:
csm.jms {
# The URL of the JMS broker supporting the CSM API
broker-url = "tcp://localhost:61616"
# Sets the window size for flow control of the consumers created through this factory.
# Value must be -1 (to disable flow control), 0 (to not buffer any messages) or greater than 0 (to set the maximum size of the buffer).
consumer-window-size = 0
# Sets the blocking call failover timeou duration.
# When the client is awaiting failover, this is over and above the normal call timeout.
# Value can be -1 (indicating infinity) or a duration.
# If the duration is specified without units, milliseconds are assumed.
failover-timeout = 5000
# The blocking calls timeout duration.
# If the duration is specified without units, milliseconds are assumed.
call-timeout = 30000
}
General Kafka Notes
The tables above list configuration root paths. To see the structure that the configuration under those paths can take, please refer to the Kafka section of IPF Connector Framework docs.