Paste this into any website. It renders a “Pay with crypto” button wired to this client.
We POST a signed event to your URL on payment.confirmed and payment.refunded. Verify x-cryptopay-signature (HMAC-SHA256).
payment.confirmed
payment.refunded
x-cryptopay-signature
Tracks the fields from your setup guide: date received, customer, crypto received, USD value at receipt, wallet transaction ID, conversion/refund.
Send the ERC-20 tokens back to the customer. Defaults to the payer's address.