POST Stripe/CreatePlan

Request Information

URI Parameters

None.

Body Parameters

DtoCreatePlan
NameDescriptionTypeAdditional information
Amount

decimal number

None.

Currency

string

None.

Interval

string

None.

Product

string

None.

IsSubscription

boolean

None.

IntervalCount

integer

None.

Subscription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1.0,
  "Currency": "sample string 2",
  "Interval": "sample string 3",
  "Product": "sample string 4",
  "IsSubscription": true,
  "IntervalCount": 6,
  "Subscription": "sample string 7"
}

application/xml, text/xml

Sample:
<DtoCreatePlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icodex.UserManagement.Services.Interfaces.Request.Dto.Stripe">
  <Amount>1</Amount>
  <Currency>sample string 2</Currency>
  <Interval>sample string 3</Interval>
  <IntervalCount>6</IntervalCount>
  <IsSubscription>true</IsSubscription>
  <Product>sample string 4</Product>
  <Subscription>sample string 7</Subscription>
</DtoCreatePlan>

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.