PHPackages                             globee/payment-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. globee/payment-api

ActiveLibrary[API Development](/categories/api)

globee/payment-api
==================

A PHP client to integrate your website with the GloBee payment api

0.5.0(6y ago)58.4k2[1 PRs](https://github.com/GloBee-Official/payment-api-php/pulls)GPL-3.0-or-laterPHPPHP &gt;=5.5CI failing

Since Apr 18Pushed 5y ago5 watchersCompare

[ Source](https://github.com/GloBee-Official/payment-api-php)[ Packagist](https://packagist.org/packages/globee/payment-api)[ RSS](/packages/globee-payment-api/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (2)Versions (11)Used By (0)

GloBee Payment API
==================

[](#globee-payment-api)

[![Build Status](https://camo.githubusercontent.com/3e2a3fb1b08d19dc61212f76d4132c298f303a53d7f70fcfe41058102b4a44d4/68747470733a2f2f7472617669732d63692e6f72672f476c6f4265652d4f6666696369616c2f7061796d656e742d6170692d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/GloBee-Official/payment-api-php)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a7e56e591687af078dc16920c6c731217512c105b20cd0aa1befe8edc1c1afae/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f476c6f4265652d4f6666696369616c2f7061796d656e742d6170692d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/GloBee-Official/payment-api-php/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/06463f39bf762e024c7241742f89316a4aed1382c9afa2d53294a1116b4187be/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f476c6f4265652d4f6666696369616c2f7061796d656e742d6170692d7068702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/GloBee-Official/payment-api-php/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/6c1a512c36aed7cf86ab2df0a75120f1ab2d003daa3bb1c51b9904437a125576/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676c6f6265652f7061796d656e742d6170692e737667)](https://packagist.org/packages/globee/payment-api)

This is a library to integrate your system with the GloBee Payment API to manage and accept crypto payments through our system.

\####Note: If using PHP 7.0 or below, use version 0.4.0 or lower.

Installation with Composer
--------------------------

[](#installation-with-composer)

Run the following command in your project to add this package:

```
composer require globee/payment-api
```

Authenticate with GloBee
------------------------

[](#authenticate-with-globee)

To receive a valid X-AUTH-ID, complete the following steps:

1. Sign into GloBee, and navigate to the Payment API section on the backend panel.
2. Copy the "Payment API Key" and store it somewhere in your code.

Usage Example
-------------

[](#usage-example)

To create an invoice on GloBee and receive a redirect to a payment interstitial, you can copy and modify the below code.

### Create new Payment Request

[](#create-new-payment-request)

```
