curl --location --request POST 'https://sandbox.paypoint.blackkonnect.io/services/blackkonnectpaypointswitch/api/airtime/transaction/top-up' \
--header 'X-ServiceAccount-ID: 123e4567-e89b-12d3-a456-426614174000' \
--header 'X-Organisation-ID: 123e4567-e89b-12d3-a456-426614174000' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"messageId": "string",
"serviceId": "string",
"requestId": "string",
"initiatorEntityReference": "string",
"initiatorId": "string",
"initiatorLocale": "string",
"topUp": {
"amount": 0,
"mobileNumber": "26772170888",
"transactionReference": "string",
"productSku": "100123",
"countryCode": "string",
"currencyCode": "string",
"accountHolderEntity": {
"entityId": "string",
"entityReferenceAccountId": "string",
"entityName": "string",
"contactNumber": "string",
"emailAddress": "string",
"entityAddress": "string",
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"zipCode": "string",
"country": "string",
"vatNumber": "string",
"firstName": "string",
"lastName": "string",
"entityProfileType": "ORGANIZATION"
},
"billPayerEntity": {
"entityId": "string",
"entityReferenceAccountId": "string",
"entityName": "string",
"contactNumber": "string",
"emailAddress": "string",
"entityAddress": "string",
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"zipCode": "string",
"country": "string",
"vatNumber": "string",
"firstName": "string",
"lastName": "string",
"entityProfileType": "ORGANIZATION"
},
"recipientEntity": {
"entityId": "string",
"entityReferenceAccountId": "string",
"entityName": "string",
"contactNumber": "string",
"emailAddress": "string",
"entityAddress": "string",
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"zipCode": "string",
"country": "string",
"vatNumber": "string",
"firstName": "string",
"lastName": "string",
"entityProfileType": "ORGANIZATION"
}
}
}'{
"code": 0,
"message": {},
"data": {},
"correlationId": "string",
"conversationId": "string",
"requestId": "string",
"initiatorId": "string",
"topUpOrderReceipt": {
"transactionId": "string",
"transactionDate": "2019-08-24T14:15:22Z",
"invoiceAmount": 0,
"faceValue": 0,
"discount": 0,
"fee": 0,
"tax": 0,
"levy": 0,
"product": {
"skuId": "string",
"productName": "string",
"faceValue": 0
},
"accountHolderEntity": {
"entityId": "string",
"entityReferenceAccountId": "string",
"entityName": "string",
"contactNumber": "string",
"emailAddress": "string",
"entityAddress": "string",
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"zipCode": "string",
"country": "string",
"vatNumber": "string",
"firstName": "string",
"lastName": "string",
"entityProfileType": "ORGANIZATION"
},
"billPayerEntity": {
"entityId": "string",
"entityReferenceAccountId": "string",
"entityName": "string",
"contactNumber": "string",
"emailAddress": "string",
"entityAddress": "string",
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"zipCode": "string",
"country": "string",
"vatNumber": "string",
"firstName": "string",
"lastName": "string",
"entityProfileType": "ORGANIZATION"
},
"topUpDetail": {
"localCurrencyAmount": 0,
"salesTaxAmount": 0,
"localCurrencyAmountExcludingTax": 0,
"destinationCurrency": "string",
"operatorTransactionId": "string",
"simInformation": {
"simNumber": "string",
"mobileNumber": "string"
},
"transactionDate": "2019-08-24T14:15:22Z",
"transactionReference": "string"
}
},
"isSuccessful": true
}