POST RazorPay/Add/Subscription
h1>
Request Information
URI Parameters
None.
Body Parameters
DtoRazorPaySubscription
Name Description Type Additional 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:
<DtoRazorPaySubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icodex.UserManagement.Services.Interfaces.Request.Dto.RazorPay">
<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>
</DtoRazorPaySubscription>
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.
Request Information
URI Parameters
None.
Body Parameters
DtoRazorPaySubscription| Name | Description | Type | Additional 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:
<DtoRazorPaySubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icodex.UserManagement.Services.Interfaces.Request.Dto.RazorPay"> <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> </DtoRazorPaySubscription>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.