Last active
December 15, 2017 12:58
-
-
Save adamjstevenson/e5562e324a7192879bfd2d39586a4500 to your computer and use it in GitHub Desktop.
Create a customer on a connected account
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
# Create a customer on a connected account | |
customer = Stripe::Customer.create( | |
{ | |
description: "Customer for [email protected]", | |
source: "src_1BF7yx2jy8PDLWD6TFmguGn0", # The secure token representing the payment details | |
}, | |
{ | |
stripe_account: "acct_j1cXUEAksEpalsjc3Xl3" # The ID of the Stripe account connected to your platform | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment