Read account configuration

GET/payment-methods.php
Terminal
curl "https://circus-pay.com/api/payment-methods.php" \
  -H "Authorization: Bearer $CIRCUSPAY_SECRET_KEY"

The response includes methods. For each entry, inspect id, enabled, available, currencies and unavailableReason. Final availability also depends on the selected processing flow.

Restrict a checkout

JSON
{
  "paymentMethods": ["card", "blik"]
}

BLIK-only example

POST/checkout/create.php
Terminal
curl "https://circus-pay.com/api/checkout/create.php" \
  -H "Authorization: Bearer $CIRCUSPAY_SECRET_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "amount": 15000,
  "currency": "PLN",
  "productName": "Commande BLIK",
  "orderId": "BLIK-DEMO-001",
  "paymentMethods": [
    "blik"
  ]
}'

The account must allow BLIK and the selected flow must support PLN. To add cards, use ["blik", "card"].

Catalog identifiers

ParameterDescription
card / applepay / googlepayCards and wallets. Compatibility depends on your configuration and the customer's device.
blikPLN
p24PLN, EUR
ideal / bancontact / epsEUR
twintCHF
multibanco / mb_way / satispayEUR
klarnaDepends on currencies and account activation.
sepaEUR · incoming bank transfer; not a SEPA direct debit.
achUSD · incoming bank transfer.
cryptoAvailability, assets and networks depend on your account.

Redirect payments

Let the checkout handle redirecting to the bank or provider and the return. Your store then receives server confirmation; an URL parameter or browser return must not be treated as proof of success.