POST api/PaymentModule/AccountPaymentMethodSaveOrUpdate
Request Information
URI Parameters
None.
Body Parameters
AccountPaymentMethodModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DBNo | integer |
None. |
|
| AppNo | integer |
None. |
|
| UserPaymentMethodID | integer |
None. |
|
| CategoryClassificationID | integer |
None. |
|
| PaymentMethodID | integer |
None. |
|
| CardCompanyID | integer |
None. |
|
| CardHolderName | string |
None. |
|
| CardNumber | string |
None. |
|
| CardSecurityCode | string |
None. |
|
| CardExpiray | string |
None. |
|
| PayPalEmail | string |
None. |
|
| CountryID | integer |
None. |
|
| AccountNumber | string |
None. |
|
| IBANNumber | string |
None. |
|
| BankName | string |
None. |
|
| BankID | integer |
None. |
|
| SelectedBank | string |
None. |
|
| BranchCode | string |
None. |
|
| AccountTitle | string |
None. |
|
| AccountTypeID | integer |
None. |
|
| UserProfileID | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| ApprovedDate | date |
None. |
|
| ApprovedBy | integer |
None. |
|
| LogId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DBNo": 1,
"AppNo": 1,
"UserPaymentMethodID": 1,
"CategoryClassificationID": 1,
"PaymentMethodID": 2,
"CardCompanyID": 1,
"CardHolderName": "sample string 3",
"CardNumber": "sample string 4",
"CardSecurityCode": "sample string 5",
"CardExpiray": "sample string 6",
"PayPalEmail": "sample string 7",
"CountryID": 1,
"AccountNumber": "sample string 8",
"IBANNumber": "sample string 9",
"BankName": "sample string 10",
"BankID": 1,
"SelectedBank": "sample string 11",
"BranchCode": "sample string 12",
"AccountTitle": "sample string 13",
"AccountTypeID": 1,
"UserProfileID": 14,
"IsActive": true,
"IsDeleted": true,
"CreatedDate": "2026-04-06T21:31:17.5807154-05:00",
"CreatedBy": 17,
"UpdatedDate": "2026-04-06T21:31:17.5827344-05:00",
"UpdatedBy": 1,
"ApprovedDate": "2026-04-06T21:31:17.58337-05:00",
"ApprovedBy": 1,
"LogId": 18
}
application/xml, text/xml
Sample:
<AccountPaymentMethodModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Model"> <AccountNumber>sample string 8</AccountNumber> <AccountTitle>sample string 13</AccountTitle> <AccountTypeID>1</AccountTypeID> <AppNo>1</AppNo> <ApprovedBy>1</ApprovedBy> <ApprovedDate>2026-04-06T21:31:17.58337-05:00</ApprovedDate> <BankID>1</BankID> <BankName>sample string 10</BankName> <BranchCode>sample string 12</BranchCode> <CardCompanyID>1</CardCompanyID> <CardExpiray>sample string 6</CardExpiray> <CardHolderName>sample string 3</CardHolderName> <CardNumber>sample string 4</CardNumber> <CardSecurityCode>sample string 5</CardSecurityCode> <CategoryClassificationID>1</CategoryClassificationID> <CountryID>1</CountryID> <CreatedBy>17</CreatedBy> <CreatedDate>2026-04-06T21:31:17.5807154-05:00</CreatedDate> <DBNo>1</DBNo> <IBANNumber>sample string 9</IBANNumber> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <LogId>18</LogId> <PayPalEmail>sample string 7</PayPalEmail> <PaymentMethodID>2</PaymentMethodID> <SelectedBank>sample string 11</SelectedBank> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2026-04-06T21:31:17.5827344-05:00</UpdatedDate> <UserPaymentMethodID>1</UserPaymentMethodID> <UserProfileID>14</UserProfileID> </AccountPaymentMethodModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | ResultStatus |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Generics"> <Data /> <Message>sample string 1</Message> <Status>Success</Status> </Result>