Skip to main content

Handle Top-Up Action API

Overview

Allows Super Admin to approve or reject a pending wallet top-up request.

  • Endpoint: /api/wallet/request-action
  • Method: POST

Request Body Schema

FieldTypeRequiredDescription
requestIdString (UUID)YesTop-Up Request ID
actionEnumYesAPPROVE or REJECT
remarksStringNoAdmin review notes

Request Body Example

{
"requestId": "top_77665544",
"action": "APPROVE",
"remarks": "Approved by Super Admin"
}

Response Example (200 OK)

{
"success": true,
"data": {
"requestId": "top_77665544",
"status": "APPROVED",
"walletBalanceAfter": 829840.00
},
"message": "Top-up request approved and wallet credited successfully"
}