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

Digital wallets · Global

Accept Google Pay payments

Tokenised card payments from Android and Chrome, with the same settlement as the underlying card.

The facts

How Google Pay behaves on the rail.

Flow
App switch
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 "google_pay" 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":"google_pay","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":"google_pay","token":"tok_..."},"return_url":"https://merchant.example/return"}'

Talk to us about enabling Google Pay.

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