Links
💟

Donation button

This button is used for create a donation address for your website.

Online demo

<a href='https://donate.smartypay.io/YOUR_DONATION_ID' target='_blank'>
<img src="https://donate.smartypay.io/donation-button-light.svg" alt="SmartyPay">
</a>
Available parameters:

Animated button

<div id="smartypay"></div>
<script src="https://checkout.smartypay.io/sdk/smartypay-client-sdk-v1.js"></script>
<script>
new SmartyPayDonation({
target: 'smartypay',
donationId: 'YOUR_DONATION_ID',
lang: 'en',
theme: 'dark',
})
</script>
Available parameters:
  • target - element id
  • donationId - you can get it here: dashboard.smartypay.io​
  • lang - en by default (also has es, ru)
  • theme - light (default) or dark

Sources

React component

Online demo

import {SmartyPayDonation} from 'smartypay-client-react';
​
<SmartyPayDonation
donationId="some"
theme="dark"
lang="en"
/>

Sources