Electrum Regulated Payments API (18.1.0)

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:

  • Webhooks: Electrum will send events to the partner containing inbound payments to action, or responses to outbound payment requests. Webhooks are defined in this document.
  • 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 the Electrum Regulated Payments Partner API.

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.

Download OpenAPI description
Overview
Languages
Servers
Payments API sandbox

https://example.com/path/payments/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

account-management

Operations that involve customer account information.

Operations

Add or update a customer account record

Request

This synchronous operation adds or updates a customer account record, when making use of Electrum account mirroring. Note that the supplied Account details object must include the Account's primaryIdentifier (which is in fact mandatory in the Account object). If the supplied primaryIdentifier is known, it will be assumed that this is an update operation. If the supplied primaryIdentifier is not known, it will be assumed that this is an insert operation.

Behaviour:

Electrum Account Mirror as Primary source of proxy dataElectrum Account Mirror as Secondary source of proxy dataElectrum Account Mirror deactivated
As per description.As per description. Note that the Electrum Account Mirror will overwrite stored information per the request sent.Not allowed
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(SupplementaryData)

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

accountobject(Account)required

An account within the Electrum Account mirror. Note that the primaryIdentification is permanent and immutable.

account.​accountNamestring<= 70 characters
account.​additionalIdentificationsArray of objects(AccountIdentification)
account.​currencystring(CurrencyCode)^[A-Z]{3}$

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

account.​openingDatestring(date-time)

Date and time at which the account was established.

account.​primaryIdentificationobject(AccountIdentification)required

Holds details pertaining to an identifier of an account or store of value.

account.​primaryIdentification.​accountKnownAsstring<= 40 characters

A name or label of the account.

account.​primaryIdentification.​identifierobject(AccountIdentifier)required
account.​primaryIdentification.​identifier.​namespacestring[ 1 .. 40 ] characters

An identifier's namespace provides a context for the identifier to distinguish different identifiers which may have the same value but be intended to identify different accounts. For example, a bank may use the same MSISDN (identifier) with different namespaces to distinguish between a customer's cheque or savings accounts.

This may be used by the following schemes:

  • ZA_RPP
account.​primaryIdentification.​identifier.​schemastringrequired

Indicates the schema of the identifier, e.g. MOBILE, CUSTOM.

Discriminator
account.​primaryIdentification.​identifier.​valuestring[ 1 .. 2048 ] charactersrequired
account.​primaryIdentification.​registeredSchemesArray of strings(PaymentSchemeName)

The list of schemes with which the identifier is registered.

Items Enum"ZA_RTC""ZA_RPP""ZA_EFT""CBPR_PLUS"
account.​restrictionsArray of objects(Restriction)
account.​statusstring(AccountStatusCode)

A set of codes that describe the status of an account

Enum"ENABLED""DISABLED""DELETED"
account.​typeobject(AccountType)
otherAccountOwnerDetailsArray of objects(AccountOwner)
primaryAccountOwnerDetailsobject(AccountOwner)required

Contains information detailing the owner of an account, which can be either a person or organisation.

primaryAccountOwnerDetails.​recordIdentifierstring[ 1 .. 50 ] charactersrequired

A unique identifier used to identify this Account Owner record. This is distinct from the identification of the Account Owner, which may or may not be unique within this system, but which is typically used for identification outside of the system, such as passport numbers or national identification numbers. This identifier is used exclusively to identify the owner within this system.

primaryAccountOwnerDetails.​schemastringrequired

Defines the type of owner.

Enum"ORGANISATION""INDIVIDUAL"
Discriminator
primaryAccountOwnerDetails.​addressobject(PostalAddress)
primaryAccountOwnerDetails.​contactDetailsobject(ContactDetails)
primaryAccountOwnerDetails.​countryOfResidencestring(CountryCode)[A-Z]{2,2}

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).

primaryAccountOwnerDetails.​identifiersArray of objects(PersonIdentifier)
primaryAccountOwnerDetails.​nameobject(PersonName)

Name of the person.

schemastringrequired
Value"AccountUpdateRequest"
curl -i -X PUT \
  https://example.com/path/payments/api/v1/accounts \
  -H 'Content-Type: application/json' \
  -H 'traceparent: string' \
  -H 'tracestate: string' \
  -d '{
    "schema": "AccountUpdateRequest",
    "messageIdentifiers": {
      "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
      "creationDateTime": "2022-05-04T03:02:01Z"
    },
    "account": {
      "type": {
        "schema": "CODE",
        "value": "CASH"
      },
      "accountName": "MyCashAccount",
      "currency": "ZAR",
      "openingDate": "2022-05-03T15:02:01Z",
      "status": "ENABLED",
      "restrictions": [
        {
          "restrictionType": "NO_CREDITS",
          "validFrom": "2022-05-04T03:02:01Z",
          "validUntil": "2022-05-05T15:02:01Z"
        }
      ],
      "primaryIdentification": {
        "identifier": {
          "schema": "IBAN",
          "value": "GB29NWBK60161331926819"
        },
        "accountKnownAs": "BestAccount"
      },
      "additionalIdentifications": [
        {
          "identifier": {
            "namespace": "aNamespace",
            "schema": "MOBILE",
            "value": "+27-0821111111"
          },
          "accountKnownAs": "BestAccount",
          "registeredSchemes": [
            "ZA_RPP"
          ]
        }
      ]
    },
    "primaryAccountOwnerDetails": {
      "schema": "INDIVIDUAL",
      "recordIdentifier": 123456789,
      "name": {
        "title": "Mr",
        "initials": "DD",
        "firstName": "David",
        "lastName": "Developer",
        "additionalNames": "Davido",
        "knownAs": "Dave"
      },
      "identifiers": [
        {
          "identification": 90001236549870,
          "issuer": "Dept of Home Affairs",
          "scheme": {
            "schema": "CODE",
            "value": "NIDN"
          }
        }
      ],
      "address": {
        "addressType": "ADDR",
        "department": "Department of Mysteries",
        "streetName": "Street of Mysteries",
        "buildingNumber": 42,
        "buildingName": "Mysterious Building",
        "floor": 42,
        "postBox": 1024,
        "postCode": 4242,
        "townName": "Mysty Town",
        "townLocationName": "Mysty Location",
        "districtName": "Mysty District",
        "countrySubDivision": "Mysterious Cape",
        "country": "ZA",
        "addressLine": [
          "16A",
          "New market street",
          "Foreshore",
          "Cape Town",
          "ZA",
          8001
        ]
      },
      "contactDetails": {
        "phoneNumber": "+27-0214620000",
        "mobileNumber": "+27-08230000000",
        "emailAddress": "developer.dave@electrum.com"
      },
      "countryOfResidence": "ZA"
    },
    "otherAccountOwnerDetails": [
      {
        "schema": "ORGANISATION",
        "recordIdentifier": 123456789,
        "name": {
          "tradingAs": "Electrum"
        },
        "identifiers": [
          {
            "schema": "BIC",
            "BIC": "RY8PEG0L"
          },
          {
            "schema": "LEI",
            "LEI": "FABABA1212CDCD343400"
          },
          {
            "schema": "OTHER",
            "identification": 1234567890,
            "issuer": "CIPC",
            "scheme": {
              "schema": "CODE",
              "value": "BOID"
            }
          },
          {
            "schema": "OTHER",
            "identification": 1234567890,
            "issuer": "CIPC",
            "scheme": {
              "schema": "PROPRIETARY",
              "value": "AProprietaryCode123"
            }
          }
        ],
        "address": {
          "addressType": "ADDR",
          "department": "Department of Mysteries",
          "streetName": "Street of Mysteries",
          "buildingNumber": 42,
          "buildingName": "Mysterious Building",
          "floor": 42,
          "postBox": 1024,
          "postCode": 4242,
          "townName": "Mysty Town",
          "townLocationName": "Mysty Location",
          "districtName": "Mysty District",
          "countrySubDivision": "Mysterious Cape",
          "country": "ZA",
          "addressLine": [
            "16A",
            "New market street",
            "Foreshore",
            "Cape Town",
            "ZA",
            8001
          ]
        },
        "contactDetails": {
          "phoneNumber": "+27-0214620000",
          "mobileNumber": "+27-08230000000",
          "emailAddress": "developer.dave@electrum.com"
        },
        "countryOfResidence": "ZA"
      }
    ]
  }'

Responses

Response
No content

Retrieve a customer account record

Request

This synchronous operation retrieves the details of all accounts given an accountId when using the Electrum Account Mirror. The accountId is one of the unique identifiers for an account (e.g. GenericAccountIdentifier.value or MobileNumberIdentifier.value).

Behaviour:

Electrum Account Mirror as Primary source of proxy dataElectrum Account Mirror as Secondary source of proxy dataElectrum Account Mirror deactivated
As per description.As per description.Not allowed
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/json
namespacestring[ 1 .. 40 ] characters

An identifier's namespace provides a context for the identifier to distinguish different identifiers which may have the same value but be intended to identify different accounts. For example, a bank may use the same MSISDN (identifier) with different namespaces to distinguish between a customer's cheque or savings accounts.

This may be used by the following schemes:

  • ZA_RPP
schemastringrequired

Indicates the schema of the identifier, e.g. MOBILE, CUSTOM.

Discriminator
valuestring[ 1 .. 2048 ] charactersrequired
curl -i -X POST \
  https://example.com/path/payments/api/v1/accounts/get \
  -H 'Content-Type: application/json' \
  -H 'traceparent: string' \
  -H 'tracestate: string' \
  -d '{
    "namespace": "string",
    "schema": "CUSTOM",
    "value": "string"
  }'

Responses

Bodyapplication/json
accountobject(Account)required

An account within the Electrum Account mirror. Note that the primaryIdentification is permanent and immutable.

account.​accountNamestring<= 70 characters
account.​additionalIdentificationsArray of objects(AccountIdentification)
account.​currencystring(CurrencyCode)^[A-Z]{3}$

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

account.​openingDatestring(date-time)

Date and time at which the account was established.

account.​primaryIdentificationobject(AccountIdentification)required

Holds details pertaining to an identifier of an account or store of value.

account.​primaryIdentification.​accountKnownAsstring<= 40 characters

A name or label of the account.

account.​primaryIdentification.​identifierobject(AccountIdentifier)required
account.​primaryIdentification.​identifier.​namespacestring[ 1 .. 40 ] characters

An identifier's namespace provides a context for the identifier to distinguish different identifiers which may have the same value but be intended to identify different accounts. For example, a bank may use the same MSISDN (identifier) with different namespaces to distinguish between a customer's cheque or savings accounts.

This may be used by the following schemes:

  • ZA_RPP
account.​primaryIdentification.​identifier.​schemastringrequired

Indicates the schema of the identifier, e.g. MOBILE, CUSTOM.

Discriminator
account.​primaryIdentification.​identifier.​valuestring[ 1 .. 2048 ] charactersrequired
account.​primaryIdentification.​registeredSchemesArray of strings(PaymentSchemeName)

The list of schemes with which the identifier is registered.

Items Enum"ZA_RTC""ZA_RPP""ZA_EFT""CBPR_PLUS"
account.​restrictionsArray of objects(Restriction)
account.​statusstring(AccountStatusCode)

A set of codes that describe the status of an account

Enum"ENABLED""DISABLED""DELETED"
account.​typeobject(AccountType)
otherAccountOwnerDetailsArray of objects(AccountOwner)
primaryAccountOwnerDetailsobject(AccountOwner)required

Contains information detailing the owner of an account, which can be either a person or organisation.

primaryAccountOwnerDetails.​recordIdentifierstring[ 1 .. 50 ] charactersrequired

A unique identifier used to identify this Account Owner record. This is distinct from the identification of the Account Owner, which may or may not be unique within this system, but which is typically used for identification outside of the system, such as passport numbers or national identification numbers. This identifier is used exclusively to identify the owner within this system.

primaryAccountOwnerDetails.​schemastringrequired

Defines the type of owner.

Enum"ORGANISATION""INDIVIDUAL"
Discriminator
primaryAccountOwnerDetails.​addressobject(PostalAddress)
primaryAccountOwnerDetails.​contactDetailsobject(ContactDetails)
primaryAccountOwnerDetails.​countryOfResidencestring(CountryCode)[A-Z]{2,2}

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).

primaryAccountOwnerDetails.​identifiersArray of objects(PersonIdentifier)
primaryAccountOwnerDetails.​nameobject(PersonName)

Name of the person.

Response
application/json
{ "account": { "type": { … }, "accountName": "MyCashAccount", "currency": "ZAR", "openingDate": "2022-05-03T15:02:01Z", "status": "ENABLED", "restrictions": [ … ], "primaryIdentification": { … }, "additionalIdentifications": [ … ] }, "primaryAccountOwnerDetails": { "schema": "INDIVIDUAL", "recordIdentifier": 123456789, "name": { … }, "identifiers": [ … ], "address": { … }, "contactDetails": { … }, "countryOfResidence": "ZA" }, "otherAccountOwnerDetails": [ { … } ] }

Delete a customer account record

Request

This synchronous operation deletes a customer account record from the Electrum account mirror. This is a permanent deletion.

Behaviour:

Electrum Account Mirror as Primary source of proxy dataElectrum Account Mirror as Secondary source of proxy dataElectrum Account Mirror deactivated
As per description.As per description.Not allowed
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/json
namespacestring[ 1 .. 40 ] characters

An identifier's namespace provides a context for the identifier to distinguish different identifiers which may have the same value but be intended to identify different accounts. For example, a bank may use the same MSISDN (identifier) with different namespaces to distinguish between a customer's cheque or savings accounts.

This may be used by the following schemes:

  • ZA_RPP
schemastringrequired

Indicates the schema of the identifier, e.g. MOBILE, CUSTOM.

Discriminator
valuestring[ 1 .. 2048 ] charactersrequired
curl -i -X POST \
  https://example.com/path/payments/api/v1/accounts/delete \
  -H 'Content-Type: application/json' \
  -H 'traceparent: string' \
  -H 'tracestate: string' \
  -d '{
    "namespace": "string",
    "schema": "CUSTOM",
    "value": "string"
  }'

Responses

No content. RFC9110 - 204

Response
No content

Update a customer account record with an additional identifier

Request

This synchronous operation adds an additional identifier to a customer's account record. It will not report an error if the additional identifier already exists.

Behaviour:

Electrum Account Mirror as Primary source of proxy dataElectrum Account Mirror as Secondary source of proxy dataElectrum Account Mirror deactivated
Adds an additional identifier to a customer account recordAdds an additional identifier to a customer account record.Not allowed
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(SupplementaryData)

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

additionalIdentificationobject(AccountIdentification)required

Holds details pertaining to an identifier of an account or store of value.

additionalIdentification.​accountKnownAsstring<= 40 characters

A name or label of the account.

additionalIdentification.​identifierobject(AccountIdentifier)required
additionalIdentification.​identifier.​namespacestring[ 1 .. 40 ] characters

An identifier's namespace provides a context for the identifier to distinguish different identifiers which may have the same value but be intended to identify different accounts. For example, a bank may use the same MSISDN (identifier) with different namespaces to distinguish between a customer's cheque or savings accounts.

This may be used by the following schemes:

  • ZA_RPP
additionalIdentification.​identifier.​schemastringrequired

Indicates the schema of the identifier, e.g. MOBILE, CUSTOM.

Discriminator
additionalIdentification.​identifier.​valuestring[ 1 .. 2048 ] charactersrequired
additionalIdentification.​registeredSchemesArray of strings(PaymentSchemeName)

The list of schemes with which the identifier is registered.

Items Enum"ZA_RTC""ZA_RPP""ZA_EFT""CBPR_PLUS"
currentIdentificationobject(AccountIdentification)required

Holds details pertaining to an identifier of an account or store of value.

currentIdentification.​accountKnownAsstring<= 40 characters

A name or label of the account.

currentIdentification.​identifierobject(AccountIdentifier)required
currentIdentification.​identifier.​namespacestring[ 1 .. 40 ] characters

An identifier's namespace provides a context for the identifier to distinguish different identifiers which may have the same value but be intended to identify different accounts. For example, a bank may use the same MSISDN (identifier) with different namespaces to distinguish between a customer's cheque or savings accounts.

This may be used by the following schemes:

  • ZA_RPP
currentIdentification.​identifier.​schemastringrequired

Indicates the schema of the identifier, e.g. MOBILE, CUSTOM.

Discriminator
currentIdentification.​identifier.​valuestring[ 1 .. 2048 ] charactersrequired
currentIdentification.​registeredSchemesArray of strings(PaymentSchemeName)

The list of schemes with which the identifier is registered.

Items Enum"ZA_RTC""ZA_RPP""ZA_EFT""CBPR_PLUS"
schemastringrequired
Value"AccountAdditionalIdUpdateRequest"
curl -i -X PUT \
  https://example.com/path/payments/api/v1/accounts/additional-identifiers \
  -H 'Content-Type: application/json' \
  -H 'traceparent: string' \
  -H 'tracestate: string' \
  -d '{
    "schema": "AccountAdditionalIdUpdateRequest",
    "messageIdentifiers": {
      "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
      "creationDateTime": "2022-05-04T03:02:01Z"
    },
    "currentIdentification": {
      "identifier": {
        "schema": "GENERIC",
        "scheme": {
          "schema": "CODE",
          "value": "AIIN"
        },
        "issuer": "Amazing Bank",
        "value": "1234567890"
      }
    },
    "additionalIdentification": {
      "identifier": {
        "schema": "IBAN",
        "value": "GB29NWBK60161331926819"
      }
    }
  }'

Responses

Response
No content

Delete an additional identifier for a customer account record

Request

This synchronous operation deletes the provided additional identifier from the Electrum account mirror. This is a permanent deletion. Note: this operation will report a failure if the provided AccountIdentifier is the only one associated with the account as this would result in an account with no identifier.

Behaviour:

Electrum Account Mirror as Primary source of proxy dataElectrum Account Mirror as Secondary source of proxy dataElectrum Account Mirror deactivated
As per description.As per description. We recommend using the PUT /accounts operation instead.Not allowed
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
namespacestring[ 1 .. 40 ] characters

An identifier's namespace provides a context for the identifier to distinguish different identifiers which may have the same value but be intended to identify different accounts. For example, a bank may use the same MSISDN (identifier) with different namespaces to distinguish between a customer's cheque or savings accounts.

This may be used by the following schemes:

  • ZA_RPP
schemastringrequired

Indicates the schema of the identifier, e.g. MOBILE, CUSTOM.

Discriminator
valuestring[ 1 .. 2048 ] charactersrequired
curl -i -X POST \
  https://example.com/path/payments/api/v1/accounts/additional-identifiers/delete \
  -H 'Content-Type: application/json' \
  -H 'traceparent: string' \
  -H 'tracestate: string' \
  -d '{
    "namespace": "string",
    "schema": "CUSTOM",
    "value": "string"
  }'

Responses

No content. RFC9110 - 204

Response
No content

Deregister an account identifier externally with a scheme

Request

This synchronous operation deregisters an account identifier with a specific scheme. This effectively makes it impossible to address the account externally from the scheme.

Behaviour:

Electrum Account Mirror as Primary source of proxy dataElectrum Account Mirror as Secondary source of proxy dataElectrum Account Mirror deactivated
As per description.As per description.Not allowed
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(SupplementaryData)

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

schemastringrequired
Value"IdentifierSchemeDeregistrationRequest"
schemeDeregistrationobject(SchemeDeregistration)required
schemeDeregistration.​schemastring(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"
Discriminator
schemeDeregistration.​participantobject(InstitutionIdentification)
schemeDeregistration.​registeredAccountIdobject(AccountIdentifier)required
schemeDeregistration.​registeredAccountId.​namespacestring[ 1 .. 40 ] characters

An identifier's namespace provides a context for the identifier to distinguish different identifiers which may have the same value but be intended to identify different accounts. For example, a bank may use the same MSISDN (identifier) with different namespaces to distinguish between a customer's cheque or savings accounts.

This may be used by the following schemes:

  • ZA_RPP
schemeDeregistration.​registeredAccountId.​schemastringrequired

Indicates the schema of the identifier, e.g. MOBILE, CUSTOM.

Discriminator
schemeDeregistration.​registeredAccountId.​valuestring[ 1 .. 2048 ] charactersrequired
uetrstring(UUID)required

Universally unique identifier to provide an end-to-end reference. This identifier remains the same for all messages related to the same transaction.

curl -i -X POST \
  https://example.com/path/payments/api/v1/schemes/registered-identifiers/deregister \
  -H 'Content-Type: application/json' \
  -H 'traceparent: string' \
  -H 'tracestate: string' \
  -d '{
    "schema": "IdentifierSchemeDeregistrationRequest",
    "messageIdentifiers": {
      "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
      "creationDateTime": "2022-05-04T03:02:01Z"
    },
    "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
    "schemeDeregistration": {
      "schema": "ZA_RPP",
      "registeredAccountId": {
        "schema": "MOBILE",
        "value": "+27-0821111111"
      },
      "participant": {
        "bicfi": "RY8PEG0L",
        "memberId": "AmazingBankId",
        "name": "Amazing Bank Inc",
        "branch": {
          "identification": 210514,
          "name": "ABC Plettenberg Bay",
          "address": {
            "addressType": "ADDR",
            "department": "Department of Mysteries",
            "streetName": "Street of Mysteries",
            "buildingNumber": 42,
            "buildingName": "Mysterious Building",
            "floor": 42,
            "postBox": 1024,
            "postCode": 4242,
            "townName": "Mysty Town",
            "townLocationName": "Mysty Location",
            "districtName": "Mysty District",
            "countrySubDivision": "Mysterious Cape",
            "country": "ZA",
            "addressLine": [
              "16A",
              "New market street",
              "Foreshore",
              "Cape Town",
              "ZA",
              8001
            ]
          }
        }
      }
    }
  }'

Responses

Bodyapplication/json
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(SupplementaryData)

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

originalMessageIdentifiersobject(MessageIdentifiers)required

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

originalMessageIdentifiers.​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

originalMessageIdentifiers.​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.

schemastringrequired
Value"IdentifierSchemeDeregistrationResponse"
schemeRegistrationOutcomeobject(SchemeDeregistrationOutcome)required
schemeRegistrationOutcome.​deregistrationStatusstringrequired
Enum"ACCEPTED""REJECTED"
schemeRegistrationOutcome.​schemastring(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"
Discriminator
schemeRegistrationOutcome.​agentobject(InstitutionIdentification)required
schemeRegistrationOutcome.​agent.​additionalIdentificationsArray of objects(AccountIdentification)
schemeRegistrationOutcome.​agent.​addressobject(PostalAddress)
schemeRegistrationOutcome.​agent.​bicfistring^[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9...

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)

schemeRegistrationOutcome.​agent.​branchobject(BranchIdentification)
schemeRegistrationOutcome.​agent.​clearingSystemMemberIdobject(ClearingSystemMemberIdentification)
schemeRegistrationOutcome.​agent.​leistring[A-Z0-9]{18,18}[0-9]{2,2}

An organisation identified by a code allocated to a party as described in ISO 17442 Financial Services - Legal Entity Identifier (LEI).

schemeRegistrationOutcome.​agent.​namestring<= 140 characters

Name by which an institution is known and which is usually used to identify that institution

schemeRegistrationOutcome.​agent.​companyRegistrationstring<= 35 charactersDeprecated

A unique identifier assigned to a company or organisation by a duly appointed authority within a country.

schemeRegistrationOutcome.​agent.​memberIdstring<= 35 charactersDeprecated

Deprecated. Please use the preferred clearingSystemMemberId.memberId instead. Identification of a member of a clearing system.

schemeRegistrationOutcome.​proxyobject(NonBankingIdentifier)required
schemeRegistrationOutcome.​proxy.​namespacestring[ 1 .. 40 ] characters

An identifier's namespace provides a context for the identifier to distinguish different identifiers which may have the same value but be intended to identify different accounts. For example, a bank may use the same MSISDN (identifier) with different namespaces to distinguish between a customer's cheque or savings accounts.

This may be used by the following schemes:

  • ZA_RPP
schemeRegistrationOutcome.​proxy.​schemastringrequired

Indicates the schema of the identifier, e.g. MOBILE, CUSTOM.

Discriminator
schemeRegistrationOutcome.​proxy.​valuestring[ 1 .. 2048 ] charactersrequired
schemeRegistrationOutcome.​reasonCodestring
  • AB06 : Timeout
  • AB07 : OfflineAgent
  • AB10 : ErrorInstructedAgent
  • AG03 : TransactionNotSupported
  • AG10 : AgentSuspended
  • AM18 : InvalidNumberOfTransactions
  • CH21 : RequiredCompulsoryElementMissing
  • DT02 : InvalidCreationDate
  • DUPL : DuplicateRequest
  • FF02 : SyntaxError
  • NAUT : NotAuthorised
  • PD01 : ProxyDomainInvalid
  • PX02 : InvalidProxy
  • PX03 : ProxyNotFound
  • PX04 : ProxyFormatInvalid
  • PX05 : Restricted Proxy
  • PX06 : Default proxy already exists
  • RC02 : InvalidBankIdentifier
  • RC08 : InvalidClearingSystemMemberIdentifier
  • RR10 : InvalidCharacterSet
  • RR12 : InvalidPartyID
Enum"AB06""AB07""AB10""AG03""AG10""AM18""CH21""DT02""DUPL""FF02"
uetrstring(UUID)required

Universally unique identifier to provide an end-to-end reference. This identifier remains the same for all messages related to the same transaction.

Response
application/json
{ "schema": "IdentifierSchemeDeregistrationResponse", "messageIdentifiers": { "messageIdentification": "9fd51c1234ba4819bbheyde296a68e1da", "creationDateTime": "2022-05-04T03:22:11Z" }, "originalMessageIdentifiers": { "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da", "creationDateTime": "2022-05-04T03:02:01Z" }, "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa", "schemeRegistrationOutcome": { "schema": "ZA_RPP", "deregistrationStatus": "ACCEPTED", "agent": { … }, "proxy": { … } } }

Retrieve list of schemes where an account identifier is registered

Request

This synchronous operation retrieves a set of schemes for which the provided account identifier is registered.

Behaviour:

Electrum Account Mirror as Primary source of proxy dataElectrum Account Mirror as Secondary source of proxy dataElectrum Account Mirror deactivated
As per description.As per description.Not allowed
Path
registeredAccountIdstringrequired

The value of the account identifier for which schemes that it is registered against must be retrieved. This value must be URL encoded.

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.

curl -i -X GET \
  'https://example.com/path/payments/api/v1/schemes/registered-identifiers/{registeredAccountId}' \
  -H 'traceparent: string' \
  -H 'tracestate: string'

Responses

Bodyapplication/json
registeredSchemesArray of strings(PaymentSchemeName)required

The list of schemes with which the identifier is registered.

Items Enum"ZA_RTC""ZA_RPP""ZA_EFT""CBPR_PLUS"
Response
application/json
{ "registeredSchemes": [ "ZA_RPP" ] }

proxy

Operations that involve the management or processing of proxies

Operations

scheme-inquiry

Operations that are related to retrieving information from industry for a particular scheme.

Operations

identifier-determination

Operations used to retrieve additional information related to an identifier

Operations

identifier-verification

Operations used to verify information relating to an account identifier

Operations

request-to-pay

Operations which pertain to a request for payment from a creditor to a debtor

Operations

funds-management

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

Operations

refund

Operations related to the refund of a prior successful financial transaction.

Operations

risk-assessment

Operations related to the assessment and identification of risk in transactions.

Operations

fraud-assessment

Operations related to the processing of fraud assessments for payment transactions.

Operations

Schema

operational

Operations

bulk

Operations

accounts

Operations

account-verification

Operations