POST api/Payment/PaymentDoneStripeCard?UserId={UserId}&UserRole={UserRole}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
Required |
|
| UserRole | integer |
Required |
Body Parameters
StripeCardPaymentDoneViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Item | string |
None. |
|
| Value | string |
None. |
|
| SubId | string |
None. |
|
| Token | string |
None. |
|
| LastDigits | string |
None. |
|
| CardId | string |
None. |
|
| ProductId | integer |
None. |
|
| UsedWalletAmount | integer |
None. |
|
| SubProductId | integer |
None. |
|
| FinalAmount | integer |
None. |
|
| ExpiryMonth | string |
None. |
|
| ExpiryYear | string |
None. |
|
| cardnumber | string |
None. |
|
| SubscriptionTypeId | integer |
None. |
|
| SubscriberId | integer |
None. |
|
| InvoiceId | integer |
None. |
|
| IsRecurring | boolean |
None. |
|
| SaveCard | boolean |
None. |
|
| ChargefromLink | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Item": "sample string 2",
"Value": "sample string 3",
"SubId": "sample string 4",
"Token": "sample string 5",
"LastDigits": "sample string 6",
"CardId": "sample string 7",
"ProductId": 8,
"UsedWalletAmount": 9,
"SubProductId": 10,
"FinalAmount": 11,
"ExpiryMonth": "sample string 12",
"ExpiryYear": "sample string 13",
"cardnumber": "sample string 14",
"SubscriptionTypeId": 1,
"SubscriberId": 1,
"InvoiceId": 1,
"IsRecurring": true,
"SaveCard": true,
"ChargefromLink": true
}
application/xml, text/xml
Sample:
<StripeCardPaymentDoneViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flag360.Models"> <CardId>sample string 7</CardId> <ChargefromLink>true</ChargefromLink> <ExpiryMonth>sample string 12</ExpiryMonth> <ExpiryYear>sample string 13</ExpiryYear> <FinalAmount>11</FinalAmount> <Id>1</Id> <InvoiceId>1</InvoiceId> <IsRecurring>true</IsRecurring> <Item>sample string 2</Item> <LastDigits>sample string 6</LastDigits> <ProductId>8</ProductId> <SaveCard>true</SaveCard> <SubId>sample string 4</SubId> <SubProductId>10</SubProductId> <SubscriberId>1</SubscriberId> <SubscriptionTypeId>1</SubscriptionTypeId> <Token>sample string 5</Token> <UsedWalletAmount>9</UsedWalletAmount> <Value>sample string 3</Value> <cardnumber>sample string 14</cardnumber> </StripeCardPaymentDoneViewModel>
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.