com.cardpay.sdk.api.PixAccountDetailsApi Maven / Gradle / Ivy
The newest version!
package com.cardpay.sdk.api;
import com.cardpay.sdk.client.CollectionFormats.*;
import com.cardpay.sdk.model.AccountDetailsRequest;
import com.cardpay.sdk.model.PixAccountDetailsResponse;
import retrofit2.Call;
import retrofit2.http.*;
public interface PixAccountDetailsApi {
/**
* Get methods account details
*
* @param detailsRequest detailsRequest (required)
* @param method method (required)
* @return Call<PixAccountDetailsResponse>
*/
@Headers({
"Content-Type:application/json"
})
@POST("api/account_details/{method}")
Call accountDetails(
@retrofit2.http.Body AccountDetailsRequest detailsRequest, @retrofit2.http.Path("method") String method
);
/**
* Get adapter banks list
*
* @param currency currency (required)
* @param method method (required)
* @return Call<Object>
*/
@GET("api/banks/{method}/{currency}")
Call