{
  "opencollection": "1.0.0",
  "info": {
    "name": "Togai Apis Accounts Payments API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Payments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Payments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.togai.com/payments",
            "params": [
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Pagination token used as a marker to get records from next page."
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Maximum page size expected by client to return the record list. \n\n NOTE: Max page size cannot be more than 50. Also 50 is the default page size if no value is provided."
              }
            ]
          },
          "docs": "List all payments"
        },
        {
          "info": {
            "name": "Create Payments",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.togai.com/payments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "create payments"
        },
        {
          "info": {
            "name": "Get a Payment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.togai.com/payments/:payment_id",
            "params": [
              {
                "name": "payment_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "version",
                "value": "",
                "type": "query",
                "description": "Optional version to get a specific version. Gets latest version if it is not provided."
              }
            ]
          },
          "docs": "Get payment"
        }
      ]
    }
  ],
  "bundled": true
}