API Listings

Documentation

Fexco Corporate Payments WEB API is a suite of Restful APIs designed to facilitate a clean flow of payment data

View Global Payment Codes View Product List and Codes View API Code Samples

Streamline & simplify your payment processes with our payable APIs

Or Contact Us

Ireland: 1800 246 800
UK: 0800 840 2887
fcpsupport@fexco.com

AP Automation and ERP Integration

Get a quotation.

GET api/Quote/Get?clientID={clientID}&baseCurrency={baseCurrency}&foreignCurrency={foreignCurrency}&amountToBeConverted={amountToBeConverted}&amountTypeForeignOrBase={amountTypeForeignOrBase}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientID

Client Reference ID - issued by Fexco Corporate Payments (1234)

integer

Required

baseCurrency

Base Currency - the base currency of the currency pair (EUR).

string

Required

foreignCurrency

Foreign Currency - the foreign currency of the currency pair (USD).

string

Required

amountToBeConverted

Amount To Be Converted - the amount you wish to be converted using the quoted rate (123.45).

decimal number

Required

amountTypeForeignOrBase

Amount Type Foreign or Base - indicates if the amount to be converted is a (F)oreign or (B)ase amount.

string

Required

Response Information

Resource Description

Returns a Quotation object containing the Sell Rate and when that rate expires.

Quotation
NameDescriptionTypeAdditional information
quoteID

Quotation unique identifier.

integer

None.

clientID

Client unique identifier.

integer

None.

baseCurrency

Quotation base ISO three character currency code.

string

None.

baseAmount

Quotation base amount.

decimal number

None.

foreignCurrency

Quotation foreign ISO three character currency code.

string

None.

foreignAmount

Quotation foreign amount.

decimal number

None.

sellRate

Quotation sell rate. This is the client rate.

decimal number

None.

liveRate

Quotation live rate.

decimal number

None.

transClientMargin

Client's transaction margin.

decimal number

None.

rateExpiresUTC

The UTC date and time that the quotation rate expires on.

date

None.

message

Information message. For example, if a rate is not available for a particular currency pair.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "quoteID": 1,
  "clientID": 2,
  "baseCurrency": "sample string 3",
  "baseAmount": 4.0,
  "foreignCurrency": "sample string 5",
  "foreignAmount": 6.0,
  "sellRate": 7.0,
  "liveRate": 8.0,
  "transClientMargin": 9.0,
  "rateExpiresUTC": "2020-11-27T08:15:14.0517049+00:00",
  "message": "sample string 11"
}

application/xml, text/xml

Sample:
<Quotation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BanksApp.Models">
  <baseAmount>4</baseAmount>
  <baseCurrency>sample string 3</baseCurrency>
  <clientID>2</clientID>
  <foreignAmount>6</foreignAmount>
  <foreignCurrency>sample string 5</foreignCurrency>
  <liveRate>8</liveRate>
  <message>sample string 11</message>
  <quoteID>1</quoteID>
  <rateExpiresUTC>2020-11-27T08:15:14.0517049+00:00</rateExpiresUTC>
  <sellRate>7</sellRate>
  <transClientMargin>9</transClientMargin>
</Quotation>

Build your own Payables Solution

Fill in the details above and one of our API experts will contact you to discuss your specific requirements Or

Email us.

Payment solutions experts

As featured in:

Safe, secure & compliant

As a regulated financial institution Fexco Corporate Payments uses robust client asset procedures to keep your funds protected.

In October 2016, Fexco Corporate Payments became the first Irish payments provider to achieve the esteemed ISO 27001 Certification.