POST api/Emails?stripeToken={stripeToken}&customerId={customerId}&stripeSecretKey={stripeSecretKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stripeToken

string

Required

customerId

string

Required

stripeSecretKey

string

Required

Body Parameters

None.

Response Information

Resource Description

Customer
NameDescriptionTypeAdditional information
id

string

None.

object

string

None.

address

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'discount' with type 'Stripe.Discount'. Path 'discount.customer'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'discount' with type 'Stripe.Discount'. Path 'discount.customer'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'Stripe.StripeResponse' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'Stripe.StripeResponse' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.