POST Finance/CreatePayment
Request Information
URI Parameters
None.
Body Parameters
SecurityTokenVerifiedCreatePaymentRequestName | Description | Type | Additional information |
---|---|---|---|
AccountTypeId | integer |
None. |
|
PaymentMethodId | integer |
None. |
|
FinancialDate | date |
None. |
|
Amount | decimal number |
None. |
|
SecurityKey | string |
None. |
|
PolicyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountTypeId": 1, "PaymentMethodId": 2, "FinancialDate": "2025-05-14T01:44:41.577433+02:00", "Amount": 4.0, "SecurityKey": "sample string 5", "PolicyId": 6 }
application/xml, text/xml
Sample:
<SecurityTokenVerifiedCreatePaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.oneplan.co.za.Models"> <PolicyId>6</PolicyId> <SecurityKey>sample string 5</SecurityKey> <AccountTypeId>1</AccountTypeId> <Amount>4</Amount> <FinancialDate>2025-05-14T01:44:41.577433+02:00</FinancialDate> <PaymentMethodId>2</PaymentMethodId> </SecurityTokenVerifiedCreatePaymentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfInt32Name | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Message | string |
None. |
|
Entity | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Message": "sample string 2", "Entity": 3 }
application/xml, text/xml
Sample:
<ResponseOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core"> <Entity>3</Entity> <Message>sample string 2</Message> <Success>true</Success> </ResponseOfint>