Download the PHP package cryptopay-dev/cryptopay without Composer

On this page you can find all versions of the php package cryptopay-dev/cryptopay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cryptopay

Cryptopay PHP Library

The official PHP library for the Cryptopay API.

Cryptopay is a payment gateway and business wallet that allows merchants to automate the processes of accepting cryptocurrency payments and payouts from their customers, as well as making currency exchange transactions and receiving data on the transaction history and account balance statuses for reporting.

For more information, please visit Cryptopay API docs.

Table of contents

Installation

Requirements

Composer

You can install the library via Composer. Run the following command:

To use the library, use Composer's autoload:

Configuration

Create API credentials

Learn mode about API credentials at Developers guide.

Configure library

Example: examples/Init.php

Usage

Accounts

List accounts

List account transactions

Channels

A channel is a static cryptocurrency address that may be assigned to each one of your customers.

Channels API docs

List channels

Create a channel

List channel payments

Retrieve a channel

Retrieve a channel by custom id

Retrieve a channel payment

Update a channel

CoinWithdrawals

In addition to accepting payments through the Cryptopay payment gateway, it is also possible to make payments to your customers in any of the cryptocurrency currently supported by Cryptopay. In Cryptopay, these payments are called “Coin Withdrawal”. The process of requesting coin withdrawal is almost the same for a customer in Cashier as the process of making a deposit with one exception - the customer will need to specify the address of the wallet he wants to send the cryptocurrency to.

Coin withdrawals API docs

List withdrawals

Commit a withdrawal

Create a withdrawal

Documentation

List network fees

Retrieve a withdrawal

Retrieve a withdrawal by custom id

Coins

List supported coins

Customers

Customer objects allow you to reject High-Risk transactions automatically, and to track multiple transactions, that are associated with the same customer.

List customers

Create a customer

Retrieve a customer

Update a customer

ExchangeTransfers

Commit an exchange transfer

Create an exchange transfer

Retrieve an exchange transfer

Invoices

An invoice is a request for a cryptocurrency payment which contains a unique BTC, LTC, ETH or XRP address and the amount that has to be paid while the invoice is valid.

Invoices API docs

List invoices

Commit invoice recalculation

Create an invoice

Create invoice recalculation

Create invoice refund

List invoice refunds

Retrieve an invoice

Retrieve an invoice by custom_id

Rates

Retrieve all rates

Retrieve a pair rate

Risks

Risks API docs

Score a coin address

Subscriptions

List subscriptions

Cancel a subscription

Create a subscription

Retrieve a subscription

Retrieve a subscription by custom_id

Transactions

Transactions API docs

List transactions

Callbacks

Documentation

All callbacks needs to be validated with signature

If the signature is wrong, the package validation will throw ForbiddenException. Otherwise, it will return object.


All versions of cryptopay with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
guzzlehttp/guzzle Version ^7.2
ext-json Version *
vlucas/phpdotenv Version ^5.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cryptopay-dev/cryptopay contains the following files

Loading the files please wait ....