The Electrum Regulated Payments API is an asynchronous API that allows partners to participate in various nationally regulated payment schemes.
This document describes the operations exposed by Electrum for partners to consume in order to initiate outbound or respond to inbound payments.
As the Regulated Payments API is asynchronous, partners have a choice of how to integrate with Electrum:
Receiving transactional events via webhooks or API are equivalent, except that it may be more familiar or convenient to implement one style or the other. Partners may request the method of communication Electrum should use when selecting which payment schemes to participate in.
https://example.com/path/payments/api/v1/
This operation is asynchronous. It is responded to by the outboundCreditTransferResponse operation in the case of an FI-to-FI-customer credit transfer, or the outboundFiToFiCreditTransferResponse operation in the case of an FI-to-FI credit transfer.
A query for information about a previously submitted outbound credit transfer. This operation may be called at any time by the partner in order to query the state of the outbound transfer. If acknowledged by the server, the current status of the transaction will be communicated to the partner via the outboundCreditTransferResponse or outboundFiToFiCreditTransferResponse operation of the Partner API as appropriate.
| Scheme | Applicable |
|---|---|
| ZA_EFT | ✓ |
| ZA_RPP | ✓ |
| ZA_RTC | ✓ |
| CBPR+ | ✓ |
A value used to trace an HTTP message within an Electrum Regulated Payments implementation. This field must be set as per the traceparent element defined in the W3C Trace Context Level 2 specification.
A value used to provide context to an HTTP message as it is traced within an Electrum Regulated Payments implementation. This field must be set as per the traceparent element defined in the W3C Trace Context Level 2 specification.
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 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
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.
https://example.com/path/payments/api/v1/transactions/outbound/credit-transfer/status-request
curl -i -X POST \
https://example.com/path/payments/api/v1/transactions/outbound/credit-transfer/status-request \
-H 'Content-Type: application/json' \
-H 'traceparent: string' \
-H 'tracestate: string' \
-d '{
"schema": "CreditTransferStatusRequest",
"messageIdentifiers": {
"creationDateTime": "2022-05-04T03:01:01Z",
"messageIdentification": "messageId"
},
"originalMessageIdentifiers": {
"creationDateTime": "2022-05-04T03:02:01Z",
"messageIdentification": "uniqueMessageId"
},
"originalTransactionIdentifiers": {
"endToEndIdentification": "uniqueEndToEndId",
"transactionIdentification": "RRN000000001",
"uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa"
}
}'Accepted. RFC9110 - 202
No contentThis operation is invoked by the partner to request the cancellation of a prior payment instruction such as a direct-debit or credit-transfer.
This operation is asynchronous. For ZA_AC cancellations of type SYSTEM_ERROR_CORRECTION_REQUEST a successful correction should result in the initiation of a financial payment return.
Otherwise, the result of the payment cancellation is delivered back to the partner by invoking the outboundPaymentCancellationResolution operation which conveys the outcome of payment cancellation request.
| Scheme | Applicable |
|---|---|
| ZA_RPP | ✗ |
| ZA_EFT | ✓ |
| ZA_RTC | ✗ |
| CBPR+ | ✗ |
| ZA_AC | ✓ |
A value used to trace an HTTP message within an Electrum Regulated Payments implementation. This field must be set as per the traceparent element defined in the W3C Trace Context Level 2 specification.
A value used to provide context to an HTTP message as it is traced within an Electrum Regulated Payments implementation. This field must be set as per the traceparent element defined in the W3C Trace Context Level 2 specification.
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 list of key-value pairs to support adding any supplementary/additional data to an Electrum Regulated Payments API message.
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.
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.
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
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.
Designates which scheme a payment cancellation is associated with and describes scheme-specific information for the cancellation.
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.ZA_AC : South African Authenticated Collections scheme.ZA_RMS: South African Registered Mandate Service scheme.CBPR_PLUS: Cross-Border Payments and Reporting Plus.Identifies the specific business process applicable to the cancellation request.
RECALL: A request to revoke a payment instruction that has not yet settled or is currently in tracking. If successful, the instruction is cancelled without financial movement (no settlement occurs). If the partner makes use of Electrum's collections capabilities, this type is only expected for outbound use.
SYSTEM_ERROR_CORRECTION_REQUEST: Represents the case where a bank has experienced a technical issue that resulted in settled debit collections being processed incorrectly (e.g., a batch of debits was duplicated), and the industry bank is requesting that the partner bank correct the error.
A successful correction means the partner bank initiates a financial Payment Return to recover the funds from the industry bank in order to refund the debtor.
This case is notably different from standard recalls and disputes in that: (1) This strictly requires prior industry/PASA authorisation to invoke, (2) it may be rejected by the partner bank if the correction cannot be applied (e.g., original transaction not found, or the transaction was already reversed via a customer dispute), (3) partial reversals are not permitted, and (4) the bank from industry is limited to exactly 2 (two) retry attempts for the same transaction if an earlier request was rejected.
Contains key elements related to the original transaction that is being referred to.
Representation of an account for payment purposes. Note that at least one of identification or proxy is expected to be present.
Representation of an account for payment purposes. Note that at least one of identification or proxy is expected to be present.
Representation of an account for payment purposes. Note that at least one of identification or proxy is expected to be present.
Representation of an account for payment purposes. Note that at least one of identification or proxy is expected to be present.
CreditTransfer - Transfer of an amount of money in the books of the account servicer.DirectDebit - Collection of an amount of money from the debtor's account by the creditor, the amount and date of collection may vary.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.
A list of key-value pairs to support adding any supplementary/additional data to an Electrum Regulated Payments API message.
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).
https://example.com/path/payments/api/v1/transactions/outbound/payment-cancellation
curl -i -X POST \
https://example.com/path/payments/api/v1/transactions/outbound/payment-cancellation \
-H 'Content-Type: application/json' \
-H 'traceparent: string' \
-H 'tracestate: string' \
-d '{
"messageIdentifiers": {
"creationDateTime": "2019-08-24T14:15:22Z",
"messageIdentification": "string"
},
"supplementaryData": {
"property1": "string",
"property2": "string"
},
"assignment": {
"assignee": {
"party": {
"address": {
"addressLine": [
"string"
],
"addressType": "ADDR",
"buildingName": "string",
"buildingNumber": "string",
"country": "string",
"countrySubDivision": "string",
"department": "string",
"districtName": "string",
"floor": "string",
"postBox": "string",
"postCode": "string",
"room": "string",
"streetName": "string",
"subDepartment": "string",
"townLocationName": "string",
"townName": "string"
},
"contactDetails": {
"emailAddress": "user@example.com",
"mobileNumber": "string",
"phoneNumber": "string"
},
"countryOfResidence": "string",
"identification": {
"identifiers": [
{
"identification": "string",
"issuer": "string",
"scheme": {}
}
],
"schema": "string"
},
"knownAsName": "string",
"legalName": "string"
},
"schema": "PARTY"
},
"assigner": {
"party": {
"address": {
"addressLine": [
"string"
],
"addressType": "ADDR",
"buildingName": "string",
"buildingNumber": "string",
"country": "string",
"countrySubDivision": "string",
"department": "string",
"districtName": "string",
"floor": "string",
"postBox": "string",
"postCode": "string",
"room": "string",
"streetName": "string",
"subDepartment": "string",
"townLocationName": "string",
"townName": "string"
},
"contactDetails": {
"emailAddress": "user@example.com",
"mobileNumber": "string",
"phoneNumber": "string"
},
"countryOfResidence": "string",
"identification": {
"identifiers": [
{
"identification": "string",
"issuer": "string",
"scheme": {}
}
],
"schema": "string"
},
"knownAsName": "string",
"legalName": "string"
},
"schema": "PARTY"
},
"creationDateTime": "2019-08-24T14:15:22Z",
"identification": "string"
},
"case": {
"creator": {
"party": {
"address": {
"addressLine": [
"string"
],
"addressType": "ADDR",
"buildingName": "string",
"buildingNumber": "string",
"country": "string",
"countrySubDivision": "string",
"department": "string",
"districtName": "string",
"floor": "string",
"postBox": "string",
"postCode": "string",
"room": "string",
"streetName": "string",
"subDepartment": "string",
"townLocationName": "string",
"townName": "string"
},
"contactDetails": {
"emailAddress": "user@example.com",
"mobileNumber": "string",
"phoneNumber": "string"
},
"countryOfResidence": "string",
"identification": {
"identifiers": [
{
"identification": "string",
"issuer": "string",
"scheme": {}
}
],
"schema": "string"
},
"knownAsName": "string",
"legalName": "string"
},
"schema": "PARTY"
},
"identification": "string",
"reopenCaseIndication": true
},
"originalTransactionIdentifiers": {
"endToEndIdentification": "string",
"instructionIdentification": "string",
"transactionIdentification": "string",
"uetr": "string"
},
"paymentScheme": {
"schema": "ZA_RTC",
"schemeData": {
"cancellationType": "SYSTEM_ERROR_CORRECTION_REQUEST"
}
},
"schema": "FiToFiPaymentCancellationRequest",
"underlyingTransaction": {
"amounts": {
"bankSettlementAmount": {
"currency": "string",
"value": 0.1
},
"instructedAmount": {
"currency": "string",
"value": 0.1
}
},
"creditorAccount": {
"currency": "string",
"identification": {
"schema": "string",
"value": "string"
},
"name": "string",
"proxy": {
"namespace": "string",
"schema": "string"
},
"type": {
"schema": "string",
"value": "CACC"
}
},
"creditorAgent": {
"additionalIdentifications": [
{
"accountKnownAs": "string",
"identifier": {
"schema": "string",
"value": "string"
},
"registeredSchemes": [
"ZA_RTC"
]
}
],
"address": {
"addressLine": [
"string"
],
"addressType": "ADDR",
"buildingName": "string",
"buildingNumber": "string",
"country": "string",
"countrySubDivision": "string",
"department": "string",
"districtName": "string",
"floor": "string",
"postBox": "string",
"postCode": "string",
"room": "string",
"streetName": "string",
"subDepartment": "string",
"townLocationName": "string",
"townName": "string"
},
"bicfi": "string",
"branch": {
"address": {
"addressLine": [
"string"
],
"addressType": "ADDR",
"buildingName": "string",
"buildingNumber": "string",
"country": "string",
"countrySubDivision": "string",
"department": "string",
"districtName": "string",
"floor": "string",
"postBox": "string",
"postCode": "string",
"room": "string",
"streetName": "string",
"subDepartment": "string",
"townLocationName": "string",
"townName": "string"
},
"identification": "string",
"name": "string"
},
"clearingSystemMemberId": {
"clearingSystem": {
"schema": "string",
"value": "MA"
},
"memberId": "string"
},
"companyRegistration": "string",
"lei": "string",
"memberId": "string",
"name": "string"
},
"creditorAgentAccount": {
"currency": "string",
"identification": {
"schema": "string",
"value": "string"
},
"name": "string",
"proxy": {
"namespace": "string",
"schema": "string"
},
"type": {
"schema": "string",
"value": "CACC"
}
},
"debtorAccount": {
"currency": "string",
"identification": {
"schema": "string",
"value": "string"
},
"name": "string",
"proxy": {
"namespace": "string",
"schema": "string"
},
"type": {
"schema": "string",
"value": "CACC"
}
},
"debtorAgent": {
"additionalIdentifications": [
{
"accountKnownAs": "string",
"identifier": {
"schema": "string",
"value": "string"
},
"registeredSchemes": [
"ZA_RTC"
]
}
],
"address": {
"addressLine": [
"string"
],
"addressType": "ADDR",
"buildingName": "string",
"buildingNumber": "string",
"country": "string",
"countrySubDivision": "string",
"department": "string",
"districtName": "string",
"floor": "string",
"postBox": "string",
"postCode": "string",
"room": "string",
"streetName": "string",
"subDepartment": "string",
"townLocationName": "string",
"townName": "string"
},
"bicfi": "string",
"branch": {
"address": {
"addressLine": [
"string"
],
"addressType": "ADDR",
"buildingName": "string",
"buildingNumber": "string",
"country": "string",
"countrySubDivision": "string",
"department": "string",
"districtName": "string",
"floor": "string",
"postBox": "string",
"postCode": "string",
"room": "string",
"streetName": "string",
"subDepartment": "string",
"townLocationName": "string",
"townName": "string"
},
"identification": "string",
"name": "string"
},
"clearingSystemMemberId": {
"clearingSystem": {
"schema": "string",
"value": "MA"
},
"memberId": "string"
},
"companyRegistration": "string",
"lei": "string",
"memberId": "string",
"name": "string"
},
"debtorAgentAccount": {
"currency": "string",
"identification": {
"schema": "string",
"value": "string"
},
"name": "string",
"proxy": {
"namespace": "string",
"schema": "string"
},
"type": {
"schema": "string",
"value": "CACC"
}
},
"paymentMethod": "CreditTransfer",
"paymentTypeInformation": {
"categoryPurpose": {
"schema": "string",
"value": "BONU"
},
"localInstrument": {
"schema": "string",
"value": "0000"
},
"serviceLevel": [
{
"schema": "string",
"value": "BKTR"
}
]
},
"purpose": {
"schema": "string",
"value": "BKDF"
},
"remittanceInformation": {
"structured": [
{
"additionalRemittanceInformation": [
"string"
],
"creditorReference": {
"reference": "string",
"type": {
"issuer": "string",
"schema": "CODE"
}
},
"invoicer": {
"address": {
"addressLine": [
null
],
"addressType": "ADDR",
"buildingName": "string",
"buildingNumber": "string",
"country": "string",
"countrySubDivision": "string",
"department": "string",
"districtName": "string",
"floor": "string",
"postBox": "string",
"postCode": "string",
"room": "string",
"streetName": "string",
"subDepartment": "string",
"townLocationName": "string",
"townName": "string"
},
"contactDetails": {
"emailAddress": "user@example.com",
"mobileNumber": "string",
"phoneNumber": "string"
},
"countryOfResidence": "string",
"identification": {
"identifiers": [
null
],
"schema": "string"
},
"knownAsName": "string",
"legalName": "string"
},
"originatorReference": "string",
"referredDocumentAmount": {
"duePayableAmount": {
"currency": "string",
"value": 0.1
},
"remittedAmount": {
"currency": "string",
"value": 0.1
}
},
"referredDocuments": [
{
"documentIdentifier": "string",
"relatedDate": "2019-08-24",
"type": {}
}
],
"taxRemittance": {
"creditor": {
"registrationIdentification": "string",
"taxIdentification": "string",
"taxType": "string"
},
"date": "2019-08-24",
"debtor": {
"registrationIdentification": "string",
"taxIdentification": "string",
"taxType": "string",
"authorisation": {}
},
"referenceNumber": "string",
"sequenceNumber": 0,
"totalTaxAmount": {
"currency": "string",
"value": 0.1
},
"totalTaxableBaseAmount": {
"currency": "string",
"value": 0.1
},
"ultimateDebtor": {
"registrationIdentification": "string",
"taxIdentification": "string",
"taxType": "string",
"authorisation": {}
}
}
}
],
"unstructured": [
"string"
]
},
"settlementDate": "2019-08-24",
"supplementaryData": {
"property1": "string",
"property2": "string"
},
"creditor": {
"party": {
"address": {
"addressLine": [
"string"
],
"addressType": "ADDR",
"buildingName": "string",
"buildingNumber": "string",
"country": "string",
"countrySubDivision": "string",
"department": "string",
"districtName": "string",
"floor": "string",
"postBox": "string",
"postCode": "string",
"room": "string",
"streetName": "string",
"subDepartment": "string",
"townLocationName": "string",
"townName": "string"
},
"contactDetails": {
"emailAddress": "user@example.com",
"mobileNumber": "string",
"phoneNumber": "string"
},
"countryOfResidence": "string",
"identification": {
"identifiers": [
{
"identification": "string",
"issuer": "string",
"scheme": {}
}
],
"schema": "string"
},
"knownAsName": "string",
"legalName": "string"
},
"schema": "PARTY"
},
"debtor": {
"party": {
"address": {
"addressLine": [
"string"
],
"addressType": "ADDR",
"buildingName": "string",
"buildingNumber": "string",
"country": "string",
"countrySubDivision": "string",
"department": "string",
"districtName": "string",
"floor": "string",
"postBox": "string",
"postCode": "string",
"room": "string",
"streetName": "string",
"subDepartment": "string",
"townLocationName": "string",
"townName": "string"
},
"contactDetails": {
"emailAddress": "user@example.com",
"mobileNumber": "string",
"phoneNumber": "string"
},
"countryOfResidence": "string",
"identification": {
"identifiers": [
{
"identification": "string",
"issuer": "string",
"scheme": {}
}
],
"schema": "string"
},
"knownAsName": "string",
"legalName": "string"
},
"schema": "PARTY"
},
"mandateInformation": {
"dateOfSignature": "2019-08-24",
"electronicSignature": "string",
"finalCollectionDate": "2019-08-24",
"firstCollectionDate": "2019-08-24",
"frequency": {
"dayOfMonth": 1,
"schema": "MonthlyFrequency"
},
"mandateIdentification": "string",
"reason": {
"schema": "string",
"value": "stri"
},
"trackingDays": 1
},
"cancellationId": "string",
"cancellationReasonInfo": [
{
"additionalInformation": [
"string"
],
"originator": {
"address": {
"addressLine": [
"string"
],
"addressType": "ADDR",
"buildingName": "string",
"buildingNumber": "string",
"country": "string",
"countrySubDivision": "string",
"department": "string",
"districtName": "string",
"floor": "string",
"postBox": "string",
"postCode": "string",
"room": "string",
"streetName": "string",
"subDepartment": "string",
"townLocationName": "string",
"townName": "string"
},
"contactDetails": {
"emailAddress": "user@example.com",
"mobileNumber": "string",
"phoneNumber": "string"
},
"countryOfResidence": "string",
"identification": {
"identifiers": [
{}
],
"schema": "string"
},
"knownAsName": "string",
"legalName": "string"
},
"reason": {
"schema": "string",
"value": "AC02"
}
}
]
}
}'Accepted. RFC9110 - 202
No contentThis operation is asynchronous. It is responded to by the [outboundBulkCreditTransferResponse operation] (https://docs.electrumsoftware.com/openapi/elpapi-cicd/elpapi-partner-redoc/bulk/outboundbulkcredittransferresponse).
A query for information about a previously submitted outbound bulk credit transfer initiation. This operation may be called at any time by the partner in order to query the state of the outbound request. If acknowledged by the server, the current status of the 'bulk' will be communicated to the partner via the outboundBulkCreditTransferResponse operation of the Partner API.
| Scheme | Applicable |
|---|---|
| ZA_EFT | ✗ |
| ZA_RPP | ✓ |
| ZA_RTC | ✓ |
| CBPR+ | ✗ |
A value used to trace an HTTP message within an Electrum Regulated Payments implementation. This field must be set as per the traceparent element defined in the W3C Trace Context Level 2 specification.
A value used to provide context to an HTTP message as it is traced within an Electrum Regulated Payments implementation. This field must be set as per the traceparent element defined in the W3C Trace Context Level 2 specification.
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 list of key-value pairs to support adding any supplementary/additional data to an Electrum Regulated Payments API message.
A flag to indicate if the status of each individual credit transfer, as per Electrum's view, should be reflected in the response
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
Universally unique identifier to provide an end-to-end reference to the bulk initiation. This identifier remains the same for all messages related to the bulk transaction. Note: this is distinct from the UETR's of the individual transactions.
https://example.com/path/payments/api/v1/transactions/outbound/bulk/credit-transfer/status-request
curl -i -X POST \
https://example.com/path/payments/api/v1/transactions/outbound/bulk/credit-transfer/status-request \
-H 'Content-Type: application/json' \
-H 'traceparent: string' \
-H 'tracestate: string' \
-d '{
"schema": "CreditTransferInitiationStatusRequest",
"messageIdentifiers": {
"creationDateTime": "2024-05-04T03:03:01Z",
"messageIdentification": "messageId"
},
"originalMessageIdentifiers": {
"creationDateTime": "2024-05-04T03:02:01Z",
"messageIdentification": "uniqueMessageId"
},
"paymentInformationId": "uniqueUUID",
"includeIndividualCreditsStatuses": false
}'Accepted. RFC9110 - 202
No content