Quickstart β your first payment in 10 minutes
By the end you'll have: a sandbox account, a paylink created via API, a test payment, and a verified webhook delivery.
- Create a merchant account at dashboard.zyndpay.io and generate a sandbox API key.
- Install your SDK of choice (or use cURL).POST /v1/paylinks
curl -X POST https://api.zyndpay.io/v1/paylinks \ -H "Authorization: Bearer zpk_sandbox_XXX" \ -H "x-zyndpay-sandbox: true" \ -H "Content-Type: application/json" \ -d '{ "amount": "10.00", "currency": "USDT", "description": "Quickstart test", "customer_email": "[email protected]" }' - Create a paylink. The response contains a hosted checkout URL.
- Open the URL in a browser β sandbox mode auto-fills a test customer.
- Point ngrok at a local endpoint and register it as the webhook URL. Verify the signature using the snippet in the Webhooks page.
That's it. Flip to a live API key and remove x-zyndpay-sandbox to go to production.