Download the PHP package coinremitterphp/coinremitter-php without Composer
On this page you can find all versions of the php package coinremitterphp/coinremitter-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download coinremitterphp/coinremitter-php
More information about coinremitterphp/coinremitter-php
Files in coinremitterphp/coinremitter-php
Package coinremitter-php
Short Description Official PHP SDK for coinremitter cryptocurrency payment gateway
License MIT
Homepage https://coinremitter.com/
Informations about the package coinremitter-php
CoinRemitter plugin for PHP
Coinremitter is a crypto payment processor. Accept Bitcoin, Tron, Binance (BEP20), BitcoinCash, Ethereum, Litecoin, Dogecoin, USDTERC20, USDTTRC20, Dash, Monero etc.
What is the Crypto Payment Processor?
The Crypto Payment Processor acts as a mediator between merchants and customers, allowing the merchant to receive payments in the form of cryptocurrency.
Installation guide:
You can install the Coinremitter plugin using the composer in your project as shown below:
Usage of the library:
You have to include the namespace of the package for using this library like this:
After using the namespace, you can access all the methods of the library by creating an object of a class like this:
Get Balance
You can get the balance of your wallet using the get_balance call.
This will return either a success response or an error response if something went wrong. Like below is the Success response:
Create New Wallet Address
You can get a new wallet address using the following method:
Success response:
Also, you can assign a label to your address with the passing parameter to the get_new_address method like this:
The response will add the given label at the label key.
Validate the wallet address
For the validation of the wallet address, use the following method:
Success response:
If the in response is then the given address is valid,otherwise it's an invalid address.
Withdraw amount
To withdraw the amount to a specific address, the following method will be used:
Success response:
The dates received in the response are in the UTC format.
Get transaction details
Retrieve transaction information using the ID received from the "withdraw amount" response's ID or from the "id" field in the webhook using the following method.
Success response:
If the response data object contains is equal to then the response will be given as shown below:
The dates received in the response are in the UTC format.
Get Transaction Details by Address
Get transaction details by the given address:
Success response :
The dates received in the response are in the UTC format.
Create Invoice
You can create an invoice using the following method:
Success response :
The dates received in the response are in the UTC format.
Get Invoice
Get invoice details using invoice_id received using the following method:
Success response:
The dates received in the response are in the UTC format.
Get Crypto Rate
Get the current crypto rate in fiat currencies using the following method:
Success response:
Get Coin Rate
Get the coin rate using the following method:
Success response:
For further reference please visit our api documentation