Links

Create a payment button

Place the HTML code of the payment button on your site, specifying your API key in the parameters (the YOUR _API_KEY from the previous step).
Copy the code below:
<form action="https://api.smartypay.io/checkout" method="POST" target= "_blank">
<input type="hidden" name="api-key" value= "YOUR_API_KEY">
<input type="hidden" name="token" value="bUSDT">
<input type="hidden" name="amount" value="1.5">
<input type="hidden" name="lang" value= "en">
<input type="image" src="https://checkout.smartypay.io/checkout-button-light.svg" border="0" name="submit" alt="SMARTy Pay" >
</form>
Let’s go over the parameters of this form:
Api-key — The API key you created in the previous step.
Token — The code name of the crypto payment token (bUSDT — the USDT token on the Binance network smart chain). You can find a list of all token codes in our documentation.
Amount — The amount of the payment in the given token (1.5 USDT in the example).
Lang — Interface language (en, es).
Image — The image of the payment button. There are currently 2 image options available:
Please look at the examples of using the buttons with the code on the demonstration page.
Last modified 11mo ago