POST api/v1/Add_Edit_PaymentGateway

Request Information

Body Parameters

PaymentGatewayModel
NameDescriptionTypeAdditional information
PaymentGatewayId

integer

None.

GatewayName

string

None.

GatewayTitle

string

None.

GatewayURL

string

None.

GatewayPort

string

None.

Key1

string

None.

Key2

string

None.

Key3

string

None.

Key4

string

None.

Key5

string

None.

Key6

string

None.

Key7

string

None.

Key8

string

None.

Key9

string

None.

Key10

string

None.

PaymentGatewayMode

integer

None.

ShowInPortal

boolean

None.

ConnectionTimeout

string

None.

RequestRetries

string

None.

CreatedBy

integer

None.

CreatedOn

date

None.

IsActive

boolean

None.

IsLogicalDeleted

boolean

None.

IsDefault

boolean

None.

ClientId

integer

None.

ModifiedOn

date

None.

ModifiedBy

integer

None.

PayPalMode

string

None.

PayPalClientId

string

None.

PayPalClientSecret

string

None.

PayPalConnectionTimeout

string

None.

PayPalRequestRetries

string

None.

StripeSecretKey

string

None.

StripePublishableKey

string

None.

WireInformation

string

None.

AdminMemberId

integer

None.

Keys

Dictionary of string [key] and string [value]

None.

Request Formats
{
  "PaymentGatewayId": 1,
  "GatewayName": "sample string 2",
  "GatewayTitle": "sample string 3",
  "GatewayURL": "sample string 4",
  "GatewayPort": "sample string 5",
  "Key1": "sample string 6",
  "Key2": "sample string 7",
  "Key3": "sample string 8",
  "Key4": "sample string 9",
  "Key5": "sample string 10",
  "Key6": "sample string 11",
  "Key7": "sample string 12",
  "Key8": "sample string 13",
  "Key9": "sample string 14",
  "Key10": "sample string 15",
  "PaymentGatewayMode": 16,
  "ShowInPortal": true,
  "ConnectionTimeout": "sample string 18",
  "RequestRetries": "sample string 19",
  "CreatedBy": 20,
  "CreatedOn": "2025-06-18T11:23:42.1618597+00:00",
  "IsActive": true,
  "IsLogicalDeleted": true,
  "IsDefault": true,
  "ClientId": 25,
  "ModifiedOn": "2025-06-18T11:23:42.1618597+00:00",
  "ModifiedBy": 27,
  "PayPalMode": "sample string 28",
  "PayPalClientId": "sample string 29",
  "PayPalClientSecret": "sample string 30",
  "PayPalConnectionTimeout": "sample string 31",
  "PayPalRequestRetries": "sample string 32",
  "StripeSecretKey": "sample string 33",
  "StripePublishableKey": "sample string 34",
  "WireInformation": "sample string 35",
  "AdminMemberId": 36,
  "Keys": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  }
}
{"PaymentGatewayId":1,"GatewayName":"sample string 2","GatewayTitle":"sample string 3","GatewayURL":"sample string 4","GatewayPort":"sample string 5","Key1":"sample string 6","Key2":"sample string 7","Key3":"sample string 8","Key4":"sample string 9","Key5":"sample string 10","Key6":"sample string 11","Key7":"sample string 12","Key8":"sample string 13","Key9":"sample string 14","Key10":"sample string 15","PaymentGatewayMode":16,"ShowInPortal":true,"ConnectionTimeout":"sample string 18","RequestRetries":"sample string 19","CreatedBy":20,"CreatedOn":"2025-06-18T11:23:42.1618597+00:00","IsActive":true,"IsLogicalDeleted":true,"IsDefault":true,"ClientId":25,"ModifiedOn":"2025-06-18T11:23:42.1618597+00:00","ModifiedBy":27,"PayPalMode":"sample string 28","PayPalClientId":"sample string 29","PayPalClientSecret":"sample string 30","PayPalConnectionTimeout":"sample string 31","PayPalRequestRetries":"sample string 32","StripeSecretKey":"sample string 33","StripePublishableKey":"sample string 34","WireInformation":"sample string 35","AdminMemberId":36,"Keys":{"sample string 1":"sample string 2","sample string 3":"sample string 4"}}
<PaymentGatewayModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Payment">
  <AdminMemberId>36</AdminMemberId>
  <ClientId>25</ClientId>
  <ConnectionTimeout>sample string 18</ConnectionTimeout>
  <CreatedBy>20</CreatedBy>
  <CreatedOn>2025-06-18T11:23:42.1618597+00:00</CreatedOn>
  <GatewayName>sample string 2</GatewayName>
  <GatewayPort>sample string 5</GatewayPort>
  <GatewayTitle>sample string 3</GatewayTitle>
  <GatewayURL>sample string 4</GatewayURL>
  <IsActive>true</IsActive>
  <IsDefault>true</IsDefault>
  <IsLogicalDeleted>true</IsLogicalDeleted>
  <Key1>sample string 6</Key1>
  <Key10>sample string 15</Key10>
  <Key2>sample string 7</Key2>
  <Key3>sample string 8</Key3>
  <Key4>sample string 9</Key4>
  <Key5>sample string 10</Key5>
  <Key6>sample string 11</Key6>
  <Key7>sample string 12</Key7>
  <Key8>sample string 13</Key8>
  <Key9>sample string 14</Key9>
  <Keys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Keys>
  <ModifiedBy>27</ModifiedBy>
  <ModifiedOn>2025-06-18T11:23:42.1618597+00:00</ModifiedOn>
  <PayPalClientId>sample string 29</PayPalClientId>
  <PayPalClientSecret>sample string 30</PayPalClientSecret>
  <PayPalConnectionTimeout>sample string 31</PayPalConnectionTimeout>
  <PayPalMode>sample string 28</PayPalMode>
  <PayPalRequestRetries>sample string 32</PayPalRequestRetries>
  <PaymentGatewayId>1</PaymentGatewayId>
  <PaymentGatewayMode>16</PaymentGatewayMode>
  <RequestRetries>sample string 19</RequestRetries>
  <ShowInPortal>true</ShowInPortal>
  <StripePublishableKey>sample string 34</StripePublishableKey>
  <StripeSecretKey>sample string 33</StripeSecretKey>
  <WireInformation>sample string 35</WireInformation>
</PaymentGatewayModel>

Sample not available.

Response Information

Description:

Return type: integer

Response Formats
1
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>