Accept Crypto Payments

This is a break down on how to accept payments with Coinazer.

Overview

To accept a payment, create a transaction using our API our SDKs. Every transaction includes a link that can be used to complete payment.

Our Modal offers a straightforward and hassle-free payment process for web transactions. It provides the simplest way to integrate and start accepting payments.

API Requirements

To initiate a transaction, you'll need to provide specific information, including email, amount, and transaction reference. However, the only required parameters are the apiKey, email, amount and currency. The table below provides a comprehensive list of the parameters that can be passed during transaction initialization.

If the customer information has already been stored in your database, it can be retrieved from there. Alternatively, you can obtain it from a form, as shown in the example below:

 <form id="paymentForm">

  <div class="field-wrap">

    <label for="email">Email Address</label>

    <input type="email" id="email-address" required />

  </div>

  <div class="field-wrap">

    <label for="amount">Amount</label>

    <input type="tel" id="amount" required />

  </div>

  <div class="field-wrap">

    <label for="currency">Currency</label>

    <select id="currency">
      <option value="usd">US Dollar</option>
      <option value="ngn">Naira</option>
      <option value="eur">Euro</option>
      <option value="kes">Kesos</option>
    </select>

  </div>

  <div class="form-submit">

    <button type="submit"> Pay with Coinazer </button>

  </div>

</form>

 <script src="https://www.coinazer.com/public/js/embed.blockchain.js"></script>

Things to note

  1. In this context, the 'apiKey' field requires your Coinazer public key.

  2. The callback object methods fires at different moments of the transaction. Below is an explanation of each of the methods :

Last updated