{
  "opencollection": "1.0.0",
  "info": {
    "name": "Culqi API v2 3DS Orders API",
    "version": "2.0"
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.culqi.com/v2/orders",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of records to return (max 100)."
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "Cursor - return records created before this id."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor - return records created after this id."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List orders"
        },
        {
          "info": {
            "name": "Create an order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.culqi.com/v2/orders",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a payment order used by asynchronous methods such as PagoEfectivo (generates a CIP code) and bank transfers. amount is an integer in the currency minor unit."
        },
        {
          "info": {
            "name": "Retrieve an order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.culqi.com/v2/orders/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique resource identifier."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve an order"
        },
        {
          "info": {
            "name": "Update order metadata",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.culqi.com/v2/orders/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique resource identifier."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update order metadata"
        },
        {
          "info": {
            "name": "Delete an order",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.culqi.com/v2/orders/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique resource identifier."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete an order"
        },
        {
          "info": {
            "name": "Confirm an order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.culqi.com/v2/orders/confirm",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Confirms an order, generating the payment instrument (e.g. PagoEfectivo CIP) for the customer."
        }
      ]
    }
  ],
  "bundled": true
}