Inbound Credits and Debits
The following scenarios describe the payment transaction flows between you as the homing bank and Electrum.
Successful Inbound Credit or Debit
Electrum receives a file from BankservAfrica containing a bundle of debit and credit transactions to be processed under the specific EFT payment sub-service.
Electrum determines what type of file a particular payment comes from and decides:
Whether a payment must be processed the same day or on another day.
Whether the payment is a credit (to be processed immediately) or a debit (to be processed later in the day).
- Once the transaction is ready to be sent to the you (action date is reached and – in the case of debits – the allowed processing window is reached) Electrum sends either:
An
inboundCreditTransfer
[request] (/openapi/elpapi-partner/operation/inboundCreditTransfer/) to the/inbound/credit-transfer
endpoint, in the case of a credit transaction (CreditTransfer
schema; see below), orAn
inboundDirectDebit
[request] (/openapi/elpapi-partner/operation/inboundDirectDebit/) to theinbound/direct-debit
endpoint in the case of a debit transaction (DirectDebit
schema; see below.)
The message is sent via an Electrum store-and-forward (SAF) queue which repeats the message until you return a positive response.
CreditTransfer Schema
Holds a point-to-point unique message identification string as well as a message's creation date time.
The date and time at which the message was created, in senders local timezone or UTC. The date must be formatted as defined by date-time
in RFC3339
A reference used to unambiguously identify the message between the sending and receiving party. Take note that this uniquely identifies a single message in a potentially multi-message exchange to complete a payment.
A list of key-value pairs to support adding any supplementary/additional data to an Electrum Regulated Payments API message.
Holds a series of identifiers to identify the transaction or an individual message that is part of a transaction.
Unique identification, as assigned by the initiating party, to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain. Note: this is distinct from the UETR.
Unique identification, as assigned by an instructing party for an instructed party, to unambiguously identify the instruction. The instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction.
Unique identification, as assigned by the first instructing agent, to unambiguously identify the transaction that is passed on, unchanged, throughout the entire interbank chain. Usage: The transaction identification can be used for reconciliation, tracking or to link tasks relating to the transaction on the interbank level. Usage: The instructing agent has to make sure that the transaction identification is unique for a pre-agreed period.
Universally unique identifier to provide an end-to-end reference of a payment transaction. This identifier remains the same for all messages related to the same transaction.
A valid, active currency code as defined in ISO 4217 indicating the currency of the amount.
The payment amount in the denomination of the indicated currency, in the format '<major units>.<minor units> with the number of minor units (fractional digits) compliant with the number of decimal places published in ISO 4217.
Currency Code | Example | Valid | Notes |
---|---|---|---|
USD | 10.0 | ✓ | Represents 10 USD and no cents. |
USD | 10.00 | ✓ | |
USD | 10.001 | ✗ | US dollar does not support three decimal places. |
JPY | 10.0 | ✓ | Represents 10 Japanese Yen. |
JPY | 10.1 | ✗ | Japanese Yen does not support decimal places. |
This model is the basic representation of a Party. It is expanded on depending on whether the party is a person or an organisation.
A code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code).
The identification of a party, either a person or an organisation.
The name by which this party is commonly known in day to day use. For example, a shortening of their legal name or a nickname that they commonly use. This is "non-official". However, it is acceptable for this field to be set to the same as legalName
.
The legal name by which this party is known (the "FICA" name). This is the full name of the party as found on country-issued documentation (national identity, company registration documentation etc).
Representation of an account for payment purposes. Note that at least one of identification
or proxy
is expected to be present.
Identification of the currency in which the account is held.
Name of the account, as assigned by the account servicing institution, in agreement with the account owner in order to provide an additional means of identification of the account.
A code allocated to a financial or non-financial institution by the ISO 9362 Registration Authority as described in ISO 9362 Banking - Banking telecommunication messages - Business identifier code (BIC)
An organisation identified by a code allocated to a party as described in ISO 17442 Financial Services - Legal Entity Identifier (LEI).
Name by which an institution is known and which is usually used to identify that institution
A unique identifier assigned to a company or organisation by a duly appointed authority within a country.
Deprecated. Please use the preferred clearingSystemMemberId.memberId
instead. Identification of a member of a clearing system.
This model is the basic representation of a Party. It is expanded on depending on whether the party is a person or an organisation.
A code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code).
The identification of a party, either a person or an organisation.
The name by which this party is commonly known in day to day use. For example, a shortening of their legal name or a nickname that they commonly use. This is "non-official". However, it is acceptable for this field to be set to the same as legalName
.
The legal name by which this party is known (the "FICA" name). This is the full name of the party as found on country-issued documentation (national identity, company registration documentation etc).
Representation of an account for payment purposes. Note that at least one of identification
or proxy
is expected to be present.
A code allocated to a financial or non-financial institution by the ISO 9362 Registration Authority as described in ISO 9362 Banking - Banking telecommunication messages - Business identifier code (BIC)
An organisation identified by a code allocated to a party as described in ISO 17442 Financial Services - Legal Entity Identifier (LEI).
Name by which an institution is known and which is usually used to identify that institution
A unique identifier assigned to a company or organisation by a duly appointed authority within a country.
Deprecated. Please use the preferred clearingSystemMemberId.memberId
instead. Identification of a member of a clearing system.
Further information related to the processing of the payment instruction, provided by the initiating party, and intended for the creditor agent.
Agents between the debtor's agent and the creditor's agent. Usage: If more than one intermediary agent is present, then IntermediaryAgent1 identifies the agent between the DebtorAgent and the IntermediaryAgent2
Designates which scheme a customer credit transfer is associated with and describes scheme-specific information for the credit transfer.
Information necessary for FI to FI customer credit transfers, specifically for CBPR+
DEBT
(BorneByDebtor): All transaction charges are to be borne by the debtorCRED
(BorneByCreditor): All transaction charges are to be borne by the creditorSHAR
(Shared): In a credit transfer context, means that transaction charges on the sender side are to be borne by the debtor, transaction charges on the receiver side are to be borne by the creditor. In a direct debit context, means that transaction charges on the sender side are to be borne by the creditor, transaction charges on the receiver side are to be borne by the debtor.SLEV
(FollowingServiceLevel): Charges are to be applied following the rules agreed in the service level and/or scheme
Factor used to convert an amount from one currency into another. This reflects the price at which one currency was bought with another currency.
Agent(s) between the debtor's agent and the instructing agent.
Specifies the underlying reason for the payment transaction
Date on which the amount of money ceases to be available to the agent that owes it and when the amount of money becomes available to the agent to which it is due.
DirectDebit Schema
Holds a point-to-point unique message identification string as well as a message's creation date time.
The date and time at which the message was created, in senders local timezone or UTC. The date must be formatted as defined by date-time
in RFC3339
A reference used to unambiguously identify the message between the sending and receiving party. Take note that this uniquely identifies a single message in a potentially multi-message exchange to complete a payment.
A list of key-value pairs to support adding any supplementary/additional data to an Electrum Regulated Payments API message.
Holds a series of identifiers to identify the transaction or an individual message that is part of a transaction.
Unique identification, as assigned by the initiating party, to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain. Note: this is distinct from the UETR.
Unique identification, as assigned by an instructing party for an instructed party, to unambiguously identify the instruction. The instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction.
Unique identification, as assigned by the first instructing agent, to unambiguously identify the transaction that is passed on, unchanged, throughout the entire interbank chain. Usage: The transaction identification can be used for reconciliation, tracking or to link tasks relating to the transaction on the interbank level. Usage: The instructing agent has to make sure that the transaction identification is unique for a pre-agreed period.
Universally unique identifier to provide an end-to-end reference of a payment transaction. This identifier remains the same for all messages related to the same transaction.
A valid, active currency code as defined in ISO 4217 indicating the currency of the amount.
The payment amount in the denomination of the indicated currency, in the format '<major units>.<minor units> with the number of minor units (fractional digits) compliant with the number of decimal places published in ISO 4217.
Currency Code | Example | Valid | Notes |
---|---|---|---|
USD | 10.0 | ✓ | Represents 10 USD and no cents. |
USD | 10.00 | ✓ | |
USD | 10.001 | ✗ | US dollar does not support three decimal places. |
JPY | 10.0 | ✓ | Represents 10 Japanese Yen. |
JPY | 10.1 | ✗ | Japanese Yen does not support decimal places. |
This model is the basic representation of a Party. It is expanded on depending on whether the party is a person or an organisation.
A code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code).
The identification of a party, either a person or an organisation.
The name by which this party is commonly known in day to day use. For example, a shortening of their legal name or a nickname that they commonly use. This is "non-official". However, it is acceptable for this field to be set to the same as legalName
.
The legal name by which this party is known (the "FICA" name). This is the full name of the party as found on country-issued documentation (national identity, company registration documentation etc).
Representation of an account for payment purposes. Note that at least one of identification
or proxy
is expected to be present.
A code allocated to a financial or non-financial institution by the ISO 9362 Registration Authority as described in ISO 9362 Banking - Banking telecommunication messages - Business identifier code (BIC)
An organisation identified by a code allocated to a party as described in ISO 17442 Financial Services - Legal Entity Identifier (LEI).
Name by which an institution is known and which is usually used to identify that institution
A unique identifier assigned to a company or organisation by a duly appointed authority within a country.
Deprecated. Please use the preferred clearingSystemMemberId.memberId
instead. Identification of a member of a clearing system.
This model is the basic representation of a Party. It is expanded on depending on whether the party is a person or an organisation.
A code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code).
The identification of a party, either a person or an organisation.
The name by which this party is commonly known in day to day use. For example, a shortening of their legal name or a nickname that they commonly use. This is "non-official". However, it is acceptable for this field to be set to the same as legalName
.
The legal name by which this party is known (the "FICA" name). This is the full name of the party as found on country-issued documentation (national identity, company registration documentation etc).
Representation of an account for payment purposes. Note that at least one of identification
or proxy
is expected to be present.
Identification of the currency in which the account is held.
Name of the account, as assigned by the account servicing institution, in agreement with the account owner in order to provide an additional means of identification of the account.
A code allocated to a financial or non-financial institution by the ISO 9362 Registration Authority as described in ISO 9362 Banking - Banking telecommunication messages - Business identifier code (BIC)
An organisation identified by a code allocated to a party as described in ISO 17442 Financial Services - Legal Entity Identifier (LEI).
Name by which an institution is known and which is usually used to identify that institution
A unique identifier assigned to a company or organisation by a duly appointed authority within a country.
Deprecated. Please use the preferred clearingSystemMemberId.memberId
instead. Identification of a member of a clearing system.
Agents between the debtor's agent and the creditor's agent. If more than one intermediary agent is present, then IntermediaryAgent1 identifies the agent between the DebtorAgent and the IntermediaryAgent2.
Provides details of the direct debit mandate signed between the creditor and the debtor.
NOTE: This model is a work in progress and may change. In particular, it lacks properties relating to mandate amendments which we may need in the future. Note also that this model is not relevant to the ZA_EFT
scheme, and therefore Electrum will not do any special processing for these fields for EFT (e.g. Electrum cannot honour tracking days for EFT payments).
Designates which scheme a direct debit is associated with and describes scheme-specific information for the direct debit.
Identifies the scheme used for the payment
ZA_RTC
: South African Realtime Clearing scheme.ZA_RPP
: South African Realtime Payments Platform scheme.ZA_EFT
: South African Electronic Funds Transfer scheme.CBPR_PLUS
: Cross-Border Payments and Reporting Plus.
An account number, shortened to 11 characters according to the account number reduction rules in the EFT technical standards. This field is intended for internal use by Electrum and generally should not be populated by partner implementations.
An account number, shortened to 11 characters according to the account number reduction rules in the EFT technical standards. This field is intended for internal use by Electrum and generally should not be populated by partner implementations.
An explanation of an EFT transaction, which will be printed on the debtor's statement for direct debits or the creditor's statement for credit transfers. Note that when populating a value for a direct debit, the first 10 characters must contain the Banks user code as configured at Bankserv. If configured, Electrum will populate this value automatically, in which case at most 20 characters should be used as a reference to avoid truncation.
Specifies the underlying reason for the payment transaction
Date and time at which the creditor requests that the amount of money is to be collected from the debtor.
Identifies the direct debit sequence:
FRST
: First collection of a series of direct debit instructions.RCUR
: Direct debit instruction where the debtor's authorisation is used for regular direct debit transactions initiated by the creditor.FNAL
: Final collection of a series of direct debit instructions.OOFF
: Direct debit instruction where the debtor's authorisation is used to initiate one single direct debit transaction.RPRE
: Collection used to represent previously reversed or returned direct debit transactions.
Date on which the amount of money ceases to be available to the agent that owes it and when the amount of money becomes available to the agent to which it is due.
- You respond with an HTTP status code
202
.
Electrum sends these EFT messages via a SAF queue (while not doing so for similar messages processed in RTC or RPP) because of the assumed settlement principle in EFT. Because BankservAfrica assumes approval of the transaction, Electrum will continue sending the request to the bank to ensure the message is delivered and the transaction will be processed.
- After you have successfully processed the transaction (debited or credited the relevant account), you send Electrum:
An
inboundCreditTransferResponse
message to the/inbound/credit-transfer-response
endpoint (PaymentStatusReport
schema) in the case of a credit payment.An
inboundDirectDebitResponse
message to the/inbound/direct-debit-response
endpoint (PaymentStatusReport
schema) in the case of a debit payment.
PaymentStatusReport Schema
Holds a point-to-point unique message identification string as well as a message's creation date time.
The date and time at which the message was created, in senders local timezone or UTC. The date must be formatted as defined by date-time
in RFC3339
A reference used to unambiguously identify the message between the sending and receiving party. Take note that this uniquely identifies a single message in a potentially multi-message exchange to complete a payment.
A list of key-value pairs to support adding any supplementary/additional data to an Electrum Regulated Payments API message.
Holds a point-to-point unique message identification string as well as a message's creation date time.
The date and time at which the message was created, in senders local timezone or UTC. The date must be formatted as defined by date-time
in RFC3339
A reference used to unambiguously identify the message between the sending and receiving party. Take note that this uniquely identifies a single message in a potentially multi-message exchange to complete a payment.
Holds a series of identifiers to identify the transaction or an individual message that is part of a transaction.
Unique identification, as assigned by the initiating party, to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain. Note: this is distinct from the UETR.
Unique identification, as assigned by an instructing party for an instructed party, to unambiguously identify the instruction. The instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction.
Unique identification, as assigned by the first instructing agent, to unambiguously identify the transaction that is passed on, unchanged, throughout the entire interbank chain. Usage: The transaction identification can be used for reconciliation, tracking or to link tasks relating to the transaction on the interbank level. Usage: The instructing agent has to make sure that the transaction identification is unique for a pre-agreed period.
Universally unique identifier to provide an end-to-end reference of a payment transaction. This identifier remains the same for all messages related to the same transaction.
APPROVED
: The instruction has been approved.CANCELLED
: The instruction has been cancelled.PENDING
: The instruction is pending.REJECTED
: The instruction has been rejected.
A list of StatusReasonInfo
values providing detailed reason information for the outcome.
Contains key elements related to the original transaction that is being referred to.
Designates which scheme a payment status report is associated with and describes scheme-specific information for the payment status report.
- Electrum returns an HTTP status code of
202
to acknowledge receipt of thePaymentStatusReport
.
Electrum will not forward the PaymentStatusReport
to BankservAfrica in the case of a successful payment. Here, Electrum simply consumes the PaymentStatusReport
, acknowledges it, and updates the correct payment status in the Electrum processing engine.
Error Handling
No Acknowledgment File From Electrum to BankservAfrica
If Electrum does not respond to a file sent from BankservAfrica, BankservAfrica will notify you that a file has been sent. You must notify Electrum. BankservAfrica and Electrum will resolve the issue amongst themselves. BankservAfrica will then resend the file and the transaction will proceed as for a successful transaction.
Electrum must ensure that the resent file is not processed twice.
Negative Acknowledgement from Homing Bank
If Electrum receives a negative acknowledgement (NACK, i.e., an HTTP 5xx
or retryable HTTP 4xx
) from you in response to a CreditTransfer
or DirectDebit
, then Electrum will continue to send the message via a SAF queue. If Electrum does not receive an acknowledgement (HTTP 202
) before the reconciliation window closes, then this transaction will be considered a reconciliation exception.
Electrum will continue to send the message via a SAF queue for all HTTP 5xx
and 4xx
NACKs that are considered transient (i.e., recoverable). If Electrum receives an unretryable HTTP 4xx
NACK, then Electrum will stop sending the message and the error will be resolved manually.
No Acknowledgement from Homing Bank
If Electrum does not receive an HTTP message from you in response to a sent transaction, then Electrum will continue to send the transaction via a SAF queue. If there is still no response by the time the reconciliation window closes, then the transaction will be considered a reconciliation exception and must be handled as part of the Back Office/reconciliation process.
No PaymentStatusReport from Homing Bank
If Electrum does not receive a PaymentStatusReport
message from you before the reconciliation window closes, the transaction will be considered a reconciliation exception.
No HTTP Response from Electrum
If you send a PaymentStatusReport
and do not receive an HTTP ACK or NACK from Electrum, then you can retry the transaction up to a set number of times before the transaction is considered failed. The failed transaction will be considered a reconciliation exception.
Unpaid EFT Transaction
If Electrum receives a PaymentStatusReport
message containing status code RJCT
, it means that the payment could not be actioned. Electrum will generate an unpaid transaction and store the transaction in the database. This transaction will be included in the next same-day file with a reason code for why it is an unpaid.
The unpaid transaction will go via BankservAfrica back to the originating bank to be reversed. See the unpaid transaction journey here.