Profee Payment calculation API (v2.0)

Download OpenAPI specification:Download

License: Profee

Welcome to the Profee Payment calculation API documentation.

This is a living document to be updated regularly with new functionality. To address questions to our developers please contact: support@profeelab.net

V2 / Payments

Payment calculation

Perform payment calculation

Request Body schema: application/json
merchantId
required
string

Merchant ID

fromCountry
string

Source country (ISO Alpha2 code)

fromCurrency
required
string

Source currency (ISO code)

fromAmount
number

Source amount (one of fromAmount and toAmount must be specified)

toCountry
string

Destination country (ISO Alpa2 code)

toCurrency
required
string

Destination currency (ISO code)

toAmount
number

Destination amount (one of fromAmount and toAmount must be specified)

externalId
string [ 0 .. 1000 ] characters

Merchant's marketing ID (this ID will be placed at utm_campaign further)

Responses

Request samples

Content type
application/json
{
  • "merchantId": "string",
  • "fromCountry": "string",
  • "fromCurrency": "string",
  • "fromAmount": 0,
  • "toCountry": "string",
  • "toCurrency": "string",
  • "toAmount": 0,
  • "externalId": "string"
}

V1 / Payments

Payment calculation

Perform payment calculation

Request Body schema: application/json
merchantId
required
string

Merchant ID

fromCountry
string

Source country (ISO Alpha2 code)

fromCurrency
required
string

Source currency (ISO code)

fromAmount
number

Source amount (one of fromAmount and toAmount must be specified)

toCountry
string

Destination country (ISO Alpa2 code)

toCurrency
required
string

Destination currency (ISO code)

toAmount
number

Destination amount (one of fromAmount and toAmount must be specified)

externalId
string [ 0 .. 1000 ] characters

Merchant's marketing ID (this ID will be placed at utm_campaign further)

Responses

Request samples

Content type
application/json
{
  • "merchantId": "string",
  • "fromCountry": "string",
  • "fromCurrency": "string",
  • "fromAmount": 0,
  • "toCountry": "string",
  • "toCurrency": "string",
  • "toAmount": 0,
  • "externalId": "string"
}

V2 / Corridors

Calculation URLs

Returns all calculation URLs available

query Parameters
merchantId
required
string

Responses