{
  "opencollection": "1.0.0",
  "info": {
    "name": "Papaya Global Workforce Payments Authentication Groups API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Payment Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.papayaglobal.com/api/v1/payments/groups",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "Filter by group IDs"
              },
              {
                "name": "name",
                "value": "",
                "type": "query"
              },
              {
                "name": "description",
                "value": "",
                "type": "query"
              },
              {
                "name": "locked",
                "value": "",
                "type": "query"
              },
              {
                "name": "wallet",
                "value": "",
                "type": "query"
              },
              {
                "name": "skip",
                "value": "",
                "type": "query"
              },
              {
                "name": "take",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieve a list of payment groups with optional filtering."
        },
        {
          "info": {
            "name": "Create Payment Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.papayaglobal.com/api/v1/payments/groups",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new payment group to consolidate payment requests."
        },
        {
          "info": {
            "name": "Get Group Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.papayaglobal.com/api/v1/payments/groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve detailed information about a specific payment group."
        },
        {
          "info": {
            "name": "Update Payment Group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.papayaglobal.com/api/v1/payments/groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update details of an existing payment group."
        },
        {
          "info": {
            "name": "Delete Payment Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.papayaglobal.com/api/v1/payments/groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "clear",
                "value": "",
                "type": "query",
                "description": "Clear associated payments when deleting"
              }
            ]
          },
          "docs": "Delete a payment group and optionally clear associated payments."
        },
        {
          "info": {
            "name": "Lock Payment Group",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.papayaglobal.com/api/v1/payments/groups/:id/lock",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Lock a payment group to prevent further modifications."
        },
        {
          "info": {
            "name": "Unlock Payment Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.papayaglobal.com/api/v1/payments/groups/:id/lock",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Unlock a payment group to allow modifications."
        }
      ]
    }
  ],
  "bundled": true
}