Our Intergeration Documentation
in this section we'll explain us our basic rules
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
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
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.
There are 2 ways to accept payments with our api
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.
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.
here is php function that will help you to use our api easily
coinzic_api('generate_callback_address',$req=Array("coin"=>"DOGE","callback_url"=>"https://www.coinzic.com/myurl","label"=>"")
coinzic_api('get_balance',$req=Array("coin"=>"DOGE")
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
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 |
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'.
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 |
you can get balance of your wallet using this command
Field Name | Discription | Reuired |
---|---|---|
coin | For which Coin you want to get balance | 1 |
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'.
Field Name | Discription | Reuired |
---|---|---|
coin | For which Coin you want to get deposit address | 1 |