Developer Portal
  • Getting Started with CoinPays
    • Getting Started with CoinPays
    • iFrame API Integration Processes
    • Direct API Integration Processes
    • Pay with Link Solution Integration Processes
  • Iframe API
    • Iframe API Before You Start
    • Iframe API Step 1
    • Iframe API Step 2
  • Direct API
    • Direct API Before You Start
    • Direct API Step 1
    • Direct API Step 2
  • Shared API
    • Coins
    • Languages
    • Fiat Currencies
    • Get Payment Details
  • Donations
    • Iframe Donation
    • Stream Donation
  • Detailed Terms and Their Meanings
    • Merchant Details
    • Wallet Address & Networks
    • Merchant Test Mode
Powered by GitBook
On this page
  • Currency Option
  • Language Option
  • Features
  • Example View
  1. Donations

Iframe Donation

Coinpays now offers a feature that allows merchants to accept donations through a simple iframe integration on their websites. This feature supports multiple cryptocurrencies, making it easy for users

Iframe Integration

To start accepting donations on your website, you can embed the Coinpays donation widget using an iframe. Below is an example code snippet:

<iframe src="https://app.coinpays.io/donation/embed/[merchant_id]
?lang=[lang_code]&currency=TRY"
width="500" height="600"></iframe>

Type
Is Required?
Example
Description

merchant_id

000001

Your merchant ID

lang

en

You can choose default language.

currency

RUB

You can choose default currency.

lock_currency

1

If you use this option, your users will only calculate their payments in the fiat currency you selected with the "currency" parameter. It must be sent with the "currency" parameter.

Replace [merchant_id] with your unique merchant identifier provided by Coinpays. This identifier links the donations directly to your account.

Currency Option

The default language of the donation widget can be set using the ?currency parameter. Supported languages include:

  • TRY: Turkish Lira

  • USD: Dollar

  • RUB: Russian Ruble

  • etc...

You can check out this page for more details.

Language Option

The default language of the donation widget can be set using the ?lang parameter. Supported languages include:

  • en: English

  • tr: Turkish

  • es: Spanish

  • etc...

You can check out this page for more details.

Features

  • Simple Integration: Just copy and paste the iframe code into your website to start receiving donations.

  • Multi-Cryptocurrency Support: Accept donations in various cryptocurrencies, making it easy for donors worldwide to contribute.

  • Customizable Language Settings: The donation widget can be displayed in different languages to cater to a diverse audience.

Example View

PreviousGet Payment DetailsNextStream Donation

Last updated 9 months ago

Click For Test:

https://dev.coinpays.io/developer-portal/shared-api/fiat-currencies
https://dev.coinpays.io/developer-portal/shared-api/languages
https://static.coinpays.io/iframe-donation/