{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ekspres Przelewy24 REST API Documentation Additional API functionality Card API API",
    "version": "1.0.6"
  },
  "items": [
    {
      "info": {
        "name": "Card API",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Card info",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.przelewy24.pl/api/v1/card/info/:orderId",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "An unique order ID."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "The method generates information about specific payment card based on previous payment. Including reference number to charge card without CVV authorisation."
        },
        {
          "info": {
            "name": "Charge card with 3DS",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.przelewy24.pl/api/v1/card/chargeWith3ds",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "The method allows to charge a card based on the reference number."
        },
        {
          "info": {
            "name": "Charge card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.przelewy24.pl/api/v1/card/charge",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "The method allows to charge a card based on the reference number."
        },
        {
          "info": {
            "name": "Card Payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.przelewy24.pl/api/v1/card/pay",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Method is used for charging customer's card. Method directly sends card details. To use the method, the merchant must have PCI DSS certificate."
        },
        {
          "info": {
            "name": "Reject transaction",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://sandbox.przelewy24.pl/api/v1/transaction/reject",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Method allows to reject an authorised transaction."
        }
      ]
    }
  ],
  "bundled": true
}