POST
api/v1/update-payment-details?clientId={clientId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId | integer |
Required |
Body Parameters
PaymentMethodModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SellerId | integer |
None. |
|
| ClientId | integer |
None. |
|
| Amount | integer |
None. |
|
| SellerName | string |
None. |
|
| CompanyName | string |
None. |
|
| PaymentGetwayTypeId | integer |
None. |
|
| PaymentGatewayId | integer |
None. |
|
| PaymentGatewayName | string |
None. |
|
| PaymentMethods | Collection of SelectListItem |
None. |
|
| APIKey | string |
None. |
|
| APIUrl | string |
None. |
|
| TransactionKey | string |
None. |
|
| AccountNumber | string |
None. |
|
| MeterNumber | string |
None. |
Request Formats
application/json, text/json
{
"SellerId": 1,
"ClientId": 2,
"Amount": 3,
"SellerName": "sample string 4",
"CompanyName": "sample string 5",
"PaymentGetwayTypeId": 1,
"PaymentGatewayId": 1,
"PaymentGatewayName": "sample string 6",
"PaymentMethods": [
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
},
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
}
],
"APIKey": "sample string 7",
"APIUrl": "sample string 8",
"TransactionKey": "sample string 9",
"AccountNumber": "sample string 10",
"MeterNumber": "sample string 11"
}
text/html
{"SellerId":1,"ClientId":2,"Amount":3,"SellerName":"sample string 4","CompanyName":"sample string 5","PaymentGetwayTypeId":1,"PaymentGatewayId":1,"PaymentGatewayName":"sample string 6","PaymentMethods":[{"Disabled":true,"Group":{"Disabled":true,"Name":"sample string 2"},"Selected":true,"Text":"sample string 3","Value":"sample string 4"},{"Disabled":true,"Group":{"Disabled":true,"Name":"sample string 2"},"Selected":true,"Text":"sample string 3","Value":"sample string 4"}],"APIKey":"sample string 7","APIUrl":"sample string 8","TransactionKey":"sample string 9","AccountNumber":"sample string 10","MeterNumber":"sample string 11"}
application/xml, text/xml
<PaymentMethodModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Payment">
<APIKey>sample string 7</APIKey>
<APIUrl>sample string 8</APIUrl>
<AccountNumber>sample string 10</AccountNumber>
<Amount>3</Amount>
<ClientId>2</ClientId>
<CompanyName>sample string 5</CompanyName>
<MeterNumber>sample string 11</MeterNumber>
<PaymentGatewayId>1</PaymentGatewayId>
<PaymentGatewayName>sample string 6</PaymentGatewayName>
<PaymentGetwayTypeId>1</PaymentGetwayTypeId>
<PaymentMethods xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<d2p1:SelectListItem>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Group>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:Group>
<d2p1:Selected>true</d2p1:Selected>
<d2p1:Text>sample string 3</d2p1:Text>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:SelectListItem>
<d2p1:SelectListItem>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Group>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:Group>
<d2p1:Selected>true</d2p1:Selected>
<d2p1:Text>sample string 3</d2p1:Text>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:SelectListItem>
</PaymentMethods>
<SellerId>1</SellerId>
<SellerName>sample string 4</SellerName>
<TransactionKey>sample string 9</TransactionKey>
</PaymentMethodModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Description:
Return type: boolean
Response Formats
application/json, text/json, text/html
true
application/xml, text/xml
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>
