Electrum Regulated Payments Partner API (26.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.

Languages
Servers
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

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

account-management

Operations that involve customer account information.

Operations

sanctions-assessment

Operations related to the processing of sanctions assessment for payment transactions.

Operations

Submit a payment message for sanctions evaluation.

Request

This operation is asynchronous, and is responded to by the sanctionsAssessmentResponse operation.

This operation is invoked by Electrum during transaction processing so that the transaction can be assessed for sanctions before being processed further. The result of the sanctions assessment is delivered back to Electrum by invoking the sanctionsAssessmentResponse operation, whose outcome determines how the transaction is handled thereafter by Electrum.

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

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.

paymentMessageany(SanctionsPaymentMessage)required

The payment message that must undergo sanctions screening.

paymentMessage.​contentMessageTypestring

The classification of the enclosed message.

paymentMessage.​contentTypestring
Value"XML"
paymentMessage.​payloadstring

Base64 encoded payload

paymentMessage.​schemastring
Value"Base64EncodedData"
Discriminator
requestExpirystring(date-time)

The point after which the result of the SanctionsAssessmentRequest is no longer valid. The date must be formatted as defined by date-time in RFC3339

schemastringrequired
Value"SanctionsAssessmentRequest"
curl -i -X POST \
  https://example.com/path/payments/partner-api/v1/risk-assessment/sanctions-assessment-request \
  -H 'Content-Type: application/json' \
  -H 'traceparent: string' \
  -H 'tracestate: string' \
  -d '{
    "schema": "SanctionsAssessmentRequest",
    "transactionIdentifiers": {
      "endToEndIdentification": "uniqueEndToEndId",
      "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa"
    },
    "messageIdentifiers": {
      "messageIdentification": "9fd51c1234ba4819bbheyde296a68e1da",
      "creationDateTime": "2022-05-04T03:22:11Z"
    },
    "requestExpiry": "2022-05-04T03:22:11Z",
    "paymentMessage": {
      "schema": "Base64EncodedData",
      "contentType": "XML",
      "contentMessageType": "pacs.008.001.08",
      "payload": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8RGF0YVBEVSB4bWxucz0idXJuOnN3aWZ0OnNhYTp4c2Q6c2FhLjIuMCIKICAgICAgICAgeG1sbnM6bnMyPSJ1cm46aXNvOnN0ZDppc286MjAwMjI6dGVjaDp4c2Q6aGVhZC4wMDEuMDAxLjAyIgogICAgICAgICB4bWxuczpuczM9InVybjppc286c3RkOmlzbzoyMDAyMjp0ZWNoOnhzZDpwYWNzLjAwOC4wMDEuMDgiPgogIDxSZXZpc2lvbj4yLjAuMTM8L1JldmlzaW9uPgogIDxIZWFkZXI+CiAgICA8TWVzc2FnZT4KICAgICAgPFNlbmRlclJlZmVyZW5jZT5JVkVTMjAyNjA1MTVSRUYwMDE8L1NlbmRlclJlZmVyZW5jZT4KICAgICAgPE1lc3NhZ2VJZGVudGlmaWVyPnBhY3MuMDA4LjAwMS4wODwvTWVzc2FnZUlkZW50aWZpZXI+CiAgICAgIDxGb3JtYXQ+TVg8L0Zvcm1hdD4KICAgICAgPFNlbmRlcj4KICAgICAgICA8RE4+b3U9eHh4L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gICA8L25zMzpDaHJnc0luZj4KICAgICAgICAgIDxuczM6SW5zdGdBZ3Q+CiAgICAgICAgICAgIDxuczM6RmluSW5zdG5JZD4KICAgICAgICAgICAgICA8bnMzOkJJQ0ZJPklWRVNaQUpKWFhYPC9uczM6QklDRkk+CiAgICAgICAgICAgIDwvbnMzOkZpbkluc3RuSWQ+CiAgICAgICAgICA8L25zMzpJbnN0Z0FndD4KICAgICAgICAgIDxuczM6SW5zdGRBZ3Q+CiAgICAgICAgICAgIDxuczM6RmluSW5zdG5JZD4KICAgICAgICAgICAgICA8bnMzOkJJQ0ZJPkNJVElVUzMzWFhYPC9uczM6QklDRkk+CiAgICAgICAgICAgIDwvbnMzOkZpbkluc3RuSWQ+CiAgICAgICAgICA8L25zMzpJbnN0ZEFndD4KICAgICAgICAgIDxuczM6RGJ0cj4KICAgICAgICAgICAgPG5zMzpObT5BY21lIEdsb2JhbCBUcmFkaW5nPC9uczM6Tm0+CiAgICAgICAgICAgIDxuczM6UHN0bEFkcj4KICAgICAgICAgICAgICA8bnMzOkFkckxpbmU+MTIzIEluZHVzdHJpYWwgV2F5PC9uczM6QWRyTGluZT4KICAgICAgICAgICAgICA8bnMzOkFkckxpbmU+U2FuZHRvbiwgSm9oYW5uZXNidXJnPC9uczM6QWRyTGluZT4KICAgICAgICAgICAgPC9uczM6UHN0bEFkcj4KICAgICAgICAgICAgPG5zMzpDdGN0RHRscz4KICAgICAgICAgICAgICA8bnMzOk1vYk5iPisyNy03MjEyMzQ1Njc8L25zMzpNb2JOYj4KICAgICAgICAgICAgPC9uczM6Q3RjdER0bHM+CiAgICAgICAgICA8L25zMzpEYnRyPgogICAgICAgICAgPG5zMzpEYnRyQWNjdD4KICAgICAgICAgICAgPG5zMzpJZD4KICAgICAgICAgICAgICA8bnMzOk90aHI+CiAgICAgICAgICAgICAgICA8bnMzOklkPjEyMzQ1Njc4OTEwPC9uczM6SWQ+CiAgICAgICAgICAgICAgICA8bnMzOlNjaG1lTm0+PG5zMzpDZD5CQkFOPC9uczM6Q2Q+PC9uczM6U2NobWVObT4KICAgICAgICAgICAgICA8L25zMzpPdGhyPgogICAgICAgICAgICA8L25zMzpJZD4KICAgICAgICAgICAgPG5zMzpObT5BY21lIE9wZXJhdGluZyBBY2NvdW50PC9uczM6Tm0+CiAgICAgICAgICA8L25zMzpEYnRyQWNjdD4KICAgICAgICAgIDxuczM6RGJ0ckFndD4KICAgICAgICAgICAgPG5zMzpGaW5JbnN0bklkPgogICAgICAgICAgICAgIDxuczM6QklDRkk+SVZFU1pBSkpYWFg8L25zMzpCSUNGST4KICAgICAgICAgICAgICA8bnMzOlBzdGxBZHI+CiAgICAgICAgICAgICAgICA8bnMzOkN0cnk+WkE8L25zMzpDdHJ5PgogICAgICAgICAgICAgIDwvbnMzOlBzdGxBZHI+CiAgICAgICAgICAgIDwvbnMzOkZpbkluc3RuSWQ+CiAgICAgICAgICA8L25zMzpEYnRyQWd0PgogICAgICAgICAgPG5zMzpDZHRyQWd0PgogICAgICAgICAgICA8bnMzOkZpbkluc3RuSWQ+CiAgICAgICAgICAgICAgPG5zMzpCSUNGST5OV0JLR0IyTFhYWDwvbnMzOkJJQ0ZJPgogICAgICAgICAgICA8L25zMzpGaW5JbnN0bklkPgogICAgICAgICAgICA8bnMzOkJybmNoSWQ+CiAgICAgICAgICAgICAgPG5zMzpQc3RsQWRyPgogICAgICAgICAgICAgICAgPG5zMzpDdHJ5PkdCPC9uczM6Q3RyeT4KICAgICAgICAgICAgICA8L25zMzpQc3RsQWRyPgogICAgICAgICAgICA8L25zMzpCcm5jaElkPgogICAgICAgICAgPC9uczM6Q2R0ckFndD4KICAgICAgICAgIDxuczM6Q2R0cj4KICAgICAgICAgICAgPG5zMzpObT5HbG9iYWwgTG9naXN0aWNzIEx0ZDwvbnMzOk5tPgogICAgICAgICAgICA8bnMzOlBzdGxBZHI+CiAgICAgICAgICAgICAgPG5zMzpBZHJMaW5lPjQ1IE1hcml0aW1lIFBsYXphPC9uczM6QWRyTGluZT4KICAgICAgICAgICAgICA8bnMzOkFkckxpbmU+TG9uZG9uLCBVSzwvbnMzOkFkckxpbmU+CiAgICAgICAgICAgIDwvbnMzOlBzdGxBZHI+CiAgICAgICAgICAgIDxuczM6Q3RjdER0bHM+CiAgICAgICAgICAgICAgPG5zMzpNb2JOYj4rNDQtMjA3MTIzNDU2NzwvbnMzOk1vYk5iPgogICAgICAgICAgICA8L25zMzpDdGN0RHRscz4KICAgICAgICAgIDwvbnMzOkNkdHI+CiAgICAgICAgICA8bnMzOkNkdHJBY2N0PgogICAgICAgICAgICA8bnMzOklkPgogICAgICAgICAgICAgIDxuczM6T3Rocj4KICAgICAgICAgICAgICAgIDxuczM6SWQ+MTQwMDc5MTUzMDM1MTwvbnMzOklkPgogICAgICAgICAgICAgICAgPG5zMzpTY2htZU5tPjxuczM6UHJ0cnk+QUhISDwvbnMzOlBydHJ5PjwvbnMzOlNjaG1lTm0+CiAgICAgICAgICAgICAgPC9uczM6T3Rocj4KICAgICAgICAgICAgPC9uczM6SWQ+CiAgICAgICAgICAgIDxuczM6Tm0+TWFpbiBDb2xsZWN0aW9uIEFjY291bnQ8L25zMzpObT4KICAgICAgICAgIDwvbnMzOkNkdHJBY2N0PgogICAgICAgICAgPG5zMzpSbXRJbmY+CiAgICAgICAgICAgIDxuczM6VXN0cmQ+SU5WT0lDRSBOTyBTSU4wMDAzMDQwMjU8L25zMzpVc3RyZD4KICAgICAgICAgIDwvbnMzOlJtdEluZj4KICAgICAgICA8L25zMzpDZHRUcmZUeEluZj4KICAgICAgPC9uczM6RklUb0ZJQ3N0bXJDZHRUcmY+CiAgICA8L25zMzpEb2N1bWVudD4KICA8L0JvZHk+CjwvRGF0YVBEVT4=="
    },
    "supplementaryData": {
      "key1": "value1",
      "key2": "value2"
    }
  }'

Responses

Accepted. RFC9110 - 202

Response
No content

mandate-management

Operations related to the lifecycle management of direct debit mandates.

Operations

Schema

operational

Operations

bulk

Operations

request-to-pay

Operations

refund

Operations

account-verification

Operations