{
  "info": {
    "name": "PayByLink API",
    "_postman_id": "b9b6b125-1b3f-4b8f-a1cc-2025-09-11",
    "description": "Standard payments and BLIK white-label",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "Create Payment Link",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "https://secure.paybylink.pl/api/v1/transfer/generate",
          "protocol": "https",
          "host": [
            "secure",
            "paybylink",
            "pl"
          ],
          "path": [
            "api",
            "v1",
            "transfer",
            "generate"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"shopId\": 1234,\n  \"price\": 29.7,\n  \"control\": \"order-123\",\n  \"description\": \"Example order\",\n  \"email\": \"user@example.com\",\n  \"notifyURL\": \"https://example.com/pbl/notify\",\n  \"returnUrlSuccess\": \"https://example.com/thank-you\",\n  \"signature\": \"REPLACE_WITH_SIGNATURE\"\n}"
        }
      }
    },
    {
      "name": "Cancel Transaction",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "https://secure.paybylink.pl/api/v1/transfer/cancel",
          "protocol": "https",
          "host": [
            "secure",
            "paybylink",
            "pl"
          ],
          "path": [
            "api",
            "v1",
            "transfer",
            "cancel"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"shopId\": 1234,\n  \"transactionId\": \"REPLACE_TID\",\n  \"customReason\": \"Customer requested cancellation\",\n  \"signature\": \"REPLACE_WITH_SIGNATURE\"\n}"
        }
      }
    },
    {
      "name": "BLIK White-label Auth",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "https://secure.paybylink.pl/api/v1/transfer/blikauth",
          "protocol": "https",
          "host": [
            "secure",
            "paybylink",
            "pl"
          ],
          "path": [
            "api",
            "v1",
            "transfer",
            "blikauth"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"shopId\": 1234,\n  \"price\": 1.01,\n  \"code\": \"123456\",\n  \"customerIP\": \"203.0.113.10\",\n  \"control\": \"order-123\",\n  \"notifyPaymentURL\": \"https://example.com/pbl/payment\",\n  \"notifyStatusURL\": \"https://example.com/pbl/blik-status\",\n  \"signature\": \"REPLACE_WITH_SIGNATURE\"\n}"
        }
      }
    }
  ]
}