jp.gopay.sdk.resources.AuthenticationResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gopay-java-sdk Show documentation
Show all versions of gopay-java-sdk Show documentation
Official Gyro-n Payments Java SDK
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();
}