Skip to content
Sandbox open: magic test cards, hosted checkout and signed webhooks · 55 payment methods in the catalogue, cards to crypto · Built and hosted in the EEA · Read the API reference at /developers

Sandbox open: magic test cards, hosted checkout and signed webhooks

Cards · Global

Accept Visa payments

Credit, debit and prepaid Visa cards, with 3-D Secure 2, network tokens and the Visa dispute monitoring programme handled for you.

The facts

How Visa behaves on the rail.

Flow
Hosted fields
Direction
Pull — you request the funds
Settlement
T+1 to T+2
Refunds
Full and partial
Recurring
Supported
Currencies
EUR, USD, GBP, PLN
Regions
Global

In code

One request, this method.

Set payment_method.type to "card" and the same payment object, events and portal apply.

# 1. Tokenise (hosted fields do this in the browser; the sandbox tokenizer stands in for a test)
curl https://cleared-pay.com/api/v1/sandbox/tokens \
  -H "Authorization: Bearer cp_sk_test_..." -H "Content-Type: application/json" \
  -d '{"type":"card","number":"4242424242424242","exp_month":12,"exp_year":2031,"cvc":"123"}'

# 2. Create the payment with the token
curl https://cleared-pay.com/api/v1/payments \
  -H "Authorization: Bearer cp_sk_test_..." -H "Content-Type: application/json" \
  -H "Idempotency-Key: 6d2e4a1c-8f7b-4a9d-b3c5-2e1f0a9b8c7d" \
  -d '{"amount":2000,"currency":"eur","reference":"ORDER-10432","payment_method":{"type":"card","token":"tok_..."},"return_url":"https://merchant.example/return"}'

Talk to us about enabling Visa.

Tell us the markets, volumes and currencies, and we will say what we can do and when.