com.univapay.sdk.resources.AuthenticationResource Maven / Gradle / Ivy
The 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