POST api/Account/CreatePaymentIntent

Request Information

URI Parameters

None.

Body Parameters

StripPaymentModel
NameDescriptionTypeAdditional information
CustomerId

string

None.

Description

string

None.

Customer

string

None.

Currency

string

None.

ConfirmationMethod

string

None.

Confirm

boolean

None.

CaptureMethod

string

None.

ApplicationFeeAmount

integer

None.

Amount

integer

None.

TransferGroup

string

None.

Address_Name

string

None.

Address_City

string

None.

Address_Country

string

None.

Address_Line1

string

None.

Address_Line2

string

None.

Address_PostalCode

string

None.

Address_State

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": "sample string 1",
  "Description": "sample string 2",
  "Customer": "sample string 3",
  "Currency": "sample string 4",
  "ConfirmationMethod": "sample string 5",
  "Confirm": true,
  "CaptureMethod": "sample string 6",
  "ApplicationFeeAmount": 1,
  "Amount": 1,
  "TransferGroup": "sample string 7",
  "Address_Name": "sample string 8",
  "Address_City": "sample string 9",
  "Address_Country": "sample string 10",
  "Address_Line1": "sample string 11",
  "Address_Line2": "sample string 12",
  "Address_PostalCode": "sample string 13",
  "Address_State": "sample string 14"
}

application/xml, text/xml

Sample:
<StripPaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.API.Models">
  <Address_City>sample string 9</Address_City>
  <Address_Country>sample string 10</Address_Country>
  <Address_Line1>sample string 11</Address_Line1>
  <Address_Line2>sample string 12</Address_Line2>
  <Address_Name>sample string 8</Address_Name>
  <Address_PostalCode>sample string 13</Address_PostalCode>
  <Address_State>sample string 14</Address_State>
  <Amount>1</Amount>
  <ApplicationFeeAmount>1</ApplicationFeeAmount>
  <CaptureMethod>sample string 6</CaptureMethod>
  <Confirm>true</Confirm>
  <ConfirmationMethod>sample string 5</ConfirmationMethod>
  <Currency>sample string 4</Currency>
  <Customer>sample string 3</Customer>
  <CustomerId>sample string 1</CustomerId>
  <Description>sample string 2</Description>
  <TransferGroup>sample string 7</TransferGroup>
</StripPaymentModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StripPaymentModel'.

Response Information

Resource Description

StripeResultViewModel
NameDescriptionTypeAdditional information
ClientSecret

string

None.

ClientID

string

None.

CustomerId

string

None.

EphemeralKey

string

None.

Id

string

None.

Success

boolean

None.

ErrorNumber

integer

None.

Status

string

None.

ErrorMsgUser

string

None.

AlreadyExists

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ClientSecret": "sample string 1",
  "ClientID": "sample string 2",
  "CustomerId": "sample string 3",
  "EphemeralKey": "sample string 4",
  "Id": "sample string 5",
  "Success": true,
  "ErrorNumber": 7,
  "Status": "sample string 8",
  "ErrorMsgUser": "sample string 9",
  "AlreadyExists": true
}

application/xml, text/xml

Sample:
<StripeResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.API.Models">
  <AlreadyExists>true</AlreadyExists>
  <ErrorMsgUser>sample string 9</ErrorMsgUser>
  <ErrorNumber>7</ErrorNumber>
  <Status>sample string 8</Status>
  <Success>true</Success>
  <ClientID>sample string 2</ClientID>
  <ClientSecret>sample string 1</ClientSecret>
  <CustomerId>sample string 3</CustomerId>
  <EphemeralKey>sample string 4</EphemeralKey>
  <Id>sample string 5</Id>
</StripeResultViewModel>