{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tamara Payments API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Captures",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Capture Order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tamara.co/payments/capture",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Perform a full or partial capture of an authorised order, confirming shipment or\nfulfilment of items to the customer. Status returned will be `fully_captured` or\n`partially_captured` based on the amount captured.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Refunds",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Simplified Refund",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tamara.co/payments/simplified-refund/:order_id",
            "params": [
              {
                "name": "order_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Modern refund surface that processes a partial or full refund against an order without\nrequiring the caller to specify individual capture ids.\n"
        },
        {
          "info": {
            "name": "Refund",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tamara.co/payments/refund",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Legacy refund endpoint that processes one or more refunds against named captures\nbelonging to an order. New integrations should prefer `/payments/simplified-refund/{order_id}`.\n"
        }
      ]
    }
  ],
  "bundled": true
}