POST api/SearchForTransactions

Request Information

URI Parameters

None.

Body Parameters

SearchCriteriaDTO
NameDescriptionTypeAdditional information
From

date

None.

To

date

None.

PaymentId

string

None.

BookingNumber

string

None.

CreditCardBIN

string

None.

Nationality

string

None.

Request Formats

application/json, text/json

Sample:
{
  "From": "2025-12-11T16:35:23.9669617+02:00",
  "To": "2025-12-11T16:35:23.9669617+02:00",
  "PaymentId": "sample string 3",
  "BookingNumber": "sample string 4",
  "CreditCardBIN": "sample string 5",
  "Nationality": "sample string 6"
}

application/xml, text/xml

Sample:
<SearchCriteriaDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hogozati.PaymentTransaction.PrePayment.Controllers">
  <BookingNumber>sample string 4</BookingNumber>
  <CreditCardBIN>sample string 5</CreditCardBIN>
  <From>2025-12-11T16:35:23.9669617+02:00</From>
  <Nationality>sample string 6</Nationality>
  <PaymentId>sample string 3</PaymentId>
  <To>2025-12-11T16:35:23.9669617+02:00</To>
</SearchCriteriaDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of HGPaymentTransaction
NameDescriptionTypeAdditional information
HGNumber

string

None.

PaymentID

string

None.

TransID

string

None.

TransRef

string

None.

MerchantRef

string

None.

PaymentGatewayHGUniqueId

integer

None.

PaymentOrderID

string

None.

PaymentAmount

decimal number

None.

PaymentCurrency

string

None.

PaymentCreditCard

string

None.

CreditCardBank

string

None.

CreditCardNationality

string

None.

HGResponseCode

string

None.

HGResponseMessage

string

None.

PaymentGatewayCardType

string

None.

PaymentGatewayMarkupAmount

string

None.

PaymentGatewayMarkupID

string

None.

PaymentLocation

string

None.

PaymentDateTime

date

None.

PaymentCustomerIP

string

None.

FraudStatus

string

None.

HGPaymentToken

string

None.

CustomerEmail

string

None.

GatewayResponse

string

None.

Product

string

None.

paymentMethod

string

None.

GatewayCharges

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "HGNumber": "sample string 1",
    "PaymentID": "sample string 2",
    "TransID": "sample string 3",
    "TransRef": "sample string 4",
    "MerchantRef": "sample string 5",
    "PaymentGatewayHGUniqueId": 1,
    "PaymentOrderID": "sample string 6",
    "PaymentAmount": 1.0,
    "PaymentCurrency": "sample string 7",
    "PaymentCreditCard": "sample string 8",
    "CreditCardBank": "sample string 9",
    "CreditCardNationality": "sample string 10",
    "HGResponseCode": "sample string 11",
    "HGResponseMessage": "sample string 12",
    "PaymentGatewayCardType": "sample string 13",
    "PaymentGatewayMarkupAmount": "sample string 14",
    "PaymentGatewayMarkupID": "sample string 15",
    "PaymentLocation": "sample string 16",
    "PaymentDateTime": "2025-12-11T16:35:23.9669617+02:00",
    "PaymentCustomerIP": "sample string 17",
    "FraudStatus": "sample string 18",
    "HGPaymentToken": "sample string 19",
    "CustomerEmail": "sample string 20",
    "GatewayResponse": "sample string 21",
    "Product": "sample string 22",
    "paymentMethod": "sample string 23",
    "GatewayCharges": 24.0
  },
  {
    "HGNumber": "sample string 1",
    "PaymentID": "sample string 2",
    "TransID": "sample string 3",
    "TransRef": "sample string 4",
    "MerchantRef": "sample string 5",
    "PaymentGatewayHGUniqueId": 1,
    "PaymentOrderID": "sample string 6",
    "PaymentAmount": 1.0,
    "PaymentCurrency": "sample string 7",
    "PaymentCreditCard": "sample string 8",
    "CreditCardBank": "sample string 9",
    "CreditCardNationality": "sample string 10",
    "HGResponseCode": "sample string 11",
    "HGResponseMessage": "sample string 12",
    "PaymentGatewayCardType": "sample string 13",
    "PaymentGatewayMarkupAmount": "sample string 14",
    "PaymentGatewayMarkupID": "sample string 15",
    "PaymentLocation": "sample string 16",
    "PaymentDateTime": "2025-12-11T16:35:23.9669617+02:00",
    "PaymentCustomerIP": "sample string 17",
    "FraudStatus": "sample string 18",
    "HGPaymentToken": "sample string 19",
    "CustomerEmail": "sample string 20",
    "GatewayResponse": "sample string 21",
    "Product": "sample string 22",
    "paymentMethod": "sample string 23",
    "GatewayCharges": 24.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfHGPaymentTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hogozati.PaymentTransaction.PrePayment.Services">
  <HGPaymentTransaction>
    <CreditCardBank>sample string 9</CreditCardBank>
    <CreditCardNationality>sample string 10</CreditCardNationality>
    <CustomerEmail>sample string 20</CustomerEmail>
    <FraudStatus>sample string 18</FraudStatus>
    <GatewayCharges>24</GatewayCharges>
    <GatewayResponse>sample string 21</GatewayResponse>
    <HGNumber>sample string 1</HGNumber>
    <HGPaymentToken>sample string 19</HGPaymentToken>
    <HGResponseCode>sample string 11</HGResponseCode>
    <HGResponseMessage>sample string 12</HGResponseMessage>
    <MerchantRef>sample string 5</MerchantRef>
    <PaymentAmount>1</PaymentAmount>
    <PaymentCreditCard>sample string 8</PaymentCreditCard>
    <PaymentCurrency>sample string 7</PaymentCurrency>
    <PaymentCustomerIP>sample string 17</PaymentCustomerIP>
    <PaymentDateTime>2025-12-11T16:35:23.9669617+02:00</PaymentDateTime>
    <PaymentGatewayCardType>sample string 13</PaymentGatewayCardType>
    <PaymentGatewayHGUniqueId>1</PaymentGatewayHGUniqueId>
    <PaymentGatewayMarkupAmount>sample string 14</PaymentGatewayMarkupAmount>
    <PaymentGatewayMarkupID>sample string 15</PaymentGatewayMarkupID>
    <PaymentID>sample string 2</PaymentID>
    <PaymentLocation>sample string 16</PaymentLocation>
    <PaymentOrderID>sample string 6</PaymentOrderID>
    <Product>sample string 22</Product>
    <TransID>sample string 3</TransID>
    <TransRef>sample string 4</TransRef>
    <paymentMethod>sample string 23</paymentMethod>
  </HGPaymentTransaction>
  <HGPaymentTransaction>
    <CreditCardBank>sample string 9</CreditCardBank>
    <CreditCardNationality>sample string 10</CreditCardNationality>
    <CustomerEmail>sample string 20</CustomerEmail>
    <FraudStatus>sample string 18</FraudStatus>
    <GatewayCharges>24</GatewayCharges>
    <GatewayResponse>sample string 21</GatewayResponse>
    <HGNumber>sample string 1</HGNumber>
    <HGPaymentToken>sample string 19</HGPaymentToken>
    <HGResponseCode>sample string 11</HGResponseCode>
    <HGResponseMessage>sample string 12</HGResponseMessage>
    <MerchantRef>sample string 5</MerchantRef>
    <PaymentAmount>1</PaymentAmount>
    <PaymentCreditCard>sample string 8</PaymentCreditCard>
    <PaymentCurrency>sample string 7</PaymentCurrency>
    <PaymentCustomerIP>sample string 17</PaymentCustomerIP>
    <PaymentDateTime>2025-12-11T16:35:23.9669617+02:00</PaymentDateTime>
    <PaymentGatewayCardType>sample string 13</PaymentGatewayCardType>
    <PaymentGatewayHGUniqueId>1</PaymentGatewayHGUniqueId>
    <PaymentGatewayMarkupAmount>sample string 14</PaymentGatewayMarkupAmount>
    <PaymentGatewayMarkupID>sample string 15</PaymentGatewayMarkupID>
    <PaymentID>sample string 2</PaymentID>
    <PaymentLocation>sample string 16</PaymentLocation>
    <PaymentOrderID>sample string 6</PaymentOrderID>
    <Product>sample string 22</Product>
    <TransID>sample string 3</TransID>
    <TransRef>sample string 4</TransRef>
    <paymentMethod>sample string 23</paymentMethod>
  </HGPaymentTransaction>
</ArrayOfHGPaymentTransaction>