Status: v1.0.0
P2P Module

Received Requests

Manage and track money requests sent to you by other users. This section covers viewing incoming requests and taking actions like approval or rejection.


POST

Respond to Request

Take action on a pending money request. Approving will instantly transfer the funds from your wallet to the requester.

Endpoint

http://shield-pay.adhameldouh.com/api/v1/money-request/respond

Request Body

Param Required
request_id YES
status YES (approved / declined)
ipin Required for approve

JSON Response

{
    "success": true,
    "message": "Request approved and amount transferred successfully",
}
GET

View Money Received

Retrieve a list of all money requests sent to you by other users, including their amount and current status.

Endpoint

http://shield-pay.adhameldouh.com/api/v1/money-request/received

Header Requirement

Auth Bearer {TOKEN}

JSON Response

200 OK
{
    "success": true,
    "message": Received requests retrieved successfully,
    "total_pending": "1",
    "data": [
        {
        "request_id": 1,
        "amount": "500.00",
        "note": "Send the food bill.",
        "status": "pending"
        "created_at": "2024-01-01",
        "sender_name": "Adham ELdouh",
        "sender_phone": "01015013191",
        }
    ]
}