URL Parameters

List of parameters

Here is the list of parameters that can be added to the URL:

Parameters allowed only for registered merchants:

Here is an example of a URL with parameters:

https://pay.fonbnk.com?amount=1&freezeAmount=1&freezeWallet=1&network=POLYGON&address=0x8a9c67fee641579deba04928c4bc45f66e26343

Skipping screens

The first two screens where a user provides an order amount and his wallet details can be skipped, so the user sees a phone verification screen right away. To achieve that, you need to open the /phone page and provide the next parameters: provider, network, address, address, amount, currency, country. So the URL would look something like this:

https://pay.fonbnk.com/phone?provider=bank_transfer&network=POLYGON&amount=3&currency=usdc&address=0x91b0a33dbcb10f8331eD3627B94e5a9B1591269f&country=NG

Last updated