{
  "opencollection": "1.0.0",
  "info": {
    "name": "Xendit Balance Customers API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Customers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List customers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.xendit.co/customers",
            "headers": [
              {
                "name": "api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "reference_id",
                "value": "",
                "type": "query",
                "description": "The merchant-supplied reference ID of the customer."
              }
            ]
          },
          "docs": "Retrieves the customers that match a given reference_id."
        },
        {
          "info": {
            "name": "Create a customer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.xendit.co/customers",
            "headers": [
              {
                "name": "api-version",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a customer record (individual or business) for later use with a payments endpoint. Uses the api-version header (e.g. 2020-10-31)."
        },
        {
          "info": {
            "name": "Get a customer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.xendit.co/customers/:customer_id",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path",
                "description": "The ID of the customer."
              }
            ]
          },
          "docs": "Retrieves a customer by ID. Modeled from Xendit's documented customer resource conventions."
        },
        {
          "info": {
            "name": "Update a customer",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.xendit.co/customers/:customer_id",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path",
                "description": "The ID of the customer."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a customer record. Modeled from Xendit's documented customer resource conventions."
        }
      ]
    }
  ],
  "bundled": true
}