{
  "opencollection": "1.0.0",
  "info": {
    "name": "Configuration alertRules paymentMethods API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "paymentMethods",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a list of payment methods",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://test.api.solvimon.com/v:version/payment-methods",
            "headers": [
              {
                "name": "X-API-KEY",
                "value": ""
              },
              {
                "name": "x-platform-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "version"
              },
              {
                "name": "customer_id",
                "value": "",
                "type": "query",
                "description": "The customer ID."
              },
              {
                "name": "integration_id",
                "value": "",
                "type": "query",
                "description": "The integration ID."
              },
              {
                "name": "integration_payment_method_reference",
                "value": "",
                "type": "query",
                "description": "The integration payment method reference."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The amount of records shown in the list."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page which is going to be shown."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "The parameter by which the response is ordered."
              },
              {
                "name": "order_direction",
                "value": "",
                "type": "query",
                "description": "The order direction by which the response is ordered."
              }
            ]
          },
          "docs": "Requires the PAYMENT_METHOD.VIEW permission."
        },
        {
          "info": {
            "name": "Create a payment method",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://test.api.solvimon.com/v:version/payment-methods",
            "headers": [
              {
                "name": "X-API-KEY",
                "value": ""
              },
              {
                "name": "x-platform-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "version"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Requires the PAYMENT_METHOD.CREATE permission."
        },
        {
          "info": {
            "name": "Update or create a payment method (upsert)",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://test.api.solvimon.com/v:version/payment-methods",
            "headers": [
              {
                "name": "X-API-KEY",
                "value": ""
              },
              {
                "name": "x-platform-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "version"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Requires the PAYMENT_METHOD.CREATE or PAYMENT_METHOD.UPDATE permission."
        },
        {
          "info": {
            "name": "Get a payment method",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://test.api.solvimon.com/v:version/payment-methods/:resourceIdOrReference",
            "headers": [
              {
                "name": "X-API-KEY",
                "value": ""
              },
              {
                "name": "x-platform-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "version"
              },
              {
                "name": "resourceIdOrReference",
                "value": "",
                "type": "path",
                "description": "The ID or reference of the resource."
              }
            ]
          },
          "docs": "Requires the PAYMENT_METHOD.VIEW permission."
        },
        {
          "info": {
            "name": "Update a payment method",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://test.api.solvimon.com/v:version/payment-methods/:resourceIdOrReference",
            "headers": [
              {
                "name": "X-API-KEY",
                "value": ""
              },
              {
                "name": "x-platform-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "version"
              },
              {
                "name": "resourceIdOrReference",
                "value": "",
                "type": "path",
                "description": "The ID or reference of the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Requires the PAYMENT_METHOD.UPDATE permission."
        },
        {
          "info": {
            "name": "Refresh the payment methods of a customer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://test.api.solvimon.com/v:version/payment-methods/refresh",
            "headers": [
              {
                "name": "X-API-KEY",
                "value": ""
              },
              {
                "name": "x-platform-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "version"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Requires the PAYMENT_METHOD.UPDATE permission."
        },
        {
          "info": {
            "name": "Tokenize a payment method",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://test.api.solvimon.com/v:version/payment-methods/tokenize",
            "headers": [
              {
                "name": "X-API-KEY",
                "value": ""
              },
              {
                "name": "x-platform-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "version"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Requires the PAYMENT_METHOD.CREATE permission."
        }
      ]
    }
  ],
  "bundled": true
}