POST api/bt/subscription/create

Request Information

URI Parameters

None.

Body Parameters

SubscriptionModel
NameDescriptionTypeAdditional information
PaymentMethodToken

string

None.

PlanId

string

None.

SubscriptionId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentMethodToken": "sample string 1",
  "PlanId": "sample string 2",
  "SubscriptionId": "sample string 3"
}

application/xml, text/xml

Sample:
<SubscriptionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CificoAPI.Models">
  <PaymentMethodToken>sample string 1</PaymentMethodToken>
  <PlanId>sample string 2</PlanId>
  <SubscriptionId>sample string 3</SubscriptionId>
</SubscriptionModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultOfSubscription
NameDescriptionTypeAdditional information
CreditCardVerification

CreditCardVerification

None.

Transaction

Transaction

None.

Plan

Plan

None.

Subscription

Subscription

None.

Errors

ValidationErrors

None.

Parameters

Dictionary of string [key] and string [value]

None.

Message

string

None.

Target

Subscription

None.

Response Formats

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

Sample:

Sample not available.