Purchase Product
POST/PurchaseProduct
This endpoint transacts the purchase of an identified product immediately using the Stripe API.
- StripeCustomerId - is the customer id value identifying this Tenant to Stripe.
- PaymentMethodId - is the preferred payment method id for this Tenant for this purchase. If omitted an attempt will be made to use the default payment method defined within Stripe for the specified StripeCustomerId. If no such default is defined within Stripe for this customer an error will be returned.
- SavePaymentMethodToCustomer - will indicate that we should persist the specified payment method for this purchase back to the Stripe account under the StripeCustomerId context provided.
Request
Responses
- 200
OK