Better splits as your 30-day volume grows.
Define revenue tiers based on cumulative 30-day transaction volume. When a merchant's rolling revenue crosses a threshold, the active split configuration upgrades automatically. Ideal for volume-based fee schedules.
Revenue threshold (GHS)
Revenue threshold (GHS)
# 1. Create rule
curl -X POST https://ocuula.com/api/v1/rules \
-H "Authorization: Bearer <apiKey>" \
-H "Content-Type: application/json" \
-d '{
"merchantId": "<merchantId>",
"name": "My Rule",
"configuration": {
"ruleType": "TIERED_SPLIT",
"tiers": [
{
"thresholdInPesewas": 0,
"splits": [
{
"recipientType": "MOMO",
"destination": "0241234567",
"value": 70
},
{
"recipientType": "MOMO",
"destination": "0551234567",
"value": 30
}
]
},
{
"thresholdInPesewas": 500,
"splits": [
{
"recipientType": "MOMO",
"destination": "0241234567",
"value": 60
},
{
"recipientType": "MOMO",
"destination": "0551234567",
"value": 40
}
]
}
]
}
}'
# 2. Trigger split
curl -X POST https://ocuula.com/api/v1/split \
-H "Authorization: Bearer <apiKey>" \
-H "Content-Type: application/json" \
-d '{
"routingRuleId": "<ruleId>",
"amountInPesewas": 100
}'Amount (GHS)