Setting up Dashboard
To get access to Payrock API methods, you must set your dashboard up. Simply visit payrock.me and connect your MetaMask wallet. That's it! Now you can get access to your dashboard.
Go to the settings page and start filling in the necessary areas.

The first thing you should do is select a target network. A target network decides in which asset you'll have your earnings. If you select Ethereum, you get your payments in ETH. Even though your customer pays in another asset, you'll always get your earnings in the same way.
For you to test, we support 3 Testnet chains:
Ethereum Sepolia
Avalanche Fuji
Binance Testnet
After setting up a network, set a redirect URL. This URL is where your users will be redirected after a successful payment.
Redirection URL takes an additional URL parameter while redirecting the user. It takes id
parameter that points to the payment ID that will used while getting the transaction status.
And lastly, set a domain. Domain is necessary for CORS, you won't be able to send a request from anywhere else.
Last updated