See also the
Braintree::PaymentMethodNonce response object.
To create a payment method nonce, only the payment method token is required.
result = Braintree::PaymentMethodNonce.create("A_PAYMENT_METHOD_TOKEN") nonce = result.payment_method_nonce.nonce
If the payment method cannot be found, it will raise a
Still have questions?
If you can’t find an answer, contact our Support team.