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.
  1. PHP
$result = $gateway->paymentMethodNonce()->create('A_PAYMENT_METHOD_TOKEN');
$nonce = $result->paymentMethodNonce->nonce;
If the payment method can't be found, you'll receive a Braintree\Exception\NotFound exception. ;
Parameters
The token of the payment method
;