{
  "opencollection": "1.0.0",
  "info": {
    "name": "Conekta Antifraud Payment Methods API",
    "version": "2.2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Payment Methods",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Payment Methods",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.conekta.io/customers/:id/payment_sources",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "X-Child-Company-Id",
                "value": "6441b6376b60c3a638da80af"
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "6307a60c41de27127515a575",
                "type": "path",
                "description": "Identifier of the resource"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The numbers of items to return, the maximum value is 250"
              },
              {
                "name": "next",
                "value": "",
                "type": "query",
                "description": "next page"
              },
              {
                "name": "previous",
                "value": "",
                "type": "query",
                "description": "previous page"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "General order search, e.g. by mail, reference etc."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a list of Payment Methods"
        },
        {
          "info": {
            "name": "Create Payment Method",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.conekta.io/customers/:id/payment_sources",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "X-Child-Company-Id",
                "value": "6441b6376b60c3a638da80af"
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "6307a60c41de27127515a575",
                "type": "path",
                "description": "Identifier of the resource"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a payment method for a customer."
        },
        {
          "info": {
            "name": "Update Payment Method",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.conekta.io/customers/:id/payment_sources/:payment_method_id",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "X-Child-Company-Id",
                "value": "6441b6376b60c3a638da80af"
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "6307a60c41de27127515a575",
                "type": "path",
                "description": "Identifier of the resource"
              },
              {
                "name": "payment_method_id",
                "value": "src_2tQ974hSHcsdeSZHG",
                "type": "path",
                "description": "Identifier of the payment method"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a payment Method that corresponds to a customer ID."
        },
        {
          "info": {
            "name": "Delete Payment Method",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.conekta.io/customers/:id/payment_sources/:payment_method_id",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "X-Child-Company-Id",
                "value": "6441b6376b60c3a638da80af"
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "6307a60c41de27127515a575",
                "type": "path",
                "description": "Identifier of the resource"
              },
              {
                "name": "payment_method_id",
                "value": "src_2tQ974hSHcsdeSZHG",
                "type": "path",
                "description": "Identifier of the payment method"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete an existing payment method"
        }
      ]
    }
  ],
  "bundled": true
}