Retrieve rate details.
GET/currencies/entities/{processing-entity-id}/rates
Retrieves the rate details of a given processing entity according to the provided set of parameters.
Request
Path Parameters
ID of Processing Entity.
Query Parameters
Possible values: >= 3 characters and <= 3 characters
Mandatory. Single value. The original merchant currency.
Possible values: >= 1
Optional. The list of target currencies, separated by commas. If not supplied, all the merchant site-related currencies are retrieved.
Possible values: >= 1
Mandatory. A comma-separated list of payment method names.
Possible values: [payment, payout, masterCardPayout]
The Values are: payment (default), payout (brings Visa rates), masterCardpayout (brings MC rates)
paymentResponses
- 200
- 400
- 401
- 403
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
- Card USD to EUR and BGN Rates
- Card and ACH USD to EUR Rates
Schema
Array [
]
rates
object[]
Collection of result rates for the rates. An array of complex items, each array item is a collection of values.
The name of the payment method. 'CARD' for credit cards; other names for alternative payment methods.
Possible values: >= 3 characters and <= 3 characters
Possible values: >= 3 characters and <= 3 characters
A value of rate. May have many digits after decimal point.
2.48590452Possible values: [payment, payout, masterCardPayout]
paymentresult
object
required
Possible values: [error, success]
errors
object
If an error occurred on the request side, an error code is returned in this parameter.
Possible values: <= 11 characters
7000.1000If an error occurred on the request side, then an error reason is returned in this parameter.
Possible values: <= 400 characters
Internal Processing Error{
"rates": [
{
"paymentMethod": "string",
"fromCurrency": "string",
"toCurrency": "string",
"rate": 2.48590452
}
],
"rate_type": "payment",
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal Processing Error"
}
}
}
Exchange rates for credit cards for USD to EUR and BGN
{
"rates": [
{
"paymentMethod": "CARD",
"fromCurrency": "USD",
"toCurrency": "EUR",
"rate": 0.928821
},
{
"paymentMethod": "CARD",
"fromCurrency": "USD",
"toCurrency": "BGN",
"rate": 1.816942
}
],
"result": {
"status": "success"
}
}
Exchange rates for credit cards and ACH for USD to EUR
{
"rates": [
{
"paymentMethod": "CARD",
"fromCurrency": "USD",
"toCurrency": "EUR",
"rate": 0.928824
},
{
"paymentMethod": "ACH",
"fromCurrency": "USD",
"toCurrency": "EUR",
"rate": 0.919931
}
],
"result": {
"status": "success"
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Missing Mandatory Field Value
Schema
Array [
]
rates
object[]
Collection of result rates for the rates. An array of complex items, each array item is a collection of values.
The name of the payment method. 'CARD' for credit cards; other names for alternative payment methods.
Possible values: >= 3 characters and <= 3 characters
Possible values: >= 3 characters and <= 3 characters
A value of rate. May have many digits after decimal point.
2.48590452Possible values: [payment, payout, masterCardPayout]
paymentresult
object
required
Possible values: [error, success]
errors
object
If an error occurred on the request side, an error code is returned in this parameter.
Possible values: <= 11 characters
7000.1000If an error occurred on the request side, then an error reason is returned in this parameter.
Possible values: <= 400 characters
Internal Processing Error{
"rates": [
{
"paymentMethod": "string",
"fromCurrency": "string",
"toCurrency": "string",
"rate": 2.48590452
}
],
"rate_type": "payment",
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal Processing Error"
}
}
}
{
"result": {
"status": "error",
"errors": {
"code": "5000.1000",
"reason": "[processingEntityId] must not be null"
}
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Authorization Error
Schema
Array [
]
rates
object[]
Collection of result rates for the rates. An array of complex items, each array item is a collection of values.
The name of the payment method. 'CARD' for credit cards; other names for alternative payment methods.
Possible values: >= 3 characters and <= 3 characters
Possible values: >= 3 characters and <= 3 characters
A value of rate. May have many digits after decimal point.
2.48590452Possible values: [payment, payout, masterCardPayout]
paymentresult
object
required
Possible values: [error, success]
errors
object
If an error occurred on the request side, an error code is returned in this parameter.
Possible values: <= 11 characters
7000.1000If an error occurred on the request side, then an error reason is returned in this parameter.
Possible values: <= 400 characters
Internal Processing Error{
"rates": [
{
"paymentMethod": "string",
"fromCurrency": "string",
"toCurrency": "string",
"rate": 2.48590452
}
],
"rate_type": "payment",
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal Processing Error"
}
}
}
Authorization error
{
"result": {
"status": "error",
"errors": {
"code": "7300.3000",
"reason": "Authorization error."
}
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Authorization Error
Schema
Array [
]
rates
object[]
Collection of result rates for the rates. An array of complex items, each array item is a collection of values.
The name of the payment method. 'CARD' for credit cards; other names for alternative payment methods.
Possible values: >= 3 characters and <= 3 characters
Possible values: >= 3 characters and <= 3 characters
A value of rate. May have many digits after decimal point.
2.48590452Possible values: [payment, payout, masterCardPayout]
paymentresult
object
required
Possible values: [error, success]
errors
object
If an error occurred on the request side, an error code is returned in this parameter.
Possible values: <= 11 characters
7000.1000If an error occurred on the request side, then an error reason is returned in this parameter.
Possible values: <= 400 characters
Internal Processing Error{
"rates": [
{
"paymentMethod": "string",
"fromCurrency": "string",
"toCurrency": "string",
"rate": 2.48590452
}
],
"rate_type": "payment",
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal Processing Error"
}
}
}
Authorization error
{
"result": {
"status": "error",
"errors": {
"code": "7300.3000",
"reason": "Authorization error."
}
}
}
Not Found
- application/json
- Schema
- Example (from schema)
- Not Found Error
Schema
Array [
]
rates
object[]
Collection of result rates for the rates. An array of complex items, each array item is a collection of values.
The name of the payment method. 'CARD' for credit cards; other names for alternative payment methods.
Possible values: >= 3 characters and <= 3 characters
Possible values: >= 3 characters and <= 3 characters
A value of rate. May have many digits after decimal point.
2.48590452Possible values: [payment, payout, masterCardPayout]
paymentresult
object
required
Possible values: [error, success]
errors
object
If an error occurred on the request side, an error code is returned in this parameter.
Possible values: <= 11 characters
7000.1000If an error occurred on the request side, then an error reason is returned in this parameter.
Possible values: <= 400 characters
Internal Processing Error{
"rates": [
{
"paymentMethod": "string",
"fromCurrency": "string",
"toCurrency": "string",
"rate": 2.48590452
}
],
"rate_type": "payment",
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal Processing Error"
}
}
}
Not found error
{
"result": {
"status": "error",
"errors": {
"code": "9100.1005",
"reason": "Not found"
}
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Internal Processing Error
Schema
Array [
]
rates
object[]
Collection of result rates for the rates. An array of complex items, each array item is a collection of values.
The name of the payment method. 'CARD' for credit cards; other names for alternative payment methods.
Possible values: >= 3 characters and <= 3 characters
Possible values: >= 3 characters and <= 3 characters
A value of rate. May have many digits after decimal point.
2.48590452Possible values: [payment, payout, masterCardPayout]
paymentresult
object
required
Possible values: [error, success]
errors
object
If an error occurred on the request side, an error code is returned in this parameter.
Possible values: <= 11 characters
7000.1000If an error occurred on the request side, then an error reason is returned in this parameter.
Possible values: <= 400 characters
Internal Processing Error{
"rates": [
{
"paymentMethod": "string",
"fromCurrency": "string",
"toCurrency": "string",
"rate": 2.48590452
}
],
"rate_type": "payment",
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal Processing Error"
}
}
}
Internal processing error
{
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal Processing Error."
}
}
}