This operation is identical to the purchase operation except that no voucher is returned (for voucher based products) or no product will be applied to the MSISDN (for direct top-ups). This operation carries no financial impact. The purpose of the operation is to determine whether it is worth proceeding to a tender step, i.e. is a subsequent purchase likely to to be successful (in which case the downstream should move to the tender step) or fail (in which case the downstream should not take tender).
An airtime request.
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. | |
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. |
object (Amounts) Amounts which make up the transaction. Absent amounts have zero value. | |
required | object (Product) Product related data. |
Array of objects (Tender) An array of tenders used to pay for the transaction. This is used if payment is tendered at the point of sale. A Tender differs from a PaymentMethod in that the former represents a payment that has already been collected at the point of sale, whereas the latter represents a payment that still needs to be collected from a third party. | |
Array of objects (PaymentMethod) An array of payment methods to be used as payment for the transaction. This is used if payment is not tendered at the point of sale, but is effected through one or more calls to third party payment providers as part of the request. A PaymentMethod differs from a Tender in that the former represents payment that still needs to be collected from a third party, whereas the latter represents payment that has already been collected at the point of sale. | |
object (Msisdn) Msisdn related data. | |
object (Msisdn) Msisdn related data. |
OK
Bad request
Internal server error
Service unavailable
Gateway timeout
{- "transactionLabels": [
- {
- "name": "string",
- "value": "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",
- "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"
}
}
}, - "product": {
- "isDirectTopup": false,
- "productId": "string",
- "barcode": "string",
- "name": "string",
- "description": {
- "additionalDescriptions": {
- "property1": "string",
- "property2": "string"
}, - "primaryDescription": "string",
- "shortDescription": "string"
}, - "type": "AIRTIME_FIXED",
- "wholesalePrice": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "recipientAmount": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "productValues": [
- {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}
], - "validityPeriod": {
- "duration": 0,
- "durationUnit": "NANOS"
}, - "productContents": [
- {
- "amount": 0,
- "unit": "KB"
}
], - "operator": {
- "id": "string",
- "name": "string"
}, - "channels": [
- {
- "channelName": "string",
- "productDisplayName": "string",
- "productDisplayCategory": "string",
- "productDisplaySortOrder": 0,
- "channelProductIdentifier": "string"
}
]
}, - "tenders": [
- {
- "accountType": "DEFAULT",
- "amount": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "cardNumber": "string",
- "reference": "string",
- "tenderType": "CASH"
}
], - "paymentMethods": [
- {
- "type": "AN_32_TOKEN",
- "name": "string",
- "amount": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "issuer": {
- "id": "string",
- "name": "string"
}, - "pin": {
- "type": "CLEAR_PIN"
}, - "proxy": "string",
- "proxyType": "MSISDN"
}
], - "recipientMsisdn": {
- "msisdn": "string",
- "country": "st",
- "operator": {
- "id": "string",
- "name": "string"
}
}, - "senderMsisdn": {
- "msisdn": "string",
- "country": "st",
- "operator": {
- "id": "string",
- "name": "string"
}
}
}
{- "transactionLabels": [
- {
- "name": "string",
- "value": "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",
- "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"
}
}
}, - "product": {
- "isDirectTopup": false,
- "productId": "string",
- "barcode": "string",
- "name": "string",
- "description": {
- "additionalDescriptions": {
- "property1": "string",
- "property2": "string"
}, - "primaryDescription": "string",
- "shortDescription": "string"
}, - "type": "AIRTIME_FIXED",
- "wholesalePrice": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "recipientAmount": {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}, - "productValues": [
- {
- "amount": 0,
- "currency": "string",
- "ledgerIndicator": "DEBIT"
}
], - "validityPeriod": {
- "duration": 0,
- "durationUnit": "NANOS"
}, - "productContents": [
- {
- "amount": 0,
- "unit": "KB"
}
], - "operator": {
- "id": "string",
- "name": "string"
}, - "channels": [
- {
- "channelName": "string",
- "productDisplayName": "string",
- "productDisplayCategory": "string",
- "productDisplaySortOrder": 0,
- "channelProductIdentifier": "string"
}
]
}, - "msisdn": {
- "msisdn": "string",
- "country": "st",
- "operator": {
- "id": "string",
- "name": "string"
}
}, - "voucher": {
- "pin": "string",
- "expiryDate": "2019-08-24T14:15:22Z",
- "serialNumber": "string",
- "batchNumber": "string",
- "redeemInstructions": [
- "string"
]
}
}