NetConnect API
Wallet topups

Request Wallet Top-up

Create a new top-up request for the authenticated storefront account.

Endpoint

POST /api/v1/top-ups/request

Request body

FieldTypeRequiredNotes
amountnumberYesMust be greater than 0 and at least 10
paymentMethod"MomoPay" or "Momo"YesRequested payment channel

Business rules

  • only Agent and SuperAgent profiles can request wallet top-ups
  • a second processing top-up request is blocked until the existing one resolves
  • requests are inserted as Top-Up transactions with channel: "API"

Response

Returns the top-up transaction record when created:

{
  "success": true,
  "data": {
    "_id": "v123...",
    "_creationTime": 1234567890123,
    "userProfileId": "usr456",
    "amount": 150,
    "channel": "MomoPay",
    "status": "Pending",
    "reference": "TU20240331123456"
  }
}

Response fields

FieldTypeNotes
_idtxns idTransaction record ID
_creationTimenumberCreation timestamp (unix ms)
userProfileIduserProfiles idRequest owner
amountnumberGHS amount requested
channelstringPayment method (MomoPay or Momo)
statusstringPending initially, transitions to Approved or Rejected
referencestringTransaction reference code

Errors

  • 403 - Insufficient permissions (not Agent/SuperAgent)
  • 400 - Invalid amount (must be >= 10)
  • 429 - Another top-up request already in progress

On this page