POST api/Merchant/v1/GetSettlementTransactions

Method returns all settlement transactions paid for payment provider during given date interval.

Request Information

URI Parameters

None.

Body Parameters

GetSettlementTransactionsRequest
NameDescriptionTypeAdditional information
paymentProviderId

Id of payment provider (M)

globally unique identifier

None.

startDate

Start date of transactions returned. If null Today - 30 days used.

date

None.

endDate

End date of transactions returned. If null Today used.

date

None.

OrganizationCode

string

None.

UserName

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "paymentProviderId": "53b373b3-ab51-48a4-9a9d-91def8adcfbd",
  "startDate": "2025-05-02T16:23:17.9324897+00:00",
  "endDate": "2025-05-02T16:23:17.9324897+00:00",
  "OrganizationCode": "sample string 2",
  "UserName": "sample string 3",
  "Password": "sample string 4"
}

application/xml, text/xml

Sample:
<GetSettlementTransactionsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers.Merchant">
  <OrganizationCode xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 2</OrganizationCode>
  <Password xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 4</Password>
  <UserName xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 3</UserName>
  <endDate>2025-05-02T16:23:17.9324897+00:00</endDate>
  <paymentProviderId>53b373b3-ab51-48a4-9a9d-91def8adcfbd</paymentProviderId>
  <startDate>2025-05-02T16:23:17.9324897+00:00</startDate>
</GetSettlementTransactionsRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetSettlementTransactionsRequest'.

Response Information

Resource Description

GetSettlementTransactionsReply
NameDescriptionTypeAdditional information
Reply

Collection of AccountTransaction

None.

Ok

boolean

None.

ErrorMessage

string

None.

ErrorCode

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Reply": [
    {
      "Id": "76ebba1a-deab-42b5-acdd-9c87683ce617",
      "AccountNumber": "sample string 2",
      "AccountTransactionNumber": "sample string 3",
      "AccountId": "402c155d-e4ff-42ee-8e06-945043bb8379",
      "PaymentProviderId": "dae4a753-9fe8-4ebe-9e6d-472e215cd49d",
      "CurrencyCode": "sample string 6",
      "Amount": 7.0,
      "BookingDate": "2025-05-02T16:23:17.9324897+00:00",
      "ValueDate": "2025-05-02T16:23:17.9324897+00:00",
      "PaymentDate": "2025-05-02T16:23:17.9324897+00:00",
      "RegistrationTime": "2025-05-02T16:23:17.9324897+00:00",
      "ReverseTime": "2025-05-02T16:23:17.9324897+00:00",
      "Description": "sample string 12",
      "SettlementTransactiontId": "d5b8f562-b9a7-438b-a378-84bbb1480cea",
      "PaymentProviderPurchaseNumber": "sample string 13",
      "ReferenceNumber": "sample string 14"
    },
    {
      "Id": "76ebba1a-deab-42b5-acdd-9c87683ce617",
      "AccountNumber": "sample string 2",
      "AccountTransactionNumber": "sample string 3",
      "AccountId": "402c155d-e4ff-42ee-8e06-945043bb8379",
      "PaymentProviderId": "dae4a753-9fe8-4ebe-9e6d-472e215cd49d",
      "CurrencyCode": "sample string 6",
      "Amount": 7.0,
      "BookingDate": "2025-05-02T16:23:17.9324897+00:00",
      "ValueDate": "2025-05-02T16:23:17.9324897+00:00",
      "PaymentDate": "2025-05-02T16:23:17.9324897+00:00",
      "RegistrationTime": "2025-05-02T16:23:17.9324897+00:00",
      "ReverseTime": "2025-05-02T16:23:17.9324897+00:00",
      "Description": "sample string 12",
      "SettlementTransactiontId": "d5b8f562-b9a7-438b-a378-84bbb1480cea",
      "PaymentProviderPurchaseNumber": "sample string 13",
      "ReferenceNumber": "sample string 14"
    }
  ],
  "Ok": true,
  "ErrorMessage": "sample string 2",
  "ErrorCode": "sample string 3",
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<GetSettlementTransactionsReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers.Merchant">
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 3</ErrorCode>
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 2</ErrorMessage>
  <Message xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 4</Message>
  <Ok xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">true</Ok>
  <Reply>
    <AccountTransaction>
      <AccountId>402c155d-e4ff-42ee-8e06-945043bb8379</AccountId>
      <AccountNumber>sample string 2</AccountNumber>
      <AccountTransactionNumber>sample string 3</AccountTransactionNumber>
      <Amount>7</Amount>
      <BookingDate>2025-05-02T16:23:17.9324897+00:00</BookingDate>
      <CurrencyCode>sample string 6</CurrencyCode>
      <Description>sample string 12</Description>
      <Id>76ebba1a-deab-42b5-acdd-9c87683ce617</Id>
      <PaymentDate>2025-05-02T16:23:17.9324897+00:00</PaymentDate>
      <PaymentProviderId>dae4a753-9fe8-4ebe-9e6d-472e215cd49d</PaymentProviderId>
      <PaymentProviderPurchaseNumber>sample string 13</PaymentProviderPurchaseNumber>
      <ReferenceNumber>sample string 14</ReferenceNumber>
      <RegistrationTime>2025-05-02T16:23:17.9324897+00:00</RegistrationTime>
      <ReverseTime>2025-05-02T16:23:17.9324897+00:00</ReverseTime>
      <SettlementTransactiontId>d5b8f562-b9a7-438b-a378-84bbb1480cea</SettlementTransactiontId>
      <ValueDate>2025-05-02T16:23:17.9324897+00:00</ValueDate>
    </AccountTransaction>
    <AccountTransaction>
      <AccountId>402c155d-e4ff-42ee-8e06-945043bb8379</AccountId>
      <AccountNumber>sample string 2</AccountNumber>
      <AccountTransactionNumber>sample string 3</AccountTransactionNumber>
      <Amount>7</Amount>
      <BookingDate>2025-05-02T16:23:17.9324897+00:00</BookingDate>
      <CurrencyCode>sample string 6</CurrencyCode>
      <Description>sample string 12</Description>
      <Id>76ebba1a-deab-42b5-acdd-9c87683ce617</Id>
      <PaymentDate>2025-05-02T16:23:17.9324897+00:00</PaymentDate>
      <PaymentProviderId>dae4a753-9fe8-4ebe-9e6d-472e215cd49d</PaymentProviderId>
      <PaymentProviderPurchaseNumber>sample string 13</PaymentProviderPurchaseNumber>
      <ReferenceNumber>sample string 14</ReferenceNumber>
      <RegistrationTime>2025-05-02T16:23:17.9324897+00:00</RegistrationTime>
      <ReverseTime>2025-05-02T16:23:17.9324897+00:00</ReverseTime>
      <SettlementTransactiontId>d5b8f562-b9a7-438b-a378-84bbb1480cea</SettlementTransactiontId>
      <ValueDate>2025-05-02T16:23:17.9324897+00:00</ValueDate>
    </AccountTransaction>
  </Reply>
</GetSettlementTransactionsReply>