POST api/UserCreditApi/InsertStripeHistory

Request Information

URI Parameters

None.

Body Parameters

UserCreditViewModel
NameDescriptionTypeAdditional information
CreditVolume

integer

None.

LoginId

integer

None.

TotalCost

decimal number

None.

VatPercent

decimal number

None.

CostPerMessage

decimal number

None.

StripePaymentId

string

None.

StripeResponse

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CreditVolume": 1,
  "LoginId": 1,
  "TotalCost": 2.0,
  "VatPercent": 3.0,
  "CostPerMessage": 4.0,
  "StripePaymentId": "sample string 5",
  "StripeResponse": "sample string 6"
}

application/xml, text/xml

Sample:
<UserCreditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMS.DataModels">
  <CostPerMessage>4</CostPerMessage>
  <CreditVolume>1</CreditVolume>
  <LoginId>1</LoginId>
  <StripePaymentId>sample string 5</StripePaymentId>
  <StripeResponse>sample string 6</StripeResponse>
  <TotalCost>2</TotalCost>
  <VatPercent>3</VatPercent>
</UserCreditViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>