Cryptocurrency API Integration Services

Basic

in this section we'll explain us our basic rules

Introduction

COINZINC.com API provides the most reliable Cryptocurrency API Integration Services for customers to access vital services and information. API calls are standard one secure HTTP POST calls to https://www.coinzic.com/Api

API Setup

The only setup needed is to go to the Merchant>Get an Api Key page and generate an API key. You will be given a private and public key used to authenticate your API calls. Make sure you don't share your private key with any 3rd parties!
Note: You must click 'Edit Permissions' to enable most commands

Api Responce

The API will return an array with 2 or 3 elements: 'status' , 'error' and 'data'.
if the field 'status' is TRUE OR 1 the API call was a success, otherwise it will contain an error message.
If there is data to return to you, it will be stored as an json encode array in the 'data' element.

Accepting Payments Through Coinzic

There are 2 ways to accept payments with our api

generate_callback_address

Variable Payments : provide an address with all received payments deposited in your COINZIC wallets. With our Crypto Wallet API Integration Service . If you have an operational IPN URL, you are notified through our notifications service on your ipn url. Merchants can use it for receiving multiple payments of random amounts, and if you want to assign your customers an address, you can use ‘top up’ option anytime according to your choice.

create_invoice

Fixed Price Payments are the most popular way of payment service in our Crypto Payment Gateway API Integrationas buyers determine the price, mode of payments, and type of coins they have chosen or want.

Php Example Code

here is php function that will help you to use our api easily

Php Function

Uses of Function

Generating The Address using Function

coinzic_api('generate_callback_address',$req=Array("coin"=>"DOGE","callback_url"=>"https://www.coinzic.com/myurl","label"=>"")

Getting Wallet Balance

coinzic_api('get_balance',$req=Array("coin"=>"DOGE")

create_withdraw

This command is used for sending coin to a specific address. coinzic will send callback notifcation when the withdrawal is completed on your callback_url that you have set on your setting page

API POST Fields For using this command

Field Name Discription Reuired
coin For which Coin you want to get callback address 1
address address where you want to sent 1
amount amount in coin currency you want to send 1
order_id for security reasons order_id is optional to avoid double transactions 0
note This is Optional Note (Only viewable by you) Max length 100 character 0

generate_callback_address

callback addresses are designed for commercial use they incur the same 0.5% fee on deposits as invoice created with 'create_invoice'. For personal use deposits that reuse the same personal address(es) in your wallet that have no fee but don't send IPNs see 'get_deposit_address'.

API POST Fields For using this command

Field Name Discription Reuired
coin For which Coin you want to get callback address 1
label Optionally sets the address label. 0
callback_url URL for your IPN callbacks. If not set it will use the Callback URL in your Edit Settings page if you have one set.. 0

get_balance

you can get balance of your wallet using this command

API POST Fields For using this command

Field Name Discription Reuired
coin For which Coin you want to get balance 1

get_deposit_address

Addresses returned by this API are for personal use deposits and reuse the same personal address(es) in your wallet. Deposits to these addresses don't send IPNs. For commercial-use addresses and/or ones that send IPNs see 'generate_callback_address'.

API POST Fields For using this command

Field Name Discription Reuired
coin For which Coin you want to get deposit address 1