How a payment works
1
Your server creates a payment
One call to the API with the amount and your order id. You get back a hosted checkout URL.
2
The customer pays from their wallet
You send them to the checkout. They pick a wallet, approve the payment, and the USDC moves from their wallet to your settlement wallet.
3
Paywit confirms it on-chain
Paywit marks the payment paid when the funds arrive in your wallet.
4
Your server gets a webhook
A signed
payment.paid event with your order id. You fulfil the order.Quickstart
Create and pay a test payment.
API reference
Every endpoint, request and response.
Paywit is on sandbox today, on the Stellar testnet with test USDC. Mainnet is coming, and your integration will not change.