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 liability_shifted and liability_shift_possible. This can be used for server-side risk checking before creating transactions.
  1. Ruby
result = gateway.payment_method_nonce.find("nonce_string")
info = result.payment_method_nonce.three_d_secure_info
if info.nil?
  return # This means 3D Secure info was not captured with this payment method nonce
end
info.liability_shifted?
info.liability_shift_possible?
info.enrolled
info.status
If the payment method nonce can't be found, it will raise a Braintree::NotFoundError.
Arguments
payment_method_noncerequired, String
The payment method nonce

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more