POST api/Payments/SubmitPaymentDetails

To submit online payment details in DB

Request Information

URI Parameters

None.

Body Parameters

Online Payment Logs model.

OnlinePaymentLogs
NameDescriptionTypeAdditional information
ProposalId

integer

None.

Amount

string

None.

Currency

string

None.

ReceiptingEvent

string

None.

ReceiptReference

string

None.

OrderId

string

None.

SessionKey

string

None.

RawRequest

string

None.

RawResponse

string

None.

IsPaymentSuccess

boolean

None.

Status

PaymentStatus

None.

TransactionTime

date

None.

CreatedOn

date

None.

CreatedBy

string

None.

UpdatedOn

date

None.

UpdatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProposalId": 1,
  "Amount": "sample string 1",
  "Currency": "sample string 2",
  "ReceiptingEvent": "sample string 3",
  "ReceiptReference": "sample string 4",
  "OrderId": "sample string 5",
  "SessionKey": "sample string 6",
  "RawRequest": "sample string 7",
  "RawResponse": "sample string 8",
  "IsPaymentSuccess": true,
  "Status": 1,
  "TransactionTime": "2026-04-05T01:36:59.0369132-07:00",
  "CreatedOn": "2026-04-05T01:36:59.0369132-07:00",
  "CreatedBy": "sample string 12",
  "UpdatedOn": "2026-04-05T01:36:59.0369132-07:00",
  "UpdatedBy": "sample string 14"
}

application/xml, text/xml

Sample:
<OnlinePaymentLogs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.StudentWaiverPortal.Data.Models.Payment">
  <Amount>sample string 1</Amount>
  <CreatedBy>sample string 12</CreatedBy>
  <CreatedOn>2026-04-05T01:36:59.0369132-07:00</CreatedOn>
  <Currency>sample string 2</Currency>
  <IsPaymentSuccess>true</IsPaymentSuccess>
  <OrderId>sample string 5</OrderId>
  <ProposalId>1</ProposalId>
  <RawRequest>sample string 7</RawRequest>
  <RawResponse>sample string 8</RawResponse>
  <ReceiptReference>sample string 4</ReceiptReference>
  <ReceiptingEvent>sample string 3</ReceiptingEvent>
  <SessionKey>sample string 6</SessionKey>
  <Status>Initiated</Status>
  <TransactionTime>2026-04-05T01:36:59.0369132-07:00</TransactionTime>
  <UpdatedBy>sample string 14</UpdatedBy>
  <UpdatedOn>2026-04-05T01:36:59.0369132-07:00</UpdatedOn>
</OnlinePaymentLogs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>