{
  "opencollection": "1.0.0",
  "info": {
    "name": "Prestmit Partner Bank Accounts Gift Cards - Buy API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Gift Cards - Buy",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get buy configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.prestmit.io/api/partners/v1/giftcard/trade/buy/config"
          },
          "docs": "Get buy configuration"
        },
        {
          "info": {
            "name": "Calculate payment totals for a purchase",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.prestmit.io/api/partners/v1/giftcard/trade/buy/calculate-payment"
          },
          "docs": "Calculate payment totals for a purchase"
        },
        {
          "info": {
            "name": "Place a gift card purchase order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.prestmit.io/api/partners/v1/giftcard/trade/buy/create"
          },
          "docs": "Place a gift card purchase order"
        },
        {
          "info": {
            "name": "Poll crypto payment status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.prestmit.io/api/partners/v1/giftcard/trade/buy/crypto-payment-status/:reference",
            "params": [
              {
                "name": "reference",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Poll crypto payment status"
        },
        {
          "info": {
            "name": "Retrieve purchased gift card codes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.prestmit.io/api/partners/v1/giftcard/trade/buy/fetch-codes/:reference",
            "params": [
              {
                "name": "reference",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve purchased gift card codes"
        },
        {
          "info": {
            "name": "List gift card purchase history",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.prestmit.io/api/partners/v1/giftcard/trade/buy/history"
          },
          "docs": "List gift card purchase history"
        }
      ]
    }
  ],
  "bundled": true
}