Step 4: Receive Inbound Credit Transfer Completion
Overview
After receiving an Inbound Credit Transfer Response from you, Electrum finalises the transfer on the payment network. Following this, Electrum notifies you that the transaction is complete via aninboundCreditTransferCompletion
request. This serves as confirmation of the final state of the payment.Financial Impact
The completion step has a possible financial impact. Be sure to consider these important factors when handling this step:
- Electrum treats the
inboundCreditTransferCompletion
as a must-deliver message and will repeatedly send it until you acknowledge receipt. - Once Electrum has received your acknowledgement to the
inboundCreditTransferCompletion
, then it is assumed that the transaction is final. - Refer to the
status.outcome
field to determine whether or not funds should be credited. - In rare circumstances, Electrum may be unable to determine the final state of the transaction from the payment network. In this case you will not receive an
inboundCreditTransferCompletion
and no action is required from you. Any discrepancy between your view of the transaction and that of the sending participant will need to be resolved during reconciliation.
Implementing the API
Receive Request
Electrum sends aninboundCreditTransferCompletion
request to your /transactions/inbound/credit-transfer-completion
endpoint. The request will conform to the following schema:Request Body schema: application/json
required | object (MessageIdentifiers) Holds a point-to-point unique message identification string as well as a message's creation date time. |
object (SupplementaryData) A list of key-value pairs to support adding any supplementary/additional data to an Electrum Regulated Payments API message. | |
required | object (MessageIdentifiers) Holds a point-to-point unique message identification string as well as a message's creation date time. |
required | object (TransactionIdentifiers) Holds a series of identifiers to identify the transaction or an individual message that is part of a transaction. |
object (InstitutionIdentification) | |
object (InstitutionIdentification) | |
object (OriginalTransactionData) Contains key elements related to the original transaction that is being referred to. | |
required | object (PaymentStatusReportPaymentScheme) Designates which scheme a payment status report is associated with and describes scheme-specific information for the payment status report. |
schema required | string Value: "PaymentStatusReport" |
required | object (Status) |
{- "schema": "PaymentStatusReport",
- "messageIdentifiers": {
- "messageIdentification": "9fd51c1234ba4819bbheyde296a68e1da",
- "creationDateTime": "2022-05-04T03:22:11Z"
}, - "originalMessageIdentifiers": {
- "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
- "creationDateTime": "2022-05-04T03:02:01Z"
}, - "paymentScheme": {
- "schema": "ZA_RPP"
}, - "transactionIdentifiers": {
- "endToEndIdentification": "6249118655591098",
- "transactionIdentification": "RRN000000001",
- "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa"
}, - "status": {
- "outcome": "APPROVED",
- "reasonInfo": [
- {
- "reason": {
- "schema": "CODE",
- "value": "ACSC"
}, - "additionalInformation": "Settlement completed on debtor account"
}
]
}, - "instructingAgent": {
- "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"
]
}
}
}, - "instructedAgent": {
- "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"
]
}
}
}, - "originalTransactionData": {
- "creditor": {
- "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",
- "identification": {
- "schema": "PERSON",
- "identifiers": [
- {
- "identification": "90001236549870",
- "scheme": {
- "schema": "CODE",
- "value": "NIDN"
}, - "issuer": "Dept of Home Affairs"
}
]
}
}, - "creditorAccount": {
- "identification": {
- "schema": "GENERIC",
- "scheme": {
- "schema": "PROPRIETARY",
- "value": "AProprietaryCode123"
}, - "issuer": "Amazing Bank",
- "value": "abcdef987654"
}, - "proxy": {
- "namespace": "NeoBank",
- "schema": "MOBILE",
- "value": "+27-0214620000"
}, - "type": {
- "schema": "CODE",
- "value": "CACC"
}
}, - "creditorAgent": {
- "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"
]
}
}
}, - "amounts": {
- "bankSettlementAmount": {
- "value": 1,
- "currency": "ZAR"
}, - "instructedAmount": {
- "value": 1,
- "currency": "ZAR"
}
}, - "remittanceInformation": {
- "unstructured": [
- "some",
- "unstructured",
- "information"
], - "structured": [
- {
- "referredDocuments": [
- {
- "type": {
- "issuer": "AmazeBank123456",
- "schema": "CODE",
- "value": "CINV"
}, - "documentIdentifier": "A0123456789"
}
], - "referredDocumentAmount": {
- "duePayableAmount": {
- "value": 1,
- "currency": "ZAR"
}, - "remittedAmount": {
- "value": 1,
- "currency": "ZAR"
}
}, - "creditorReference": {
- "type": {
- "issuer": "AnotherAmazeBank1234",
- "schema": "CODE",
- "value": "RADM"
}, - "reference": "ABC123XYZ999"
}, - "additionalRemittanceInformation": [
- "Some",
- "Additional",
- "Information"
]
}
]
}, - "debtor": {
- "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",
- "identification": {
- "schema": "PERSON",
- "identifiers": [
- {
- "identification": "90001236549870",
- "scheme": {
- "schema": "CODE",
- "value": "NIDN"
}, - "issuer": "Dept of Home Affairs"
}
]
}
}, - "debtorAccount": {
- "identification": {
- "schema": "GENERIC",
- "scheme": {
- "schema": "PROPRIETARY",
- "value": "AProprietaryCode123"
}, - "issuer": "Amazing Bank",
- "value": "abcdef987654"
}, - "proxy": {
- "namespace": "NeoBank",
- "schema": "MOBILE",
- "value": "+27-0214620000"
}, - "type": {
- "schema": "CODE",
- "value": "CACC"
}
}, - "debtorAgent": {
- "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"
]
}
}
}
}
}
Respond With Success
If you receive the request successfully and are able to process it, then respond with an HTTP202
status. Respond With An Error
If you experience an error while handling the request and are unable to process it, then respond with an appropriate error response.
When to Credit the Beneficiary's Account
The final status of the transaction is communicated in thestatus.outcome
field of the request. The table below indicates what action is required for the respective outcomes.Status | Financial Impact | Action |
---|---|---|
APPROVED | Yes | Credit the beneficiary's account |
CANCELLED | No | None |
PENDING | No | None |
REJECTED | No | None |