POST api/Payment/SavePaymentResponse

Save Payment Response

Request Information

URI Parameters

None.

Body Parameters

Collection of PaymentResponseModel
NameDescriptionTypeAdditional information
Amount

decimal number

None.

Currency

string

None.

ReceiptingEvent

string

None.

OrderId

string

None.

IsPaymentSuccess

boolean

None.

TransactionTime

date

None.

RawResponse

string

None.

CreatedOn

date

None.

CreatedBy

string

None.

Status

string

None.

SessionKey

globally unique identifier

None.

PaymentRefernceNumber

string

None.

ConfirmationCode

string

None.

RVFReferenceId

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Amount": 1.0,
    "Currency": "sample string 1",
    "ReceiptingEvent": "sample string 2",
    "OrderId": "sample string 3",
    "IsPaymentSuccess": true,
    "TransactionTime": "2025-05-02T07:40:19.7789531-07:00",
    "RawResponse": "sample string 4",
    "CreatedOn": "2025-05-02T07:40:19.7789531-07:00",
    "CreatedBy": "sample string 5",
    "Status": "sample string 6",
    "SessionKey": "1cd174a5-4534-4bb5-b93d-4baa48551498",
    "PaymentRefernceNumber": "sample string 7",
    "ConfirmationCode": "sample string 8",
    "RVFReferenceId": "sample string 9"
  },
  {
    "Amount": 1.0,
    "Currency": "sample string 1",
    "ReceiptingEvent": "sample string 2",
    "OrderId": "sample string 3",
    "IsPaymentSuccess": true,
    "TransactionTime": "2025-05-02T07:40:19.7789531-07:00",
    "RawResponse": "sample string 4",
    "CreatedOn": "2025-05-02T07:40:19.7789531-07:00",
    "CreatedBy": "sample string 5",
    "Status": "sample string 6",
    "SessionKey": "1cd174a5-4534-4bb5-b93d-4baa48551498",
    "PaymentRefernceNumber": "sample string 7",
    "ConfirmationCode": "sample string 8",
    "RVFReferenceId": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPaymentResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.MemberPortal.Data.Models.Payment">
  <PaymentResponseModel>
    <Amount>1</Amount>
    <ConfirmationCode>sample string 8</ConfirmationCode>
    <CreatedBy>sample string 5</CreatedBy>
    <CreatedOn>2025-05-02T07:40:19.7789531-07:00</CreatedOn>
    <Currency>sample string 1</Currency>
    <IsPaymentSuccess>true</IsPaymentSuccess>
    <OrderId>sample string 3</OrderId>
    <PaymentRefernceNumber>sample string 7</PaymentRefernceNumber>
    <RVFReferenceId>sample string 9</RVFReferenceId>
    <RawResponse>sample string 4</RawResponse>
    <ReceiptingEvent>sample string 2</ReceiptingEvent>
    <SessionKey>1cd174a5-4534-4bb5-b93d-4baa48551498</SessionKey>
    <Status>sample string 6</Status>
    <TransactionTime>2025-05-02T07:40:19.7789531-07:00</TransactionTime>
  </PaymentResponseModel>
  <PaymentResponseModel>
    <Amount>1</Amount>
    <ConfirmationCode>sample string 8</ConfirmationCode>
    <CreatedBy>sample string 5</CreatedBy>
    <CreatedOn>2025-05-02T07:40:19.7789531-07:00</CreatedOn>
    <Currency>sample string 1</Currency>
    <IsPaymentSuccess>true</IsPaymentSuccess>
    <OrderId>sample string 3</OrderId>
    <PaymentRefernceNumber>sample string 7</PaymentRefernceNumber>
    <RVFReferenceId>sample string 9</RVFReferenceId>
    <RawResponse>sample string 4</RawResponse>
    <ReceiptingEvent>sample string 2</ReceiptingEvent>
    <SessionKey>1cd174a5-4534-4bb5-b93d-4baa48551498</SessionKey>
    <Status>sample string 6</Status>
    <TransactionTime>2025-05-02T07:40:19.7789531-07:00</TransactionTime>
  </PaymentResponseModel>
</ArrayOfPaymentResponseModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>