Console
Checking API

Make a test payment

Send a real testnet transaction through @kwespay/client.

KwesPay account
Use your API key and Vendor ID
Wallet
No wallet connected
Pay withBase Sepolia
$
You pay
—
KwesPay fee
—
Network fee
Paid in ETH
Start by connecting your KwesPay account.1 / 3
Live resultIdle
No payment yet

Choose an amount and send a test payment. Your transaction progress will appear here.

checkout.ts15 lines
1import { KwesPayClient } from "@kwespay/client";
2
3const kwespay = new KwesPayClient({
4 apiKey: "YOUR_API_KEY",
5 graphqlEndpoint: "https://api.testnet.kwespay.xyz/graphql",
6});
7
8const payment = await kwespay.quote({
9 vendorIdentifier: "YOUR_VENDOR_ID",
10 fiatAmount: 10,
11 fiatCurrency: "USD",
12 cryptoCurrency: "USDC",
13 network: "baseSepolia",
14 payerWalletAddress: customerAddress,
15});
16
17const { txHash } = await kwespay.pay({ provider: window.ethereum, payload: payment });
18
19const { transactionStatus } = await kwespay.pollTransactionStatus(payment.transactionReference);