Skip to main content

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

    processing-entity-id uuidrequired

    ID of Processing Entity.

Query Parameters

    from_currency Currencyrequired

    Possible values: >= 3 characters and <= 3 characters

    Mandatory. Single value. The original merchant currency.

    Example: USD
    to_currencies Currency[]

    Possible values: >= 1

    Optional. The list of target currencies, separated by commas. If not supplied, all the merchant site-related currencies are retrieved.

    Example: [EUR, CAD]
    payment_methods PaymentMethod[]required

    Possible values: >= 1

    Mandatory. A comma-separated list of payment method names.

    Example: [CARD, ACH]
    rate_type RateType

    Possible values: [payment, payout, masterCardPayout]

    The Values are: payment (default), payout (brings Visa rates), masterCardpayout (brings MC rates)

    Default value: payment

Responses

OK

Schema

    rates

    object[]

    Collection of result rates for the rates. An array of complex items, each array item is a collection of values.

  • Array [

  • paymentMethod PaymentMethod (string)

    The name of the payment method. 'CARD' for credit cards; other names for alternative payment methods.

    fromCurrency Currency (string)required

    Possible values: >= 3 characters and <= 3 characters

    toCurrency Currency (string)required

    Possible values: >= 3 characters and <= 3 characters

    rate RateValue (number)required

    A value of rate. May have many digits after decimal point.

    Example: 2.48590452
  • ]

  • rate_type RateType (string)

    Possible values: [payment, payout, masterCardPayout]

    Default value: payment

    result

    object

    required

    status stringrequired

    Possible values: [error, success]

    errors

    object

    code stringrequired

    If an error occurred on the request side, an error code is returned in this parameter.

    Possible values: <= 11 characters

    Example: 7000.1000
    reason string

    If an error occurred on the request side, then an error reason is returned in this parameter.

    Possible values: <= 400 characters

    Example: Internal Processing Error
Loading...