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

com.truelayer.java.signupplus.ISignupPlusApi Maven / Gradle / Ivy

package com.truelayer.java.signupplus;

import com.truelayer.java.entities.RequestScopes;
import com.truelayer.java.http.entities.ApiResponse;
import com.truelayer.java.signupplus.entities.UserData;
import java.util.concurrent.CompletableFuture;
import retrofit2.http.GET;
import retrofit2.http.Query;
import retrofit2.http.Tag;

public interface ISignupPlusApi {

    /**
     * Get user data from a payment.
     * @param scopes the scopes to be used by the underlying Oauth token
     * @param paymentId the id of the payment
     * @return the identity data associated to the remitter of the payment
     * @see Get user data by payment API reference
     */
    @GET("/signup-plus/payments")
    CompletableFuture> getUserDataByPayment(
            @Tag RequestScopes scopes, @Query("payment_id") String paymentId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy