POST api/StripePayment/ProcessPayment

Request Information

URI Parameters

None.

Body Parameters

PaymentModel
NameDescriptionTypeAdditional information
name

string

None.

custname

string

None.

Card

string

None.

total

decimal number

None.

subTotal

decimal number

None.

tax

decimal number

None.

token

string

None.

paymentintentId

string

None.

email

string

None.

country

string

None.

contentid

integer

None.

tenantid

integer

None.

userid

globally unique identifier

None.

userconset

boolean

None.

clientip

string

None.

Stripestatus

string

None.

rateCardId

integer

None.

currency

string

None.

payment_date

date

None.

Orderefenumber

string

None.

customerDataList

CustomerModel

None.

paymentSetting

boolean

None.

isDefaultChecked

boolean

None.

cardNumber

string

None.

ExpMonth

integer

None.

ExpYear

integer

None.

Cvc

string

None.

preprocessing

boolean

None.

servicetypeId

integer

None.

grandtotal

decimal number

None.

subservicetypeId

integer

None.

invokeEmailmodel

InvokeEmail

None.

titlePriority

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "custname": "sample string 2",
  "Card": "sample string 3",
  "total": 1.0,
  "subTotal": 1.0,
  "tax": 1.0,
  "token": "sample string 4",
  "paymentintentId": "sample string 5",
  "email": "sample string 6",
  "country": "sample string 7",
  "contentid": 8,
  "tenantid": 9,
  "userid": "ab077a56-e76f-4600-8936-f360798e47d9",
  "userconset": true,
  "clientip": "sample string 12",
  "Stripestatus": "sample string 13",
  "rateCardId": 1,
  "currency": "sample string 14",
  "payment_date": "2026-07-16T12:35:57.5757828+00:00",
  "Orderefenumber": "sample string 16",
  "customerDataList": {
    "id": "sample string 1",
    "cardId": "sample string 2",
    "custname": "sample string 3",
    "email": "sample string 4"
  },
  "paymentSetting": true,
  "isDefaultChecked": true,
  "cardNumber": "sample string 19",
  "ExpMonth": 1,
  "ExpYear": 1,
  "Cvc": "sample string 20",
  "preprocessing": true,
  "servicetypeId": 22,
  "grandtotal": 1.0,
  "subservicetypeId": 23,
  "invokeEmailmodel": {
    "contentName": "sample string 1",
    "episodeNos": 2,
    "SeasonNos": 3,
    "contentType": "sample string 4",
    "ratingType": "sample string 5",
    "tenantId": 6,
    "roleId": 7,
    "externalContentId": "sample string 8",
    "totalServiceAndTypeSelected": "sample string 9",
    "serviceNameDetails": "sample string 10",
    "firstName": "sample string 11",
    "lastName": "sample string 12",
    "email": "sample string 13",
    "contenId": 14,
    "userId": "sample string 15",
    "submitted": "sample string 16",
    "sxContentId": "sample string 17"
  },
  "titlePriority": 24
}

application/xml, text/xml

Sample:
<PaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Questionnaire.WebApi.Models">
  <Card>sample string 3</Card>
  <CardNumber>sample string 19</CardNumber>
  <Contentid>8</Contentid>
  <Country>sample string 7</Country>
  <Currency>sample string 14</Currency>
  <Customername>sample string 2</Customername>
  <Cvc>sample string 20</Cvc>
  <Email>sample string 6</Email>
  <ExpMonth>1</ExpMonth>
  <ExpYear>1</ExpYear>
  <Grandtotal>1</Grandtotal>
  <IsDefaultChecked>true</IsDefaultChecked>
  <Name>sample string 1</Name>
  <Orderefenumber>sample string 16</Orderefenumber>
  <PaymentSetting>true</PaymentSetting>
  <Payment_date>2026-07-16T12:35:57.5757828+00:00</Payment_date>
  <PaymentintentId>sample string 5</PaymentintentId>
  <Preprocessing>true</Preprocessing>
  <RateCardId>1</RateCardId>
  <Stripestatus>sample string 13</Stripestatus>
  <SubTotal>1</SubTotal>
  <Tax>1</Tax>
  <Tenantid>9</Tenantid>
  <Token>sample string 4</Token>
  <Total>1</Total>
  <Userconsent>true</Userconsent>
  <Userid>ab077a56-e76f-4600-8936-f360798e47d9</Userid>
  <clientip>sample string 12</clientip>
  <customerModel>
    <CardId>sample string 2</CardId>
    <Custname>sample string 3</Custname>
    <Email>sample string 4</Email>
    <Id>sample string 1</Id>
  </customerModel>
  <invokemailModel>
    <SeasonNos>3</SeasonNos>
    <contenId>14</contenId>
    <contentName>sample string 1</contentName>
    <contentType>sample string 4</contentType>
    <email>sample string 13</email>
    <episodeNos>2</episodeNos>
    <externalContentId>sample string 8</externalContentId>
    <firstName>sample string 11</firstName>
    <lastName>sample string 12</lastName>
    <ratingType>sample string 5</ratingType>
    <roleId>7</roleId>
    <serviceNameDetails>sample string 10</serviceNameDetails>
    <submitted>sample string 16</submitted>
    <sxContentId>sample string 17</sxContentId>
    <tenantId>6</tenantId>
    <totalServiceAndTypeSelected>sample string 9</totalServiceAndTypeSelected>
    <userId>sample string 15</userId>
  </invokemailModel>
  <servicetypeId>22</servicetypeId>
  <subservicetypeId>23</subservicetypeId>
  <titlePriority>24</titlePriority>
</PaymentModel>

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.