POST api/Account/SubmitPayment

Request Information

URI Parameters

None.

Body Parameters

PaymentRequest
NameDescriptionTypeAdditional information
Plan

integer

None.

SelfregisteredProviderId

integer

None.

ReceiveContactEmail

boolean

None.

ReceiveProviderEmail

boolean

None.

PlanName

string

None.

Country

string

None.

Holdername

string

None.

Amount

decimal number

None.

Email

string

None.

CardNumber

string

None.

Exp_year

string

None.

Exp_month

string

None.

Cvc

string

None.

ZIP

string

None.

token

string

None.

CustomerID

string

None.

CreatedDate

date

None.

Currency

string

None.

DeclineReason

string

None.

Description

string

None.

TransactionID

string

None.

ProviderFirstName

string

None.

ProviderLastName

string

None.

PracticeName

string

None.

ProviderEmail

string

None.

ContactEmail

string

None.

CardType

string

None.

StreetAddress

string

None.

PostalCode

string

None.

ProviderCountry

string

None.

State

string

None.

ContactNumber

string

None.

ProcessingFee

string

None.

PlanPrice

string

None.

ExtraCharge

string

None.

Duration

integer

None.

StripeResponse

string

None.

Request Formats

application/json, text/json

Sample:
{
  "plan": 1,
  "selfregisteredProviderId": 2,
  "receiveContactEmail": true,
  "receiveProviderEmail": true,
  "planName": "sample string 5",
  "country": "sample string 6",
  "holdername": "sample string 7",
  "amount": 8.0,
  "email": "sample string 9",
  "cardNumber": "sample string 10",
  "exp_year": "sample string 11",
  "exp_month": "sample string 12",
  "cvc": "sample string 13",
  "zip": "sample string 14",
  "token": "sample string 15",
  "customerID": "sample string 16",
  "createdDate": "2025-12-12T17:22:09.1025581+05:30",
  "currency": "sample string 18",
  "declineReason": "sample string 19",
  "description": "sample string 20",
  "transactionID": "sample string 21",
  "providerFirstName": "sample string 22",
  "providerLastName": "sample string 23",
  "practiceName": "sample string 24",
  "providerEmail": "sample string 25",
  "contactEmail": "sample string 26",
  "cardType": "sample string 27",
  "streetAddress": "sample string 28",
  "postalCode": "sample string 29",
  "providerCountry": "sample string 30",
  "state": "sample string 31",
  "contactNumber": "sample string 32",
  "processingFee": "sample string 33",
  "planPrice": "sample string 34",
  "extraCharge": "sample string 35",
  "duration": 36,
  "stripeResponse": "sample string 37"
}

application/xml, text/xml

Sample:
<PaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScribingSoftware.Model.DTO">
  <Amount>8</Amount>
  <CardNumber>sample string 10</CardNumber>
  <CardType>sample string 27</CardType>
  <ContactEmail>sample string 26</ContactEmail>
  <ContactNumber>sample string 32</ContactNumber>
  <Country>sample string 6</Country>
  <CreatedDate>2025-12-12T17:22:09.1025581+05:30</CreatedDate>
  <Currency>sample string 18</Currency>
  <CustomerID>sample string 16</CustomerID>
  <Cvc>sample string 13</Cvc>
  <DeclineReason>sample string 19</DeclineReason>
  <Description>sample string 20</Description>
  <Duration>36</Duration>
  <Email>sample string 9</Email>
  <Exp_month>sample string 12</Exp_month>
  <Exp_year>sample string 11</Exp_year>
  <ExtraCharge>sample string 35</ExtraCharge>
  <Holdername>sample string 7</Holdername>
  <Plan>1</Plan>
  <PlanName>sample string 5</PlanName>
  <PlanPrice>sample string 34</PlanPrice>
  <PostalCode>sample string 29</PostalCode>
  <PracticeName>sample string 24</PracticeName>
  <ProcessingFee>sample string 33</ProcessingFee>
  <ProviderCountry>sample string 30</ProviderCountry>
  <ProviderEmail>sample string 25</ProviderEmail>
  <ProviderFirstName>sample string 22</ProviderFirstName>
  <ProviderLastName>sample string 23</ProviderLastName>
  <ReceiveContactEmail>true</ReceiveContactEmail>
  <ReceiveProviderEmail>true</ReceiveProviderEmail>
  <SelfregisteredProviderId>2</SelfregisteredProviderId>
  <State>sample string 31</State>
  <StreetAddress>sample string 28</StreetAddress>
  <StripeResponse>sample string 37</StripeResponse>
  <TransactionID>sample string 21</TransactionID>
  <ZIP>sample string 14</ZIP>
  <token>sample string 15</token>
</PaymentRequest>

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.