Discussions

Ask a Question
Back to All

API Get payment details

Hi.

I try call API Get payment details but I have this error :

{"code":41,"message":"Resource not found","wlt":"DLdPUYQT"}

OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
.url("https://authservices.satispay.com/g_business/v1/payments/" + "118482-259559-63E3BB43-26C5")
.get()
.addHeader("accept", "application/json")
.addHeader("x-satispay-response-wait-time", "0")
.build();

 Response response = client.newCall(request).execute();

Why?
Is needed authentication ?

Thanks, Giuseppe.