Electrum Regulated Payments Partner API (17.1.0)

The Electrum Regulated Payments API is an asynchronous API that allows partners to participate in various nationally regulated payment schemes.

As the Regulated Payments API is asynchronous, partners have a choice of how to integrate with Electrum:

  • Webhooks: Electrum will send events to the partner containing inbound payments to action, or responses to outbound payment requests. Webhooks are defined in the Electrum Regulated Payments Partner API.
  • Partner API: Electrum will call operations exposed by the partner containing inbound payments to action, or responses to outbound payment requests. The operations are defined in this document.

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.

This document describes the operations a partner must implement for Electrum to consume in order to complete the integration with the Electrum Regulated Payments API.

Download OpenAPI description
Languages
Servers
Mock server

https://docs.electrumsoftware.com/_mock/openapi/elpapi/elpapi-partner/

Partner API sandbox

https://example.com/path/payments/partner-api/v1/

transactional

Operations that participate in transaction processing, which may or may not have financial impact.

Operations

financial

Operations that participate in transaction processing and have financial impact.

Operations

credit-transfer

Operations related to credit transfer transactions.

Operations

direct-debit

Operations related to direct debit transactions.

Operations

payment-return

Operations related to payment returns.

Operations

identifier-determination

Operations used to retrieve additional information related to an identifier

Operations

funds-management

Operations related to the management of funds, including reservations, postings, and voiding of reservations.

Operations

Perform a reservation of funds on an account

Request

This operation is asynchronous. It is responded to by the createReservationResponse operation

The create reservation operation is invoked by Electrum to request that funds be reserved against an account before a payment instruction is processed further.

Funds reservations are scheme agnostic and may be used in conjunction with any scheme.

Headers
traceparentstring(traceparent)^[A-Fa-f0-9]{2}\-[A-Fa-f0-9]{32}\-[A-Fa-f0-9]...

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.

tracestatestring(tracestate)^[A-Za-z0-9=, _\*/@]{0,1024}$

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.

Bodyapplication/jsonrequired
messageIdentifiersobject(MessageIdentifiers)required

Holds a point-to-point unique message identification string as well as a message's creation date time.

messageIdentifiers.​creationDateTimestring(date-time)required

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

messageIdentifiers.​messageIdentificationstring<= 35 charactersrequired

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.

supplementaryDataobject

A list of key-value pairs to support adding any supplementary/additional data to an Electrum Regulated Payments API message.

transactionIdentifiersobject(TransactionIdentifiers)required

Holds a series of identifiers to identify the transaction or an individual message that is part of a transaction.

transactionIdentifiers.​endToEndIdentificationstring<= 35 charactersrequired

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.

transactionIdentifiers.​instructionIdentificationstring<= 35 characters

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.

transactionIdentifiers.​transactionIdentificationstring<= 35 characters

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.

transactionIdentifiers.​uetrstring(UUID)required

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.

accountIdentificationobject(PaymentAccount)required

Representation of an account for payment purposes. Note that at least one of identification or proxy is expected to be present.

accountIdentification.​currencystring^[A-Z]{3}$

Identification of the currency in which the account is held.

accountIdentification.​identificationobject(BankingIdentifier)
accountIdentification.​namestring<= 70 characters

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.

accountIdentification.​proxyobject(NonBankingIdentifier)
accountIdentification.​typeobject(AccountType)
amountobject(Amount)required
amount.​currencystring^[A-Z]{3}$required

A valid, active currency code as defined in ISO 4217 indicating the currency of the amount.

amount.​valuenumber(double)>= 0required

The payment amount in the denomination of the indicated currency, in the format '. with the number of minor units (fractional digits) compliant with the number of decimal places published in ISO 4217.

Currency CodeExampleValidNotes
USD10.0✓Represents 10 USD and no cents.
USD10.00✓
USD10.001✗US dollar does not support three decimal places.
JPY10.0✓Represents 10 Japanese Yen.
JPY10.1✗Japanese Yen does not support decimal places.
initiationSourcestring

Free text field used to inform the core banking system of which system is initiating the reservation.

referencestring<= 35 characters

An explanation of the transaction, e.g. to be printed on the account holder's statement.

reservationTypeobject(ReservationType)
schemastringrequired
Value"ReservationRequest"
curl -i -X POST \
  https://docs.electrumsoftware.com/_mock/openapi/elpapi/elpapi-partner/funds-management/reservation \
  -H 'Content-Type: application/json' \
  -H 'traceparent: string' \
  -H 'tracestate: string' \
  -d '{
    "schema": "ReservationRequest",
    "messageIdentifiers": {
      "messageIdentification": "original-msg-12345",
      "creationDateTime": "2025-01-23T06:29:01Z"
    },
    "transactionIdentifiers": {
      "endToEndIdentification": "e2e-12345",
      "transactionIdentification": "txn-12345",
      "uetr": "550e8400-e29b-41d4-a716-446655440000"
    },
    "accountIdentification": {
      "identification": {
        "schema": "GENERIC",
        "scheme": {
          "schema": "PROPRIETARY",
          "value": "AProprietaryCode123"
        },
        "issuer": "Amazing Bank",
        "value": 987654123
      },
      "type": {
        "schema": "CODE",
        "value": "CACC"
      }
    },
    "reference": "Reservation Ref",
    "amount": {
      "value": 65.23,
      "currency": "ZAR"
    },
    "reservationType": {
      "schema": "CODE",
      "value": "BLKD"
    },
    "initiationSource": "EPC Singles",
    "supplementaryData": {
      "key1": "value1",
      "key2": "value2"
    }
  }'

Responses

Accepted. RFC9110 - 202

Response
No content

Void a reservation of funds

Request

This operation is asynchronous. It is responded to by the voidReservationResponse operation A previous reservation should exist for this to be successful createReservation operation

The void reservation operation is invoked by Electrum to request that a previous funds reservation against an account be released, making the funds available once more.

Funds reservations are scheme agnostic and may be used in conjunction with any scheme.

Headers
traceparentstring(traceparent)^[A-Fa-f0-9]{2}\-[A-Fa-f0-9]{32}\-[A-Fa-f0-9]...

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.

tracestatestring(tracestate)^[A-Za-z0-9=, _\*/@]{0,1024}$

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.

Bodyapplication/jsonrequired
messageIdentifiersobject(MessageIdentifiers)required

Holds a point-to-point unique message identification string as well as a message's creation date time.

messageIdentifiers.​creationDateTimestring(date-time)required

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

messageIdentifiers.​messageIdentificationstring<= 35 charactersrequired

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.

supplementaryDataobject

A list of key-value pairs to support adding any supplementary/additional data to an Electrum Regulated Payments API message.

transactionIdentifiersobject(TransactionIdentifiers)required

Holds a series of identifiers to identify the transaction or an individual message that is part of a transaction.

transactionIdentifiers.​endToEndIdentificationstring<= 35 charactersrequired

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.

transactionIdentifiers.​instructionIdentificationstring<= 35 characters

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.

transactionIdentifiers.​transactionIdentificationstring<= 35 characters

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.

transactionIdentifiers.​uetrstring(UUID)required

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.

accountIdentificationobject(PaymentAccount)required

Representation of an account for payment purposes. Note that at least one of identification or proxy is expected to be present.

accountIdentification.​currencystring^[A-Z]{3}$

Identification of the currency in which the account is held.

accountIdentification.​identificationobject(BankingIdentifier)
accountIdentification.​namestring<= 70 characters

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.

accountIdentification.​proxyobject(NonBankingIdentifier)
accountIdentification.​typeobject(AccountType)
amountobject(Amount)required
amount.​currencystring^[A-Z]{3}$required

A valid, active currency code as defined in ISO 4217 indicating the currency of the amount.

amount.​valuenumber(double)>= 0required

The payment amount in the denomination of the indicated currency, in the format '. with the number of minor units (fractional digits) compliant with the number of decimal places published in ISO 4217.

Currency CodeExampleValidNotes
USD10.0✓Represents 10 USD and no cents.
USD10.00✓
USD10.001✗US dollar does not support three decimal places.
JPY10.0✓Represents 10 Japanese Yen.
JPY10.1✗Japanese Yen does not support decimal places.
initiationSourcestring

Free text field used to inform the core banking system of which system is initiating the void.

paymentUetrstring(UUID)required

UUID which links the void to a payment instruction, and its initial reservation.

schemastringrequired
Value"VoidReservationRequest"
curl -i -X POST \
  https://docs.electrumsoftware.com/_mock/openapi/elpapi/elpapi-partner/funds-management/reservation/void \
  -H 'Content-Type: application/json' \
  -H 'traceparent: string' \
  -H 'tracestate: string' \
  -d '{
    "schema": "VoidReservationRequest",
    "messageIdentifiers": {
      "messageIdentification": "msg-54321",
      "creationDateTime": "2025-02-01T11:00:00Z"
    },
    "transactionIdentifiers": {
      "endToEndIdentification": "e2e-54321",
      "transactionIdentification": "txn-54321",
      "uetr": "123e4567-e89b-12d3-a456-426614174001"
    },
    "paymentUetr": "123e4567-e89b-12d3-a456-426614174000",
    "accountIdentification": {
      "identification": {
        "schema": "GENERIC",
        "scheme": {
          "schema": "PROPRIETARY",
          "value": "AProprietaryCode789"
        },
        "issuer": "Amazing Bank",
        "value": 987654123
      },
      "type": {
        "schema": "CODE",
        "value": "CACC"
      }
    },
    "amount": {
      "value": 50,
      "currency": "ZAR"
    },
    "initiationSource": "EPC Singles",
    "supplementaryData": {
      "key1": "value1",
      "key2": "value2"
    }
  }'

Responses

Accepted. RFC9110 - 202

Response
No content

Perform a posting to an account

Request

This operation is asynchronous. It is responded to by the createPostingResponse operation

The create posting operation is invoked by Electrum in order for a posting be made against the relevant account to reflect the movement of funds in relation to a payment that has been processed.

Postings are scheme agnostic and may be used in conjunction with any scheme.

Headers
traceparentstring(traceparent)^[A-Fa-f0-9]{2}\-[A-Fa-f0-9]{32}\-[A-Fa-f0-9]...

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.

tracestatestring(tracestate)^[A-Za-z0-9=, _\*/@]{0,1024}$

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.

Bodyapplication/jsonrequired
messageIdentifiersobject(MessageIdentifiers)required

Holds a point-to-point unique message identification string as well as a message's creation date time.

messageIdentifiers.​creationDateTimestring(date-time)required

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

messageIdentifiers.​messageIdentificationstring<= 35 charactersrequired

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.

supplementaryDataobject

A list of key-value pairs to support adding any supplementary/additional data to an Electrum Regulated Payments API message.

transactionIdentifiersobject(TransactionIdentifiers)required

Holds a series of identifiers to identify the transaction or an individual message that is part of a transaction.

transactionIdentifiers.​endToEndIdentificationstring<= 35 charactersrequired

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.

transactionIdentifiers.​instructionIdentificationstring<= 35 characters

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.

transactionIdentifiers.​transactionIdentificationstring<= 35 characters

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.

transactionIdentifiers.​uetrstring(UUID)required

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.

aggregatedTransactionCountintegerrequired

A count of how many payments are aggregated into this posting

amountobject(Amount)required
amount.​currencystring^[A-Z]{3}$required

A valid, active currency code as defined in ISO 4217 indicating the currency of the amount.

amount.​valuenumber(double)>= 0required

The payment amount in the denomination of the indicated currency, in the format '. with the number of minor units (fractional digits) compliant with the number of decimal places published in ISO 4217.

Currency CodeExampleValidNotes
USD10.0✓Represents 10 USD and no cents.
USD10.00✓
USD10.001✗US dollar does not support three decimal places.
JPY10.0✓Represents 10 Japanese Yen.
JPY10.1✗Japanese Yen does not support decimal places.
creditorAccountobject(PaymentAccount)

Representation of an account for payment purposes. Note that at least one of identification or proxy is expected to be present.

creditorAccountReferencestring

An explanation of the transaction, e.g. to be printed on the creditor account holder's statement.

creditorAgentobject(InstitutionIdentification)
debtorAccountobject(PaymentAccount)

Representation of an account for payment purposes. Note that at least one of identification or proxy is expected to be present.

debtorAccountReferencestring

An explanation of the transaction, e.g. to be printed on the debtor account holder's statement.

debtorAgentobject(InstitutionIdentification)
directionstring(TransactionDirection)

Indicates the direction of the original payment, from the perspective of Electrum and the Partner.

Enum"INBOUND""OUTBOUND""ON_US"
effectiveDateTimestring(date-time)required

The effective action date-time of the posting.

initiationSourcestring

Free text field used to inform the core banking system of which system is initiating the posting.

localInstrumentobject(LocalInstrumentType)
paymentMethodstring(PaymentMethod)required
  • 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.
Enum"CreditTransfer""DirectDebit"
paymentSchemestring(PaymentSchemeName)required

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.
Enum"ZA_RTC""ZA_RPP""ZA_EFT""CBPR_PLUS"
paymentUetrstring(UUID)required

UUID which links the posting to a payment instruction.

schemastringrequired
Value"PostingRequest"
curl -i -X POST \
  https://docs.electrumsoftware.com/_mock/openapi/elpapi/elpapi-partner/funds-management/posting \
  -H 'Content-Type: application/json' \
  -H 'traceparent: string' \
  -H 'tracestate: string' \
  -d '{
    "schema": "PostingRequest",
    "messageIdentifiers": {
      "messageIdentification": "msg-67890",
      "creationDateTime": "2025-02-01T10:00:00Z"
    },
    "transactionIdentifiers": {
      "endToEndIdentification": "e2e-67890",
      "transactionIdentification": "txn-67890",
      "uetr": "123e4567-e89b-12d3-a456-426614174000"
    },
    "paymentUetr": "123e4567-e89b-12d3-a456-426614174000",
    "effectiveDateTime": "2025-02-01T10:00:00Z",
    "creditorAccount": {
      "identification": {
        "schema": "GENERIC",
        "scheme": {
          "schema": "PROPRIETARY",
          "value": "AProprietaryCode456"
        },
        "issuer": "Amazing Bank",
        "value": 987654123
      },
      "type": {
        "schema": "CODE",
        "value": "CACC"
      }
    },
    "creditorAccountReference": "Creditor Ref",
    "creditorAgent": {
      "bicfi": "RY8PEGJ0",
      "memberId": "AmazingBankId",
      "name": "Amazing Bank Inc",
      "branch": {
        "identification": "210514",
        "name": "ABC Plettenberg Bay"
      }
    },
    "debtorAccount": {
      "identification": {
        "schema": "GENERIC",
        "scheme": {
          "schema": "PROPRIETARY",
          "value": "AProprietaryCode123"
        },
        "issuer": "Amazing Bank",
        "value": 123456098
      },
      "type": {
        "schema": "CODE",
        "value": "CACC"
      }
    },
    "debtorAccountReference": "Debtor Ref",
    "debtorAgent": {
      "bicfi": "BB8PEGJ0",
      "memberId": "AmazingBankId",
      "name": "Amazing Bank Inc",
      "branch": {
        "identification": "210514",
        "name": "ABC Cape Town"
      }
    },
    "amount": {
      "value": 100,
      "currency": "ZAR"
    },
    "aggregatedTransactionCount": 1,
    "initiationSource": "EPC Singles",
    "paymentScheme": "ZA_EFT",
    "localInstrument": {
      "schema": "CODE",
      "value": "CTR"
    },
    "paymentMethod": "CreditTransfer",
    "direction": "OUTBOUND",
    "supplementaryData": {
      "key1": "value1",
      "key2": "value2"
    }
  }'

Responses

Accepted. RFC9110 - 202

Response
No content

Schema

operational

Operations

bulk

Operations

request-to-pay

Operations

refund

Operations

account-verification

Operations