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.
- Callback
- Promise
gateway.paymentMethodNonce.create("A_PAYMENT_METHOD_TOKEN", function(err, response) {
const nonce = response.paymentMethodNonce.nonce;
});
If the payment method can't be found, it will return a notFoundError
.
Parameters
paymentMethodToken
StringThe token of the payment method