Icone PayDocsQuickstart
Create an app, grab an API key, and take your first payment.
Create an App
In the dashboard, create an App for your business and add at least one Route — the channel that holds your webhook URL (where we notify you) and return URL (where customers land after paying). Enable the payment methods you want to offer under Settings → Payment Methods.
Get Your API Key
Each route has its own API key. You send it as the x-api-key header on every request. Keep it server-side — never expose it in client code.
Initialize a Payment
Send the order to POST /api/init-payment. The response contains a hosted checkout url.
Redirect and Confirm
Redirect the customer to url. When they finish, we POST a signed webhook to your route's webhook URL and send the customer to your successUrl. Verify the signature (see Verifying Webhooks) and mark the order paid.
Test it first