Prerequisites
- Complete merchant activation in the MasterID app.
- Generate API credentials from the Developer Console and note the Merchant ID.
- Ensure the payer mobile number is supported for Ugandan MTN or Airtel mobile money.
Collection constraints
Initiate a collection
Send aPOST /collections request with an Idempotency-Key header. The request runs against your authenticated workspace merchant account. If the Merchant ID does not match your workspace, the request is rejected with 403.
Track collection status
Use thereference from the creation response to poll or correlate webhooks.
Poll:
GET /collections/{reference}.
Event: collection.completed is delivered to your configured webhook URL.
Read responses include amount_ugx and completed_at for completed collections.
Settlement and withdrawals
Funds from successful collections become available on the next working day. Manage withdrawals in the MasterID app.Collection-specific rate limits
MasterID enforces the following limits in addition to the general API rate limit:
If you receive a
429 response, wait for the value in the Retry-After header before retrying.

