Payment Method Nonce
Payment Method Nonce: Create
See also the Payment Method Nonce response object.
To create a payment method nonce, only the payment method token is required.
- Java
Result<PaymentMethodNonce> result = gateway.paymentMethodNonce().create("A_PAYMENT_METHOD_TOKEN");
String nonce = result.getTarget().getNonce();
If the payment method can't be found, it will throw a NotFoundException
.
Parameters
.paymentMethodToken(…)
stringThe token of the payment method