{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tillo Gift Card Balance Orders API",
    "version": "v2"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Order Digital Gift Card (Async)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.tillo.io/api/v2/digital/order",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Asynchronously orders a digital gift card. Used for brands that require asynchronous processing. Returns a status and order reference."
        },
        {
          "info": {
            "name": "Cancel Order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.tillo.io/api/v2/digital/cancel",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Cancels a pending or errored gift card order."
        },
        {
          "info": {
            "name": "Refund Order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.tillo.io/api/v2/digital/refund",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Refunds a completed gift card order. Funds are returned to the float."
        },
        {
          "info": {
            "name": "Get Order Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.tillo.io/api/v2/order-status",
            "params": [
              {
                "name": "client_request_id",
                "value": "",
                "type": "query",
                "description": "Client-supplied request ID"
              },
              {
                "name": "brand",
                "value": "",
                "type": "query",
                "description": "Brand identifier slug"
              }
            ]
          },
          "docs": "Retrieves the status of a previously placed order using the client request ID."
        }
      ]
    }
  ],
  "bundled": true
}