Last active
December 17, 2019 15:10
-
-
Save mladenilic/61ae5d78d6201b72d2dbe81fd9b76bc0 to your computer and use it in GitHub Desktop.
RocketBoost SDK example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const rocketboost = require('rocketboost')('secret_key_1WHdd4COznElyScC5as9'); | |
const pass = await rocketboost.passes.create('template_BQ2wwXblWgH4olfQ2', { | |
expiration_date: '2021-01-01 00:00:00', | |
customer: { | |
first_name: 'John', | |
last_name: 'Doe' | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment