POST unc/api/v1/Payment

Request Information

URI Parameters

None.

Body Parameters

Payment
NameDescriptionTypeAdditional information
paymentID

string

None.

accountName

string

None.

referenceNo

string

None.

amount

decimal number

None.

datePaid

date

None.

apiKey

string

None.

branchDetails

string

None.

paymentIDType

enumPaymentIDType

None.

Request Formats

application/json, text/json

Sample:
{
  "paymentID": "sample string 1",
  "accountName": "sample string 2",
  "referenceNo": "sample string 3",
  "amount": 4.0,
  "datePaid": "2025-04-25T17:49:55.4544206+08:00",
  "apiKey": "sample string 6",
  "branchDetails": "sample string 7",
  "paymentIDType": 2
}

application/xml, text/xml

Sample:
<Payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OES_api.Models">
  <accountName>sample string 2</accountName>
  <amount>4</amount>
  <apiKey>sample string 6</apiKey>
  <branchDetails>sample string 7</branchDetails>
  <datePaid>2025-04-25T17:49:55.4544206+08:00</datePaid>
  <paymentID>sample string 1</paymentID>
  <referenceNo>sample string 3</referenceNo>
</Payment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
code

string

None.

message

string

None.

status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "message": "sample string 2",
  "status": "sample string 3"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OES_api.Models">
  <code>sample string 1</code>
  <message>sample string 2</message>
  <status>sample string 3</status>
</Response>