{
  "item": [
    {
      "id": "ed3adb09-9888-44d9-9747-4e00636fafbb",
      "name": "Submit Beneficiary Data",
      "request": {
        "description": {
          "content": "Receives and processes beneficiary data submitted from external systems.",
          "type": "text/plain"
        },
        "url": {
          "path": [
            "api",
            "beneficiaries"
          ],
          "host": [
            "{{baseUrl}}"
          ],
          "query": [],
          "variable": []
        },
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "method": "POST",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"example_id\",\n  \"name\": \"example_name\",\n  \"role\": \"Host Institution\",\n  \"phoneNumber\": \"example_phoneNumber\",\n  \"email\": \"user@example.com\",\n  \"amountToBeDisbursed\": 100\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": [],
      "event": []
    },
    {
      "id": "8054d544-cc93-4edc-bf41-e54b0a153732",
      "name": "Get M-Pesa Auth Token",
      "request": {
        "description": {
          "content": "Generates and returns a new M-Pesa API access token.",
          "type": "text/plain"
        },
        "url": {
          "path": [
            "api",
            "mpesa",
            "auth"
          ],
          "host": [
            "{{baseUrl}}"
          ],
          "query": [],
          "variable": []
        },
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "method": "GET",
        "body": {}
      },
      "response": [],
      "event": []
    },
    {
      "id": "3375e3c6-0282-4cf6-a443-4eed15b8daa3",
      "name": "Initiate M-Pesa B2C Payment",
      "request": {
        "description": {
          "content": "Sends a B2C payment to a specified phone number.",
          "type": "text/plain"
        },
        "url": {
          "path": [
            "api",
            "mpesa",
            "b2c"
          ],
          "host": [
            "{{baseUrl}}"
          ],
          "query": [],
          "variable": []
        },
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "method": "POST",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"amount\": 100,\n  \"phoneNumber\": \"254708374149\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": [],
      "event": []
    },
    {
      "id": "62ae9dff-61d4-4650-b6d4-2e0584098d3c",
      "name": "M-Pesa B2C Callback",
      "request": {
        "description": {
          "content": "Callback endpoint for Safaricom M-Pesa to post B2C transaction results.",
          "type": "text/plain"
        },
        "url": {
          "path": [
            "b2c_callback_response"
          ],
          "host": [
            "{{baseUrl}}"
          ],
          "query": [],
          "variable": []
        },
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "method": "POST",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"Result\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": [],
      "event": []
    }
  ],
  "event": [],
  "variable": [],
  "info": {
    "_postman_id": "262e62eb-f8af-495a-9547-8ae9ba7405f8",
    "name": "PayEase Portal API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": {
      "content": "API for managing beneficiaries and processing payments.",
      "type": "text/plain"
    }
  }
}