{
  "opencollection": "1.0.0",
  "info": {
    "name": "BookingEngineApi Account notes Credit cards API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Credit cards",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all credit cards",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mews.com/api/connector/v1/creditCards/getAll",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns all credit cards, possibly filtered by identifiers, [Customers](https://mews-systems.gitbook.io/connector-api/operations/customers/#customer) or other filters.\nNote this operation uses [Pagination](https://mews-systems.gitbook.io/connector-api/guidelines/pagination/) and supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property)."
        },
        {
          "info": {
            "name": "Add tokenized credit card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mews.com/api/connector/v1/creditCards/addTokenized",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds a new tokenized credit card to the specified customer. To be able to use this operation special permission has to be granted during certification. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/)."
        },
        {
          "info": {
            "name": "Charge credit card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mews.com/api/connector/v1/creditCards/charge",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates payment for specified customer credit card and charges the credit card via a gateway. Note that the kind of the card has to be `Gateway`."
        },
        {
          "info": {
            "name": "Disable gateway credit card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mews.com/api/connector/v1/creditCards/disable",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Disable an existing credit card in the system. Only gateway credit cards can be disabled. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/)."
        }
      ]
    }
  ],
  "bundled": true
}