POST api/v1/initiate-payment

Request Information

Body Parameters

InitiatePaymentRequest
NameDescriptionTypeAdditional information
UserId

string

None.

ClientId

integer

None.

SellerId

integer

None.

PaymentMode

integer

None.

Amount

decimal number

None.

Currency

string

None.

Name

string

None.

Email

string

None.

Phone

string

None.

Request Formats
{
  "UserId": "sample string 1",
  "ClientId": 2,
  "SellerId": 3,
  "PaymentMode": 4,
  "Amount": 5.0,
  "Currency": "sample string 6",
  "Name": "sample string 7",
  "Email": "sample string 8",
  "Phone": "sample string 9"
}
{"UserId":"sample string 1","ClientId":2,"SellerId":3,"PaymentMode":4,"Amount":5.0,"Currency":"sample string 6","Name":"sample string 7","Email":"sample string 8","Phone":"sample string 9"}
<InitiatePaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Account">
  <Amount>5</Amount>
  <ClientId>2</ClientId>
  <Currency>sample string 6</Currency>
  <Email>sample string 8</Email>
  <Name>sample string 7</Name>
  <PaymentMode>4</PaymentMode>
  <Phone>sample string 9</Phone>
  <SellerId>3</SellerId>
  <UserId>sample string 1</UserId>
</InitiatePaymentRequest>

Sample not available.

Response Information

Description:

Return type: InitiatePaymentResponse

Response Formats
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "CustomerId": "sample string 3",
  "ClientSecret": "sample string 4",
  "PaymentType": "sample string 5"
}
{"IsSuccess":true,"Message":"sample string 2","CustomerId":"sample string 3","ClientSecret":"sample string 4","PaymentType":"sample string 5"}
<InitiatePaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Account">
  <ClientSecret>sample string 4</ClientSecret>
  <CustomerId>sample string 3</CustomerId>
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <PaymentType>sample string 5</PaymentType>
</InitiatePaymentResponse>