Created
August 28, 2019 01:49
-
-
Save leonkyr/4230494362587d8c46da2a2b5c162a3a to your computer and use it in GitHub Desktop.
stripe-connect-accept-terms
This file contains hidden or 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
stripe.accounts.update(accountId, { | |
metadata: { internal_id: "Tradie-2" }, | |
tos_acceptance: { | |
date: Math.floor(Date.now() / 1000), | |
ip: "61.69.124.163" // Assumes you're not using a proxy | |
} | |
}).then(function (account) { | |
console.log(JSON.stringify(account, null, 2)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment