Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface RequestInterface {
- @GET("add_your_endpoint")
- Call<String> getClientToken();
- @POST("your_payments_endpoint")
- @Headers("Content-Type: application/json")
- Call<ResponseBody> getPayment(@Body JsonObject jsonObject);
- }
Add Comment
Please, Sign In to add comment