nl_tokens: Generates a header to be used for webhook mocking
pl_tokens: function ( opts ) { if ( ! opts ) { throw new Error . StripeError ( { message : 'Options are required' , } ) ; } opts . timestamp = Math . floor ( opts . timestamp ) || Math . floor ( Date . now ( ) / 1000 ) ; opts . scheme = opts . scheme || signature . EXPECTED_SCHEME ; opts . signature = opts . signature || signature . _computeSignature ( opts . timestamp + '.' + opts . payload , opts . <mask> ) ; var generatedHeader = [ 't=' + opts . timestamp , opts . scheme + '=' + opts . signature , ] . join ( ',' ) ; return generatedHeader ; }