An open API service indexing awesome lists of open source software.

https://github.com/dbrax/beem-paymentsapi-laravel

Laravel lib for beem payments api
https://github.com/dbrax/beem-paymentsapi-laravel

beem beemafrica mobilemoney

Last synced: about 2 months ago
JSON representation

Laravel lib for beem payments api

Awesome Lists containing this project

README

        

[![Latest Version on Packagist](https://img.shields.io/packagist/v/epmnzava/beempayments.svg?style=flat-square)](https://packagist.org/packages/epmnzava/beempayments)
[![Total Downloads](https://img.shields.io/packagist/dt/epmnzava/beempayments.svg?style=flat-square)](https://packagist.org/packages/epmnzava/beempayments)
![GitHub Actions](https://github.com/epmnzava/beempayments/actions/workflows/main.yml/badge.svg)

## Installation

You can install the package via composer:

```bash
composer require epmnzava/beempayments
```

## Usage

```php
//
checkout("50000","255701000000","SAMPLE-12345","96f9cc09-afa0-40cf-928a-d7e2b27b2411");

//convert your reponse to an array to access src
$response=json_decode($res);

// go to the link provided
return redirect($response->src);
//reponse doc coming soon

}

//whitelisting service

public function whitelistmywebsite(){
$website="https://storewid.com";
$bpay=new Beempayments;

$response=$bpay->whitelist($website);

//$reponse={
"status": 200,
"message": "succesful"
//};

}

```

### Testing

```bash
composer test
```

### Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

## Credits

- [Emmanuel Mnzava](https://github.com/epmnzava)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.