{
  "opencollection": "1.0.0",
  "info": {
    "name": "CSG Forte REST Customers Payment Methods API",
    "version": "3.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Payment Methods",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List payment methods for a location",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.forte.net/v3/organizations/:organizationId/locations/:locationId/paymentmethods",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "customer_token",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns all stored payment method tokens for the location, optionally filtered by customer."
        },
        {
          "info": {
            "name": "Create a payment method token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.forte.net/v3/organizations/:organizationId/locations/:locationId/paymentmethods",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Tokenizes a payment method (credit card or bank account) for future use."
        }
      ]
    }
  ],
  "bundled": true
}