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

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

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

import com.univapay.sdk.models.common.Void;
import com.univapay.sdk.models.request.authentication.AuthenticationRequestData;
import com.univapay.sdk.models.response.authentication.LoginTokenInfo;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

/** Resource for requesting the merchant's credentials. */
public interface AuthenticationResource {

  @POST("/authenticate")
  Call getLoginToken(@Body AuthenticationRequestData authorizationReq);

  @POST("/logout")
  Call deleteAuthToken();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy