(endToEndEncryption())
- testEncryptedToken - Allows for testing a JWE token to ensure it's acceptable by Moov.
To access this endpoint using an access token
you'll need to specify the /ping.read
scope.
- generateKey - Generates a public key used to create a JWE token for passing secure authentication data through non-PCI compliant intermediaries.
Allows for testing a JWE token to ensure it's acceptable by Moov.
To access this endpoint using an access token
you'll need to specify the /ping.read
scope.
package hello.world;
import io.moov.sdk.Moov;
import io.moov.sdk.models.components.E2EEToken;
import io.moov.sdk.models.components.Security;
import io.moov.sdk.models.errors.GenericError;
import io.moov.sdk.models.operations.TestEndToEndTokenResponse;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws GenericError, Exception {
Moov sdk = Moov.builder()
.security(Security.builder()
.username("")
.password("")
.build())
.build();
TestEndToEndTokenResponse res = sdk.endToEndEncryption().testEncryptedToken()
.xMoovVersion("v2024.01.00")
.e2EEToken(E2EEToken.builder()
.token("eyJhbGciOiJFQ0RILUVTK0EyNTZLVyIsImVuYyI6IkEyNTZHQ00iLCJlcGsiOnsia3R5IjoiRUMiLCJjcnYiOiJQLTUyMSIsIngiOiJBS0NYVDM1WVdvTm8wbzExNy1SU0dqUGg3alN1NjFmLUhnYkx1dW0xVG1ueTRlcW5yX2hyU0hpY0w1d3gwODRCWDBRZjVTdEtkRUoydzY2ZUJqWHprRV9OIiwieSI6IkFIMEJfT2RaYTQtbG43dGJ4M3VBdlc1NDNQRE9HUXBCTDloRFFNWjlTQXNfOW05UWN3dnhRd1hrb1VrM3VzT1FnVV9ySVFrNFRoZ1NTUzV4UlhKcm5ZaTkifSwia2lkIjoiYmRvV3pLekpKUGw0TVFIaENDa05WYTZlZ1dmYi02V1haSjZKTFZqQ0hWMD0ifQ.HalyoHsfufBJEODd2lD9ThQvvVWw3b2kgWDLHGxmHhMv8rODyLL_Ug.rpQP178t8Ed_pUU2.Sn9UFeVoegAxiMUv11q7l3M0y9YHSLYi2n_JB7n7Pc777_47-icfaxstJemT0IC81w.akkq1EBxzWkBr4vEomSpWA")
.build())
.call();
// handle response
}
}
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
xMoovVersion |
Optional<String> | ➖ | Specify an API version. API versioning follows the format vYYYY.QQ.BB , where - YYYY is the year- QQ is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)- BB is the build number, starting at .01 , for subsequent builds in the same quarter. - For example, v2024.01.00 is the initial release of the first quarter of 2024.The latest version represents the most recent development state. It may include breaking changes and should be treated as a beta release. |
|
e2EEToken |
E2EEToken | ✔️ | N/A | { "token": "eyJhbGciOiJFQ0RILUVTK0EyNTZLVyIsImVuYyI6IkEyNTZHQ00iLCJlcGsiOnsia3R5IjoiRUMiLCJjcnYiOiJQLTUyMSIsIngiOiJBS0NYVDM1WVdvTm8wbzExNy1SU0dqUGg3alN1NjFmLUhnYkx1dW0xVG1ueTRlcW5yX2hyU0hpY0w1d3gwODRCWDBRZjVTdEtkRUoydzY2ZUJqWHprRV9OIiwieSI6IkFIMEJfT2RaYTQtbG43dGJ4M3VBdlc1NDNQRE9HUXBCTDloRFFNWjlTQXNfOW05UWN3dnhRd1hrb1VrM3VzT1FnVV9ySVFrNFRoZ1NTUzV4UlhKcm5ZaTkifSwia2lkIjoiYmRvV3pLekpKUGw0TVFIaENDa05WYTZlZ1dmYi02V1haSjZKTFZqQ0hWMD0ifQ.HalyoHsfufBJEODd2lD9ThQvvVWw3b2kgWDLHGxmHhMv8rODyLL_Ug.rpQP178t8Ed_pUU2.Sn9UFeVoegAxiMUv11q7l3M0y9YHSLYi2n_JB7n7Pc777_47-icfaxstJemT0IC81w.akkq1EBxzWkBr4vEomSpWA" } |
Error Type | Status Code | Content Type |
---|---|---|
models/errors/GenericError | 400 | application/json |
models/errors/APIException | 4XX, 5XX | */* |
Generates a public key used to create a JWE token for passing secure authentication data through non-PCI compliant intermediaries.
package hello.world;
import io.moov.sdk.Moov;
import io.moov.sdk.models.components.Security;
import io.moov.sdk.models.operations.GenerateEndToEndKeyResponse;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws Exception {
Moov sdk = Moov.builder()
.security(Security.builder()
.username("")
.password("")
.build())
.build();
GenerateEndToEndKeyResponse res = sdk.endToEndEncryption().generateKey()
.xMoovVersion("v2024.01.00")
.call();
if (res.jsonWebKey().isPresent()) {
// handle response
}
}
}
Parameter | Type | Required | Description |
---|---|---|---|
xMoovVersion |
Optional<String> | ➖ | Specify an API version. API versioning follows the format vYYYY.QQ.BB , where - YYYY is the year- QQ is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)- BB is the build number, starting at .01 , for subsequent builds in the same quarter. - For example, v2024.01.00 is the initial release of the first quarter of 2024.The latest version represents the most recent development state. It may include breaking changes and should be treated as a beta release. |
Error Type | Status Code | Content Type |
---|---|---|
models/errors/APIException | 4XX, 5XX | */* |