{
  "opencollection": "1.0.0",
  "info": {
    "name": "Conekta Antifraud Customers API",
    "version": "2.2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Customers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a list of customers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.conekta.io/customers",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "X-Child-Company-Id",
                "value": "6441b6376b60c3a638da80af"
              }
            ],
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The numbers of items to return, the maximum value is 250"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "General order search, e.g. by mail, reference etc."
              },
              {
                "name": "next",
                "value": "",
                "type": "query",
                "description": "next page"
              },
              {
                "name": "previous",
                "value": "",
                "type": "query",
                "description": "previous page"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "The purpose of business is to create and maintain a client, you will learn what elements you need to obtain a list of clients, which can be paged."
        },
        {
          "info": {
            "name": "Create customer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.conekta.io/customers",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "X-Child-Company-Id",
                "value": "6441b6376b60c3a638da80af"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "The purpose of business is to create and keep a customer, you will learn what elements you need to create a customer.\nRemember the credit and debit card tokenization process: [https://developers.conekta.com/page/web-checkout-tokenizer](https://developers.conekta.com/page/web-checkout-tokenizer)\n"
        },
        {
          "info": {
            "name": "Get Customer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.conekta.io/customers/: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"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a customer resource that corresponds to a customer ID."
        },
        {
          "info": {
            "name": "Update customer",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.conekta.io/customers/: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"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "You can update customer-related data"
        },
        {
          "info": {
            "name": "Delete Customer",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.conekta.io/customers/: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"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deleted a customer resource that corresponds to a customer ID."
        },
        {
          "info": {
            "name": "Create Fiscal Entity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.conekta.io/customers/:id/fiscal_entities",
            "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 Fiscal entity resource that corresponds to a customer ID."
        },
        {
          "info": {
            "name": "Update  Fiscal Entity",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.conekta.io/customers/:id/fiscal_entities/:fiscal_entities_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": "fiscal_entities_id",
                "value": "fis_ent_2tQ8HkkfbauaKP9Ho",
                "type": "path",
                "description": "identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update Fiscal Entity resource that corresponds to a customer ID."
        }
      ]
    }
  ],
  "bundled": true
}