Package com.pain001.sdk
package com.pain001.sdk
A typed Java client for the pain001 REST API (
pain001 serve).
Pain001Client sends the requests; the records in this package carry
the responses. A non-2xx response raises Pain001ApiException, or its
subclass GenerationRefusedException with the findings when the server
refuses to generate a file. The
client never logs request or response bodies, because they hold payment data.
-
ClassDescriptionThe raw result of
Pain001Client.request(java.lang.String, java.lang.String, com.fasterxml.jackson.databind.JsonNode): the HTTP status and the parsed body.One problem one rung ofPOST /api/v1/checkfound.POST /api/v1/check: the verdict, the rungs that ran and every finding.One face fromGET /api/v1/faces.POST /api/v1/faces/{face}: the target payload and its loss report.POST /api/v1/ui/generate(the server'sUiGenerateResponse).The server refused to generate a file from the data: HTTP 422 withsuccess: false.GET /api/v1/health.What a face projection carried and what it did not, by indexed path.The ISO 20022 message types the server'sMessageTypeenum lists at this SDK's version.generategot a 2xx answer that carries no XML document.The server answered with a non-2xx status.A client for the pain001 REST API (pain001 serve).Builds aPain001Client.An opt-in retry policy for idempotent calls:GETonly.Builds aRetryPolicy.One row-level validation error fromvalidateorgenerate.POST /api/v1/ui/validate.