jp.gopay.sdk.resources.AuthenticationResource Maven / Gradle / Ivy
package jp.gopay.sdk.resources;
import jp.gopay.sdk.models.common.Void;
import jp.gopay.sdk.models.request.authentication.AuthenticationRequestData;
import jp.gopay.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