Default Rates
Admin

Retrieve currently active default rates

Changed on

Retrieve currently active default rates

get/api/v1/admin/default-rates/active

Request

Response

Success

successboolean required

Indicates if the request was successful

Example response

{
  "success": true,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174001",
    "version": "v1-2024-01-13T15:00:00Z",
    "is_active": true,
    "created_by": "system_seed",
    "created_at": "2024-03-19T12:00:00Z",
    "updated_at": "2024-03-19T12:00:00Z",
    "rates": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174001",
        "defaultRatesId": "123e4567-e89b-12d3-a456-426614174001",
        "merchantRatesId": "123e4567-e89b-12d3-a456-426614174001",
        "type": "domestic_percent_fee",
        "value": 1,
        "unit": "%",
        "base": "gross_amount",
        "conversion_currencies": {
          "source": "EUR",
          "destination": "GBP"
        },
        "notes": "Standard domestic fee"
      }
    ]
  }
}

Changes

    • breaking

      the / response's property type changed from string to no type for status

    • warning

      removed the optional property / from the response with the status

    • warning

      added the new conversion_percent_fee enum value to the /// response property for the response status

    • warning

      added the new refund_conversion_percent_fee enum value to the /// response property for the response status

    • warning

      added the new refund_domestic_percent_fee enum value to the /// response property for the response status

    • warning

      added the new refund_fixed_transaction_fee enum value to the /// response property for the response status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added subschema #1 subschema #2 to the / response property allOf list for the response status

    • info

      endpoint added