POST Stripe/Add/Subscription

Request Information

URI Parameters

None.

Body Parameters

DtoStripeSubscription
NameDescriptionTypeAdditional information
UserId

integer

None.

StripeCustomerId

string

None.

CustomerId

string

None.

SubscriptionId

string

None.

PriceId

string

None.

SubscriptionName

string

None.

Currency

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "StripeCustomerId": "sample string 2",
  "CustomerId": "sample string 3",
  "SubscriptionId": "sample string 4",
  "PriceId": "sample string 5",
  "SubscriptionName": "sample string 6",
  "Currency": "sample string 7"
}

application/xml, text/xml

Sample:
<DtoStripeSubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icodex.UserManagement.Services.Interfaces.Request.Dto.Stripe">
  <Currency>sample string 7</Currency>
  <CustomerId>sample string 3</CustomerId>
  <PriceId>sample string 5</PriceId>
  <StripeCustomerId>sample string 2</StripeCustomerId>
  <SubscriptionId>sample string 4</SubscriptionId>
  <SubscriptionName>sample string 6</SubscriptionName>
  <UserId>1</UserId>
</DtoStripeSubscription>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.