PHPackages                             payu/fx-client - 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. payu/fx-client

ActiveLibrary[API Development](/categories/api)

payu/fx-client
==============

FX API PHP Client

v0.1.0(7y ago)110Apache-2.0PHPPHP &gt;=5.6CI failing

Since Jun 19Pushed 7y ago8 watchersCompare

[ Source](https://github.com/PayU-EMEA/fx-client-php)[ Packagist](https://packagist.org/packages/payu/fx-client)[ RSS](/packages/payu-fx-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

[![Build Status](https://camo.githubusercontent.com/8e7e9982afd09cb46916a52512ebc0cf55a00350002d64fa778fc96d42ebe4b3/68747470733a2f2f7472617669732d63692e6f72672f506179552f66782d636c69656e742d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/PayU/fx-client-php)

PHP client for FX API
=====================

[](#php-client-for-fx-api)

Introduction
------------

[](#introduction)

This is a PHP implementation of a HTTP client for accessing the FX API.

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

[](#installation)

You can install the client by using [composer](https://getcomposer.org/):

```
composer require payu/fx-client-php:^1.0

```

You need at least PHP 5.6, having cURL with HTTPS support enabled.

Usage
-----

[](#usage)

To begin, you will need to provide your account Merchant Code and Secret Key. To do this, create a `\PayU\FX\Config\MerchantCredentials` configuration instance:

```
