Payment Method Nonce

Payment Method Nonce: Find

See also the Payment Method Nonce response object.

You can get more information about a payment method nonce by passing the nonce string as an argument to the find method.

Unlike other calls, a find call does not consume the payment method nonce - instead, it returns the nonce string back to your server along with 3D Secure information such as liabilityShifted and liabilityShiftPossible. This can be used for server-side risk checking before creating transactions.

  1. Java
PaymentMethodNonce paymentMethodNonce = gateway.paymentMethodNonce().find("nonce_string");
ThreeDSecureInfo info = paymentMethodNonce.getThreeDSecureInfo();
if (info == null) {
  return; // This means 3D Secure info was not captured with this payment method nonce
 }

info.getEnrolled();
info.isLiabilityShifted();
info.isLiabilityShiftPossible();
info.getStatus();

If the payment method nonce can't be found, it will throw a NotFoundException.

Arguments
paymentMethodNoncerequired, string
The payment method nonce