{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tratta Bulk Operations Payment Methods API",
    "version": "v1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Payment Methods",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Payment Methods",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{org-uuid}.production.tratta.io/api/v1/payment_methods",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of records per page (1-500)"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination"
              }
            ]
          },
          "docs": "Returns a list of stored payment methods."
        },
        {
          "info": {
            "name": "Create Payment Method",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{org-uuid}.production.tratta.io/api/v1/payment_methods",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a standalone payment method that can be used for future charges. Supports card and bank account payment types."
        },
        {
          "info": {
            "name": "Get Payment Method",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{org-uuid}.production.tratta.io/api/v1/payment_methods/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource unique identifier"
              }
            ]
          },
          "docs": "Returns a single payment method by ID."
        },
        {
          "info": {
            "name": "Delete Payment Method",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{org-uuid}.production.tratta.io/api/v1/payment_methods/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource unique identifier"
              }
            ]
          },
          "docs": "Deletes a stored payment method."
        }
      ]
    }
  ],
  "bundled": true
}