All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.univapay.sdk.resources.ExchangeRatesResource Maven / Gradle / Ivy

There is a newer version: 0.2.35
Show newest version
package com.univapay.sdk.resources;

import com.univapay.sdk.constants.UnivapayConstants;
import com.univapay.sdk.models.common.IdempotencyKey;
import com.univapay.sdk.models.common.MoneyLike;
import com.univapay.sdk.models.request.exchangerate.ExchangeRateConversionReq;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Header;
import retrofit2.http.POST;

public interface ExchangeRatesResource {

  @POST("/exchange_rates/calculate")
  Call convert(
      @Body ExchangeRateConversionReq dataToPost,
      @Header(UnivapayConstants.idempotencyKeyHeaderName) IdempotencyKey idempotencyKey);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy