How to integrate Payonix to your website
5min
this tutorial will teach you how to integrate payonix to your website and start accepting crypto payments set up go to https //app payonix io/signup https //app payonix io/signup and create an account if you haven’t already go to https //app payonix io/merchant/create to create a new payment form (or go to the merchant page and click on “create new payment form” get your api key and form id api key to use our api you will need your api key to get the one associated with your account, go to the settings page in the dashboard at the top, you’ll see your api key you can press the button at the right of the api key to copy it to your clipboard form id next, you need the id of the form you want to create payments for go to the merchant section of the dashboard and select the form you want to use at the top, below the name of your form, you’ll see “copy api id” you can click on it to copy the id of the form to your clipboard save both api key and form id to a secured place in your code that is not public so no one can make requests for you however, even if someone has your api key, the only thing they can do is create payments that’s the only thing you can do with the api for now if you see suspicious activity with your api key, contact the support and we will give you a new one create a payment now, in your back end you need to use the api to create a payment and get a url to redirect your users to in the front end, when your users choose that they want to pay with crypto and then press a button to pay, you should call your back end to create a payment in your back end, you need to call the merchant api with these parameters that’s it! 🎉 you can now get paid in crypto on your website ⚠️ don't ever re use a url that we send you! it can lead to failed payments and odd things in some cases to avoid that, use the urls that we send you only once