Electrum Regulated Payments Events API (17.1.0)

The Electrum Regulated Payments Events API is a synchronous API that describes the events emitted by the Electrum Regulated Payments platform during the course of transaction processing.

This document describes the single endpoint that you will need to implement in order to receive event notifications posted by Electrum.

As transactions are processed by Electrum, events are emitted to provide information about the status of the transactions and the operations preformed on them. These events do not affect processing, but provide information that can be used for operational support and monitoring purposes.

All events are posted to the same single URL. Event are differentiated by a unique descriptor contained in the name field of the message body. This descriptor serves to allow the receiver to determine whether the particular event is of interest.

Download OpenAPI description
Overview
Languages
Servers
Mock server

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

Payments API sandbox

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

state

Transactions transition through different states. As each state is entered, an event is emitted. This event provides information about the state entered by the transaction. Included in this information is the message payload of the operation that triggered the state transition in the Electrum Regulated Payments. Note: The message payload attached to an event might be an internally-triggered message and not the message sent to or received from the Electrum Regulated Payments API.

Operations

Schema

Event

apiVersionstringrequired

The version of the Electrum Regulated Payments Events API which the event format conforms to i.e. the version of this API.

classstringrequired

The class of the event.

Discriminator
actionDatestring(date)required

The date at which the transaction should take effect. The date must be formatted as defined by date-time in RFC3339

creationDateTimestring(date-time)required

The date and time at which the event was created, in senders local timezone or UTC. The date must be formatted as defined by date-time in RFC3339

eftDataRecordobject(EventEsmPayload)
identifiersobject(EventEsmIdentifiers)required

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

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

identifiers.​matchingKeystring<= 64 characters

A unique identifier that is used to identify an EFT record. This field is computed using the fields in the EFT record.

identifiers.​transactionIdentificationstring<= 35 charactersrequired

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.

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

stateobject(EventEsmState)required
state.​financialTransactionStatestringrequired

The state of the financial transaction for the given transaction.

Enum"IN_PROGRESS""ACTIONED""UNPAID""ERROR""UNMATCHED"
state.​transactionStatestringrequired

The state of the given transaction.

Enum"RECEIVE_PENDING""RECEIVED""RECEIVE_ERROR""CANCELLED""SEND_PENDING""SENT""SEND_ERROR""ON_HOLD"
transactionInfoobject(EventEsmTransactionInfo)required
transactionInfo.​directionstringrequired

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

Enum"INBOUND""OUTBOUND""ON_US"
transactionInfo.​paymentTypestringrequired

Enumerates the specific transaction processing event being emitted.

Enum"CREDIT""DEBIT"
transactionInfo.​recordTypestringrequired
Enum"PAYMENT""UNPAID_INPUT""UNPAID_OUTPUT""RECALL_OUTPUT""SEC_REQUEST""SEC_RESPONSE""SEC_UNPAID_INPUT""HOMED_BACK"
transactionInfo.​returnTypestring

Indicates the cause of an unpaid/payment return.

Enum"DISPUTE""UNPAID""HOME_BACK""SEC_SUCCESSFUL""RECALL_RESULT"
transactionInfo.​subServicestringrequired
Enum"SAME_DAY""ONE_DAY""TWO_DAY""RECALLS""SYSTEM_ERROR_CORRECTION""SYSTEM_ERROR_CORRECTION_RESPONSE"
{ "apiVersion": "string", "class": "ESM_STATE", "actionDate": "2019-08-24", "creationDateTime": "2019-08-24T14:15:22Z", "eftDataRecord": { "actionDate": "2019-08-24", "amount": 0, "homingAccount": "string", "homingAccountName": "string", "homingBranch": "string", "recordIdentifier": "CREDIT", "sequenceNumber": 0, "userAccount": "string", "userBranch": "string", "userCode": "string", "userReference": "string", "accountType": "OTHER", "entryClass": "CONTRAS", "filler1": "string", "filler2": "string", "filler3": "string", "filler4": "string", "homingInstitution": "string", "nonStandardHomingAccount": "string", "schema": "PaymentRecord", "taxCode": "string" }, "identifiers": { "endToEndIdentification": "string", "matchingKey": "string", "transactionIdentification": "string", "uetr": "string" }, "state": { "financialTransactionState": "IN_PROGRESS", "transactionState": "RECEIVE_PENDING" }, "transactionInfo": { "direction": "INBOUND", "paymentType": "CREDIT", "recordType": "PAYMENT", "returnType": "DISPUTE", "subService": "SAME_DAY" } }

RecordIdentifier

string(RecordIdentifier)
Enum"CREDIT""STOP_ORDER_CREDIT""CONSOLIDATED_UNPAID_CREDIT""UNPAID_CREDIT""CREDIT_RECALL""CREDIT_SEC_REQUEST""CREDIT_SEC_RESPONSE""DEBIT""CONSOLIDATED_UNPAID_DEBIT""UNPAID_DEBIT"
"CREDIT"

BaseEsmRecord

actionDatestring(date)required
amountinteger(int64)
homingAccountstringrequired
homingAccountNamestringrequired
homingBranchstringrequired
recordIdentifierstring(RecordIdentifier)required
Enum"CREDIT""STOP_ORDER_CREDIT""CONSOLIDATED_UNPAID_CREDIT""UNPAID_CREDIT""CREDIT_RECALL""CREDIT_SEC_REQUEST""CREDIT_SEC_RESPONSE""DEBIT""CONSOLIDATED_UNPAID_DEBIT""UNPAID_DEBIT"
sequenceNumberintegerrequired
userAccountstringrequired
userBranchstringrequired
userCodestringrequired
userReferencestringrequired
{ "actionDate": "2019-08-24", "amount": 0, "homingAccount": "string", "homingAccountName": "string", "homingBranch": "string", "recordIdentifier": "CREDIT", "sequenceNumber": 0, "userAccount": "string", "userBranch": "string", "userCode": "string", "userReference": "string" }