POST
api/v1/Add_Edit_PaymentGateway
Request Information
Body Parameters
PaymentGatewayModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentGatewayId | integer |
None. |
|
| PaymentGetwayTypeId | integer |
None. |
|
| Amount | string |
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
application/json, text/json
{
"PaymentGatewayId": 1,
"PaymentGetwayTypeId": 2,
"Amount": "sample string 3",
"GatewayName": "sample string 4",
"GatewayTitle": "sample string 5",
"GatewayURL": "sample string 6",
"GatewayPort": "sample string 7",
"Key1": "sample string 8",
"Key2": "sample string 9",
"Key3": "sample string 10",
"Key4": "sample string 11",
"Key5": "sample string 12",
"Key6": "sample string 13",
"Key7": "sample string 14",
"Key8": "sample string 15",
"Key9": "sample string 16",
"Key10": "sample string 17",
"PaymentGatewayMode": 18,
"ShowInPortal": true,
"ConnectionTimeout": "sample string 20",
"RequestRetries": "sample string 21",
"CreatedBy": 22,
"CreatedOn": "2026-02-04T11:30:12.3210468+00:00",
"IsActive": true,
"IsLogicalDeleted": true,
"IsDefault": true,
"ClientId": 27,
"ModifiedOn": "2026-02-04T11:30:12.3210468+00:00",
"ModifiedBy": 29,
"PayPalMode": "sample string 30",
"PayPalClientId": "sample string 31",
"PayPalClientSecret": "sample string 32",
"PayPalConnectionTimeout": "sample string 33",
"PayPalRequestRetries": "sample string 34",
"StripeSecretKey": "sample string 35",
"StripePublishableKey": "sample string 36",
"WireInformation": "sample string 37",
"AdminMemberId": 38,
"Keys": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
}
text/html
{"PaymentGatewayId":1,"PaymentGetwayTypeId":2,"Amount":"sample string 3","GatewayName":"sample string 4","GatewayTitle":"sample string 5","GatewayURL":"sample string 6","GatewayPort":"sample string 7","Key1":"sample string 8","Key2":"sample string 9","Key3":"sample string 10","Key4":"sample string 11","Key5":"sample string 12","Key6":"sample string 13","Key7":"sample string 14","Key8":"sample string 15","Key9":"sample string 16","Key10":"sample string 17","PaymentGatewayMode":18,"ShowInPortal":true,"ConnectionTimeout":"sample string 20","RequestRetries":"sample string 21","CreatedBy":22,"CreatedOn":"2026-02-04T11:30:12.3210468+00:00","IsActive":true,"IsLogicalDeleted":true,"IsDefault":true,"ClientId":27,"ModifiedOn":"2026-02-04T11:30:12.3210468+00:00","ModifiedBy":29,"PayPalMode":"sample string 30","PayPalClientId":"sample string 31","PayPalClientSecret":"sample string 32","PayPalConnectionTimeout":"sample string 33","PayPalRequestRetries":"sample string 34","StripeSecretKey":"sample string 35","StripePublishableKey":"sample string 36","WireInformation":"sample string 37","AdminMemberId":38,"Keys":{"sample string 1":"sample string 2","sample string 3":"sample string 4"}}
application/xml, text/xml
<PaymentGatewayModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Payment">
<AdminMemberId>38</AdminMemberId>
<Amount>sample string 3</Amount>
<ClientId>27</ClientId>
<ConnectionTimeout>sample string 20</ConnectionTimeout>
<CreatedBy>22</CreatedBy>
<CreatedOn>2026-02-04T11:30:12.3210468+00:00</CreatedOn>
<GatewayName>sample string 4</GatewayName>
<GatewayPort>sample string 7</GatewayPort>
<GatewayTitle>sample string 5</GatewayTitle>
<GatewayURL>sample string 6</GatewayURL>
<IsActive>true</IsActive>
<IsDefault>true</IsDefault>
<IsLogicalDeleted>true</IsLogicalDeleted>
<Key1>sample string 8</Key1>
<Key10>sample string 17</Key10>
<Key2>sample string 9</Key2>
<Key3>sample string 10</Key3>
<Key4>sample string 11</Key4>
<Key5>sample string 12</Key5>
<Key6>sample string 13</Key6>
<Key7>sample string 14</Key7>
<Key8>sample string 15</Key8>
<Key9>sample string 16</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>29</ModifiedBy>
<ModifiedOn>2026-02-04T11:30:12.3210468+00:00</ModifiedOn>
<PayPalClientId>sample string 31</PayPalClientId>
<PayPalClientSecret>sample string 32</PayPalClientSecret>
<PayPalConnectionTimeout>sample string 33</PayPalConnectionTimeout>
<PayPalMode>sample string 30</PayPalMode>
<PayPalRequestRetries>sample string 34</PayPalRequestRetries>
<PaymentGatewayId>1</PaymentGatewayId>
<PaymentGatewayMode>18</PaymentGatewayMode>
<PaymentGetwayTypeId>2</PaymentGetwayTypeId>
<RequestRetries>sample string 21</RequestRetries>
<ShowInPortal>true</ShowInPortal>
<StripePublishableKey>sample string 36</StripePublishableKey>
<StripeSecretKey>sample string 35</StripeSecretKey>
<WireInformation>sample string 37</WireInformation>
</PaymentGatewayModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Description:
Return type: integer
Response Formats
application/json, text/json, text/html
1
application/xml, text/xml
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
