POST api/Merchant/v1/GetPaymentsRelatedToSettlementTransaction
Method returns all payments (account transactions) that are settled for payment provider with given settlement transaction id.
Request Information
URI Parameters
None.
Body Parameters
GetPaymentsRelatedToSettlementTransactionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| paymentProviderId |
Id of payment provider (M) |
globally unique identifier |
None. |
| settlementTransactionId |
Id of settlement transaction (M) |
globally unique identifier |
None. |
| OrganizationCode | string |
None. |
|
| UserName | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"paymentProviderId": "6ae98b5b-334a-4bd8-a4d0-efab2c98df0c",
"settlementTransactionId": "b1a9672e-da34-40e0-9831-ad8b8c624718",
"OrganizationCode": "sample string 3",
"UserName": "sample string 4",
"Password": "sample string 5"
}
application/xml, text/xml
Sample:
<GetPaymentsRelatedToSettlementTransactionRequest 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 3</OrganizationCode> <Password xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 5</Password> <UserName xmlns="http://schemas.datacontract.org/2004/07/FfApi.Controllers">sample string 4</UserName> <paymentProviderId>6ae98b5b-334a-4bd8-a4d0-efab2c98df0c</paymentProviderId> <settlementTransactionId>b1a9672e-da34-40e0-9831-ad8b8c624718</settlementTransactionId> </GetPaymentsRelatedToSettlementTransactionRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetPaymentsRelatedToSettlementTransactionReply| Name | Description | Type | Additional 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": "3260f115-cea3-4e5c-9ef6-841027f25626",
"AccountNumber": "sample string 2",
"AccountTransactionNumber": "sample string 3",
"AccountId": "4e4d0f59-37c5-4db5-abfd-b51b4906865a",
"PaymentProviderId": "e0b8adf5-ed66-45c8-a6ad-45134f3fe6ae",
"CurrencyCode": "sample string 6",
"Amount": 7.0,
"BookingDate": "2026-10-31T00:57:19.6021609+00:00",
"ValueDate": "2026-10-31T00:57:19.6021609+00:00",
"PaymentDate": "2026-10-31T00:57:19.6021609+00:00",
"RegistrationTime": "2026-10-31T00:57:19.6021609+00:00",
"ReverseTime": "2026-10-31T00:57:19.6021609+00:00",
"Description": "sample string 12",
"SettlementTransactiontId": "32a4a10e-f120-4a53-b541-03476c88e955",
"PaymentProviderPurchaseNumber": "sample string 13",
"ReferenceNumber": "sample string 14"
},
{
"Id": "3260f115-cea3-4e5c-9ef6-841027f25626",
"AccountNumber": "sample string 2",
"AccountTransactionNumber": "sample string 3",
"AccountId": "4e4d0f59-37c5-4db5-abfd-b51b4906865a",
"PaymentProviderId": "e0b8adf5-ed66-45c8-a6ad-45134f3fe6ae",
"CurrencyCode": "sample string 6",
"Amount": 7.0,
"BookingDate": "2026-10-31T00:57:19.6021609+00:00",
"ValueDate": "2026-10-31T00:57:19.6021609+00:00",
"PaymentDate": "2026-10-31T00:57:19.6021609+00:00",
"RegistrationTime": "2026-10-31T00:57:19.6021609+00:00",
"ReverseTime": "2026-10-31T00:57:19.6021609+00:00",
"Description": "sample string 12",
"SettlementTransactiontId": "32a4a10e-f120-4a53-b541-03476c88e955",
"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:
<GetPaymentsRelatedToSettlementTransactionReply 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>4e4d0f59-37c5-4db5-abfd-b51b4906865a</AccountId>
<AccountNumber>sample string 2</AccountNumber>
<AccountTransactionNumber>sample string 3</AccountTransactionNumber>
<Amount>7</Amount>
<BookingDate>2026-10-31T00:57:19.6021609+00:00</BookingDate>
<CurrencyCode>sample string 6</CurrencyCode>
<Description>sample string 12</Description>
<Id>3260f115-cea3-4e5c-9ef6-841027f25626</Id>
<PaymentDate>2026-10-31T00:57:19.6021609+00:00</PaymentDate>
<PaymentProviderId>e0b8adf5-ed66-45c8-a6ad-45134f3fe6ae</PaymentProviderId>
<PaymentProviderPurchaseNumber>sample string 13</PaymentProviderPurchaseNumber>
<ReferenceNumber>sample string 14</ReferenceNumber>
<RegistrationTime>2026-10-31T00:57:19.6021609+00:00</RegistrationTime>
<ReverseTime>2026-10-31T00:57:19.6021609+00:00</ReverseTime>
<SettlementTransactiontId>32a4a10e-f120-4a53-b541-03476c88e955</SettlementTransactiontId>
<ValueDate>2026-10-31T00:57:19.6021609+00:00</ValueDate>
</AccountTransaction>
<AccountTransaction>
<AccountId>4e4d0f59-37c5-4db5-abfd-b51b4906865a</AccountId>
<AccountNumber>sample string 2</AccountNumber>
<AccountTransactionNumber>sample string 3</AccountTransactionNumber>
<Amount>7</Amount>
<BookingDate>2026-10-31T00:57:19.6021609+00:00</BookingDate>
<CurrencyCode>sample string 6</CurrencyCode>
<Description>sample string 12</Description>
<Id>3260f115-cea3-4e5c-9ef6-841027f25626</Id>
<PaymentDate>2026-10-31T00:57:19.6021609+00:00</PaymentDate>
<PaymentProviderId>e0b8adf5-ed66-45c8-a6ad-45134f3fe6ae</PaymentProviderId>
<PaymentProviderPurchaseNumber>sample string 13</PaymentProviderPurchaseNumber>
<ReferenceNumber>sample string 14</ReferenceNumber>
<RegistrationTime>2026-10-31T00:57:19.6021609+00:00</RegistrationTime>
<ReverseTime>2026-10-31T00:57:19.6021609+00:00</ReverseTime>
<SettlementTransactiontId>32a4a10e-f120-4a53-b541-03476c88e955</SettlementTransactiontId>
<ValueDate>2026-10-31T00:57:19.6021609+00:00</ValueDate>
</AccountTransaction>
</Reply>
</GetPaymentsRelatedToSettlementTransactionReply>