curl --request POST \
--url https://paysim.beem.africa/ \
--header 'Content-Type: application/json' \
--data '
{
"network_name": "tigotz",
"subscriber_msisdn": "255673089337",
"paybill_number": "123456789098",
"amount_collected": "105000",
"reference_number": "123455555558",
"callbackUrl": "https://your-app.example.com/payment/callback",
"mcc_network": 640,
"mnc_network": 2,
"target_currency": "TZS",
"source_currency": "TZS",
"timestamp": "2024-09-05T10:00:00.000Z",
"transaction_id": "a1b2c3d4-e5f6-4789-a012-3456789abcde"
}
'{
"transaction_id": "121w",
"successful": "true"
}Payments Collection
Bpay collection simulator
Test your payment collection callback with the Beem sandbox simulator.
POST
/
curl --request POST \
--url https://paysim.beem.africa/ \
--header 'Content-Type: application/json' \
--data '
{
"network_name": "tigotz",
"subscriber_msisdn": "255673089337",
"paybill_number": "123456789098",
"amount_collected": "105000",
"reference_number": "123455555558",
"callbackUrl": "https://your-app.example.com/payment/callback",
"mcc_network": 640,
"mnc_network": 2,
"target_currency": "TZS",
"source_currency": "TZS",
"timestamp": "2024-09-05T10:00:00.000Z",
"transaction_id": "a1b2c3d4-e5f6-4789-a012-3456789abcde"
}
'{
"transaction_id": "121w",
"successful": "true"
}Your callback URL must be publicly reachable over HTTPS. The simulator forwards each request to your endpoint via
https://paysim.beem.africa/.How to use
1
Choose a network example
Pick Tigo, Airtel, or Vodacom from the examples dropdown. Each sets the correct
network_name and mnc_network.2
Set your callback URL
Replace
callbackUrl with your publicly accessible endpoint, then click Try it.3
Verify your handler
Confirm your server returns HTTP 200 with
{ "transaction_id": "...", "successful": "true" }.Related
- Callbacks — implement your handler
- Receive payment collection callback — production callback format
Body
application/json
Response
200 - application/json
Response from your callback handler
