POST api/PaymentIntentApi/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.

data

Object

None.

UserProgress

UserProgressResponse

None.

TOKEN

string

None.

TokenType

string

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,
  "data": {},
  "UserProgress": {
    "UserProgress": {
      "ID": 1,
      "Stage": "sample string 2",
      "Screen": "sample string 3",
      "Action": "sample string 4",
      "Color": "sample string 5",
      "StartPercentage": "sample string 6",
      "EndPercentage": "sample string 7",
      "TotalPercentage": "sample string 8",
      "SectionId": 1,
      "SectionTotalPercentage": 1,
      "UserId": "dce1c04f-4334-4b2a-9f5c-755717551211"
    },
    "Sections": [
      {
        "SectionId": 1,
        "SectionTotalPercentage": 1
      },
      {
        "SectionId": 1,
        "SectionTotalPercentage": 1
      }
    ]
  },
  "TOKEN": "sample string 12",
  "TokenType": "sample string 13"
}

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>
  <TOKEN>sample string 12</TOKEN>
  <TokenType>sample string 13</TokenType>
  <UserProgress xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
    <d2p1:Sections>
      <d2p1:Sections>
        <d2p1:SectionId>1</d2p1:SectionId>
        <d2p1:SectionTotalPercentage>1</d2p1:SectionTotalPercentage>
      </d2p1:Sections>
      <d2p1:Sections>
        <d2p1:SectionId>1</d2p1:SectionId>
        <d2p1:SectionTotalPercentage>1</d2p1:SectionTotalPercentage>
      </d2p1:Sections>
    </d2p1:Sections>
    <d2p1:UserProgress>
      <d2p1:Action>sample string 4</d2p1:Action>
      <d2p1:Color>sample string 5</d2p1:Color>
      <d2p1:EndPercentage>sample string 7</d2p1:EndPercentage>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:Screen>sample string 3</d2p1:Screen>
      <d2p1:SectionId>1</d2p1:SectionId>
      <d2p1:SectionTotalPercentage>1</d2p1:SectionTotalPercentage>
      <d2p1:Stage>sample string 2</d2p1:Stage>
      <d2p1:StartPercentage>sample string 6</d2p1:StartPercentage>
      <d2p1:TotalPercentage>sample string 8</d2p1:TotalPercentage>
      <d2p1:UserId>dce1c04f-4334-4b2a-9f5c-755717551211</d2p1:UserId>
    </d2p1:UserProgress>
  </UserProgress>
  <data />
  <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>