An event notification to signal that a successful token purchase was performed. This operation is for informational purposes only. Implementations that do not need to subscribe to this event may simply return an HTTP status code 501
.
A token purchase response
Array of objects (TransactionLabel) A list containing labels that can be used to discover this transaction or group it with other transactions sharing labels with the same label name and value. Transaction labels should never be used to make transaction processing decisions. | |
object (LedgerAmount) An amount object only containing value and currency, and optionally an indicator of DEBIT/CREDIT | |
object (LedgerAmount) An amount object only containing value and currency, and optionally an indicator of DEBIT/CREDIT | |
object (Amounts) Amounts which make up the transaction. Absent amounts have zero value. | |
required | object (Meter) Data associated with a prepaid utility meter |
required | object (Customer) A customer who ultimately requests a transaction be performed. |
required | object (Utility) Represents a utility with whom a meter is registered. |
utilityType | string Type of utility purchase being requested (e.g. electricity, water, gas). |
Array of objects (Token) List of tokens issued for the purchase. | |
Array of objects (DebtRecoveryCharge) List of charges that have been levied in order to reclaim outstanding debts associated with the meter. | |
Array of objects (ServiceCharge) List of service charges levied against this meter. | |
vatInvoiceNumber | string The VAT invoice number corresponding to this specific transaction. |
id required | string The randomly generated UUID identifying this transaction, as defined for a variant 4 UUID in RFC 4122 |
time required | string <date-time> The date and time of the message as recorded by the sender. The format shall be as defined for date-time in RFC 3339 section 5.6. It is recommended that the optional time-secfrac be included up to millisecond precision |
required | object (Originator) The Originator object encapsulates data relating to the originator of the transaction |
required | object (Institution) Originating, acquiring, processing, or receiving institution details |
object (Institution) Originating, acquiring, processing, or receiving institution details | |
object (Institution) Originating, acquiring, processing, or receiving institution details | |
required | Array of objects (ThirdPartyIdentifier) An array of identifiers which each identify the transaction within each entity's system. |
object (SlipData) Data that may be printed on the customer slip for information purposes | |
basketRef | string Used to group multiple transactions which would otherwise be considered independent. |
tranType | string Data relating to the type of transaction taking place (i.e. cash withdrawal, goods and services etc.). |
srcAccType | string This specifies the type of source account being used in the transaction (i.e. cheque, savings). |
destAccType | string This specifies the type of destination account being used in the transaction (i.e. cheque, savings). |
stan | string The System Trace Audit Number can be used to locate transactions across different systems. |
rrn | string This is a reference set by the original source of the transaction. |
Accepted
Bad request
Not found
Internal server error
Not implemented
Service unavailable
Gateway timeout
{- "transactionLabels": [
- {
- "name": "string",
- "value": "string"
}
], - "purchaseTotal": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "taxTotal": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "amounts": {
- "requestAmount": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "approvedAmount": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "feeAmount": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "balanceAmount": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "additionalAmounts": {
- "property1": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "property2": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}
}
}, - "meter": {
- "meterId": "string",
- "track2Data": "string",
- "serviceType": "string",
- "supplyGroupCode": "string",
- "keyRevisionNum": "string",
- "tariffIndex": "string",
- "tokenTechCode": "string",
- "algorithmCode": "string",
- "keyChangeData": {
- "newSupplyGroupCode": "string",
- "newKeyRevisionNumber": "string",
- "newTariffIndex": "string"
}
}, - "customer": {
- "firstName": "string",
- "lastName": "string",
- "address": "string",
- "dateOfBirth": "2019-08-24T14:15:22Z",
- "status": "string",
- "msisdn": "string",
- "emailAddress": "user@example.com",
- "addressDetails": {
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "region": "string",
- "country": "string",
- "postalCode": "string"
}, - "profileId": "string"
}, - "utility": {
- "name": "string",
- "address": "string",
- "vatRegNum": "string",
- "clientId": "string",
- "message": "string"
}, - "utilityType": "string",
- "tokens": [
- {
- "tokenType": "STD",
- "units": 0,
- "amount": {
- "tax": 0,
- "taxType": "string",
- "taxRate": 0,
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "receiptNum": "string",
- "token": "string",
- "tariffCalc": [
- {
- "units": 0,
- "rate": 0
}
]
}
], - "debtRecoveryCharges": [
- {
- "amount": {
- "tax": 0,
- "taxType": "string",
- "taxRate": 0,
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "description": "string",
- "balance": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "receiptNum": "string"
}
], - "serviceCharges": [
- {
- "amount": {
- "tax": 0,
- "taxType": "string",
- "taxRate": 0,
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "description": "string"
}
], - "vatInvoiceNumber": "string",
- "id": "string",
- "time": "2019-08-24T14:15:22Z",
- "originator": {
- "institution": {
- "id": "string",
- "name": "string"
}, - "terminalId": "stringst",
- "merchant": {
- "merchantType": "string",
- "merchantId": "stringstringstr",
- "merchantName": {
- "name": "string",
- "city": "string",
- "region": "st",
- "country": "st"
}
}, - "operatorId": "string",
- "channelId": "string"
}, - "client": {
- "id": "string",
- "name": "string"
}, - "settlementEntity": {
- "id": "string",
- "name": "string"
}, - "receiver": {
- "id": "string",
- "name": "string"
}, - "thirdPartyIdentifiers": [
- {
- "institutionId": "string",
- "transactionIdentifier": "string"
}
], - "slipData": {
- "messageLines": [
- {
- "barcode": {
- "data": "string",
- "encoding": "string"
}, - "text": "string",
- "fontWidthScaleFactor": 0,
- "fontHeightScaleFactor": 0,
- "line": false,
- "cut": false
}
], - "slipWidth": 0,
- "issuerReference": "string"
}, - "basketRef": "string",
- "tranType": "GOODS_AND_SERVICES",
- "srcAccType": "DEFAULT",
- "destAccType": "DEFAULT",
- "stan": "string",
- "rrn": "string"
}
{- "errorType": "DUPLICATE_RECORD",
- "errorMessage": "string",
- "requestType": "METER_LOOKUP_REQUEST",
- "id": "string",
- "originalId": "string",
- "detailMessage": { }
}