Last active
April 6, 2016 14:39
-
-
Save jaymedavis/d969be13ca6019686a4e72b82e999546 to your computer and use it in GitHub Desktop.
creating a Stripe.net charge with a token on a connected account
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
var charge = new StripeChargeCreateOptions(); | |
charge.Amount = 1223; | |
charge.Currency = "usd"; | |
charge.Description = "irctc516 took all your money"; | |
charge.SourceTokenOrExistingSourceId = *tokenId*; | |
var requestOptions = new StripeRequestOptions(); | |
requestOptions.StripeConnectAccountId = "acct_*"; | |
var completedCharge = new StripeChargeService().Create(charge, requestOptions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment