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

jp.gopay.sdk.resources.AuthenticationResource Maven / Gradle / Ivy

There is a newer version: 0.11.17
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy