Skip to main content

API integration into web app

Follow these steps to integrate Paylora API into your web app.
1

Generate API key

Click Generate New Key, and put url address of your website into field than click save
Screenshot of a api key creation page
2

Integrate invoice api into your web app

Use create invoice endpoint to add this as your button handlerFor get token list use get tokens endpointNetwork type is
React.js sample
After click user will redirected into checkout page.
3

Checkout

Checkout page where user can connect wallet and pay. See crypto wallet guide
Screenshot of checkout page

Webhook integration

Webhooks allow your application to receive real-time events, such as when an invoice is paid. All webhook requests are signed to verify authenticity. Follow these steps to integrate Paylora webhook into your web app.
1

Generate webhook key

Click Add Webhook, and put endpoints url into field than click save
Screenshot of settings webhook page
2

Backend integration

Your server should expose an endpoint to receive webhook events.
Important Notes
  • Verify the signature for every request. This prevents malicious requests.
  • Respond with 200 OK after successful handling.
  • Use HTTPS in production to secure the webhook URL.
  • Retry handling: If the request fails, the webhook sender may retry, so make your endpoint idempotent.
Example Event Body