PHPackages                             remitano/remitano-php - 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. remitano/remitano-php

ActiveLibrary[API Development](/categories/api)

remitano/remitano-php
=====================

Remitano API Client

v1.0.3(4y ago)57345[2 issues](https://github.com/remitano/remitano-php/issues)MITPHPPHP &gt;= 7.2

Since May 28Pushed 4y ago30 watchersCompare

[ Source](https://github.com/remitano/remitano-php)[ Packagist](https://packagist.org/packages/remitano/remitano-php)[ Docs](https://github.com/Remitano/Api)[ RSS](/packages/remitano-remitano-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

Remitano PHP API Client
=======================

[](#remitano-php-api-client)

Feel free to fork, modify &amp; redistribute under the MIT license.

Installation
------------

[](#installation)

Via Composer

```
$ composer require remitano/remitano-php
```

Or clone this repository and include it in your project

Usage
-----

[](#usage)

### Create API Key

[](#create-api-key)

Visit [https://remitano.com/settings/api\_key](https://remitano.com/settings/api_key) to create API key.

### Get Authenticator secret

[](#get-authenticator-secret)

Visit  to get your authenticator secret.

Note: This is needed to perform actions which need 2FA authentication like withdrawals, otherwise, you won't need it.

### Setup Remitano client

[](#setup-remitano-client)

```
$client = new Remitano\Api\RemitanoClient([
    'apiKey'  => 'your-api-key',
    'apiSecret' => 'your-api-secret',
    'authenticatorSecret' => 'your-authenticator-secret'
]);
```

### Payment gateway

[](#payment-gateway)

Visit  - Merchant section for more information.

#### Charges

[](#charges)

##### Get

[](#get)

```
$merchant_charges = new Remitano\Api\Merchant\Charge($client);
$merchant_charges->get($id);
```

##### Create

[](#create)

1. With coin currency:

```
$merchant_charges->create([
    "coin_currency" => "usdt",
    "coin_amount" => 10.99,
    "cancelled_or_completed_callback_url" =>"https://example.com/payments/callback?id=example",
    "description" => "Example charge"
]);
```

Note: For now, we only support `usdt` as the price coin currency.

2. With fiat: We support fiat currency of 56 countries that Remitano are supporting, i.e., `USD`, `AUD`. (You could find entire list in our [developer docs](https://developers.remitano.com/docs/getting-started/getting-started)).

```
$merchant_charges->create([
    "fiat_currency" => "AUD",
    "fiat_amount" => 100.99,
    "cancelled_or_completed_callback_url" =>"https://example.com/payments/callback?id=example",
    "description" => "Example charge"
]);
```

#### Withdrawals

[](#withdrawals)

##### Get

[](#get-1)

```
$merchant_withdrawals = new Remitano\Api\Merchant\Withdrawal($client);
$merchant_withdrawals->get($id);
```

##### Create

[](#create-1)

1. Withdraw to external coin address

```
$merchant_withdrawals->create([
    "merchant_withdrawal_ref" => "123",
    "coin_currency" => "btc",
    "coin_amount" => 1,
    "receiver_pay_fee" => true,
    "cancelled_or_completed_callback_url" => "http://sample.com/123/callback",
    "coin_address" => "3CpwViK5RAMzT8AmaMFHVHyfoyQSwNPB6y"
]);
```

2. Withdraw to other remitano account

```
$merchant_withdrawals->create([
    "merchant_withdrawal_ref" => "123",
    "coin_currency" => "btc",
    "coin_amount" => 1,
    "receiver_pay_fee" => true,
    "cancelled_or_completed_callback_url" => "http://sample.com/123/callback",
    "remitano_username" => "receiver123",
    "remitano_phone_number" => "+234 1 123 4567"
]);
```

#### Callbacks

[](#callbacks)

##### Charges

[](#charges-1)

Whenever a charge is changed to completed or cancelled in our system:

- we will send a POST request to `charge.cancelled_or_completed_callback_url` with `remitano_id` param.
- if user is still on our site, we will also redirect user to `object.cancelled_or_completed_callback_url` with `remitano_id` param (GET request).

After receiving these callbacks, you could call `$merchant_charges->get($params['remitano_id'])` to get the updated information and process accordingly.

##### Withdrawals

[](#withdrawals-1)

Whenever a withdrawal is changed to completed or cancelled in our system:

- we will send a POST request to `withdrawal.cancelled_or_completed_callback_url` with `remitano_id` param.

After receiving these callbacks, you could call `$merchant_withdrawals->get($params['remitano_id'])` to get the updated information and process accordingly.

### Other API calls

[](#other-api-calls)

Visit  for more API specs, APIs can be called directly by using method `get`, `post`, `put` of `$client`

```
$client->get('users/coin_accounts');

$client->post('offers/best', [
    "country_code" => "my",
    "offer_type" => "buy",
    "coin_currency" => "btc",
    "coin_amount" => 1
]);
```

### Errors

[](#errors)

When receiving non 200-299 http code, an Error will be raised.

### Sandbox testing

[](#sandbox-testing)

We have a Testnet at .

You could register an account there, then submit a request at [this google form](https://forms.gle/jvJyWPBNwTWfowSm9) with your Remidemo username, so we could help to setup your testing account as a merchant.

After that, you could start your sandbox testing by setting ENV variable: `putenv("REMITANO_SANDBOX=1")`.

Contributing
------------

[](#contributing)

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~71 days

Total

4

Last Release

1602d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9bce9b1c6505d544c316eee5fb17663281996acf7b4ac095ea1575225a965d7?d=identicon)[remidev](/maintainers/remidev)

---

Top Contributors

[![khoinguyenm](https://avatars.githubusercontent.com/u/68093508?v=4)](https://github.com/khoinguyenm "khoinguyenm (10 commits)")[![remi-pr-bot](https://avatars.githubusercontent.com/u/68404777?v=4)](https://github.com/remi-pr-bot "remi-pr-bot (7 commits)")[![nnnoel](https://avatars.githubusercontent.com/u/14010887?v=4)](https://github.com/nnnoel "nnnoel (1 commits)")

---

Tags

apiremitano

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/remitano-remitano-php/health.svg)

```
[![Health](https://phpackages.com/badges/remitano-remitano-php/health.svg)](https://phpackages.com/packages/remitano-remitano-php)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
