Send a PayShap Payment
The following diagram shows a success scenario in which you make a payment to a customer who holds an account at an industry bank.
- You initiate an outbound PayShap transaction by sending an
outboundCreditTransfermessage (CreditTransferschema) to Electrum. Electrum returns an acknowledgement (ACK, HTTP2xx) to you.
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.
Representation of an account for payment purposes. Note that at least one of identification or proxy is expected to be present.
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.
Representation of an account for payment purposes. Note that at least one of identification or proxy is expected to be present.
This model is the basic representation of a Party. It is expanded on depending on whether the party is a person or an organisation.
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.
You must populate both the creditorAgent.bicfi (BICFI of the payee's bank) and the creditorAgent.branch.identification (branch code of the payee's bank) fields in the outboundCreditTransfer request.
Populate the debtorAgent.bicfi and debtorAgent.branch.identification fields with the details of your sponsor bank.
Electrum performs account validation checks. Electrum may also reserve funds through the sponsor bank based on the requirements of the sponsor bank - this ensures that there will be enough funds available to complete the clearing step.
Electrum then forwards your credit transfer request to BankservAfrica, and receives a response upon successful clearing.
Electrum sends an
outboundCreditTransferResponsemessage (PaymentStatusReportschema) with statusAPPROVEDto you. You return an acknowledgement (ACK, HTTP2xx).
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.
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).
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.
Error Handling
No Response from Sponsor Bank (Timeout at Electrum)
This potential error scenario is applicable if your sponsor bank requires a funds reservation step.
If, after sending a funds reservation request to the sponsor bank, Electrum does not receive a response within the set time limit, then Electrum will send an outboundCreditTransferResponse (PaymentStatusReport schema) with status REJECTED to you. Electrum will also reverse the reservation request with the sponsor bank.
Negative Response from Sponsor Bank
This potential error scenario is applicable if your sponsor bank requires a funds reservation step.
If the sponsor bank indicates that the reservation of funds was unsuccessful, Electrum will return an outboundCreditTransferResponse with status REJECTED to you.
Negative Response from BankservAfrica
If BankservAfrica responds negatively to a credit transfer request (i.e., the request failed or was rejected) then Electrum forwards a negative outboundCreditTransferResponse (PaymentStatusReport schema) with status REJECTED and the relevant reason code to you.
System Error at Electrum
If a system error occurs at Electrum after you have sent a valid outboundCreditTransferRequest, then Electrum will send a negative outboundCreditTransferResponse, with relevant status code, to you.
Functional Error at Electrum
If you send a functionally invalid outboundCreditTransferRequest to Electrum, then Electrum will send a negative outboundCreditTransferResponse, with the relevant status code, to you. No further message processing is required.
Functional validation errors at Electrum may occur where, for example:
- The transaction amount exceeds the RPP scheme limit.
- The currency is not in ZAR.
- The debtor account specified is not one of the pre-configured account values.
No HTTP Response from the Corporate Client
If Electrum does not receive an acknowledgement or negative acknowledgement from you in response to an outboundCreditTransferResponse, then Electrum will continue to send the message via a store-and-forward (SAF) queue. If you still do not respond and the message remains stuck in a SAF queue, then alerts will be raised internally for manual investigation.
Negative Acknowledgement from the Corporate Client
If Electrum receives a negative acknowledgement (NACK, HTTP 5xx or retryable HTTP 4xx) from you in response to an outboundCreditTransferResponse, then Electrum will continue to send the message via a SAF queue. If you still do not respond with an acknowledgement (ACK, HTTP 2xx) and the message remains stuck in a SAF queue, then alerts will be raised internally for manual investigation.