real API · real redirect · real webhook
Developer checkout example
This storefront calls Veil's developer API with a dedicated example account and key. It is completely separate from every real business. The customer completes the production verification, payer-code, payment, redirect, and webhook flow, then receives a full refund.
1 · Create checkout
When supplied, the payer still completes the refundable verification but never has to enter their username.
2 · Exact API request
POST https://veilyourfirm.com/api/v1/checkouts
Authorization: Bearer $VEIL_API_KEY
Content-Type: application/json
{
"amount": "3.01",
"reference": "developer-demo-1001",
"payerName": "OptionalMinecraftName",
"expiresInMinutes": 15,
"redirectUrl": "https://veilyourfirm.com/example"
}
The browser never receives the example account's API key. This page asks its backend to make the authenticated request.
What happens next
1
Customer verifies MinecraftA random refundable amount proves the initiating UUID.
2
Customer types the payer codeThe example returns a four-digit code; two randomized decoys appear beside it.
3
After verification, the customer sends the paymentOnce Minecraft and the payer code are verified, the customer sends the exact checkout amount to veil. Veil detects it and automatically refunds the full amount to the verified player.
4
Return to this original pageThis page verifies
veil_sig, marks the payment received, and displays delivered webhook events.