POST api/stripe/payment/create

Request Information

URI Parameters

None.

Body Parameters

CheckoutPaymentRequest
NameDescriptionTypeAdditional information
CheckoutID

integer

None.

Amount

decimal number

None.

KlarnaFee

decimal number

None.

Description

string

None.

AllowLink

boolean

None.

AllowKlarna

boolean

None.

AllowAfterpay

boolean

None.

AllowAffirm

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CheckoutID": 1,
  "Amount": 2.0,
  "KlarnaFee": 3.0,
  "Description": "sample string 4",
  "AllowLink": true,
  "AllowKlarna": true,
  "AllowAfterpay": true,
  "AllowAffirm": true
}

application/xml, text/xml

Sample:
<CheckoutPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reemy.StripeService">
  <AllowAffirm>true</AllowAffirm>
  <AllowAfterpay>true</AllowAfterpay>
  <AllowKlarna>true</AllowKlarna>
  <AllowLink>true</AllowLink>
  <Amount>2</Amount>
  <CheckoutID>1</CheckoutID>
  <Description>sample string 4</Description>
  <KlarnaFee>3</KlarnaFee>
</CheckoutPaymentRequest>

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.