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": "d0369c5a-552b-4cc4-b2aa-35b6d05f5c1a",
"settlementTransactionId": "d0e5cad2-5461-41a6-b5c3-a6714e60a19a",
"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>d0369c5a-552b-4cc4-b2aa-35b6d05f5c1a</paymentProviderId> <settlementTransactionId>d0e5cad2-5461-41a6-b5c3-a6714e60a19a</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": "76b2bf76-9b37-484c-985c-14588653ac6c",
"AccountNumber": "sample string 2",
"AccountTransactionNumber": "sample string 3",
"AccountId": "0228d2f5-e352-4db9-b219-f1b2659ced71",
"PaymentProviderId": "46ddfc2c-b47c-451b-be00-81234bdcb50d",
"CurrencyCode": "sample string 6",
"Amount": 7.0,
"BookingDate": "2026-06-08T23:31:22.091927+00:00",
"ValueDate": "2026-06-08T23:31:22.091927+00:00",
"PaymentDate": "2026-06-08T23:31:22.091927+00:00",
"RegistrationTime": "2026-06-08T23:31:22.091927+00:00",
"ReverseTime": "2026-06-08T23:31:22.091927+00:00",
"Description": "sample string 12",
"SettlementTransactiontId": "e838611e-6fed-4a1e-845e-f1a36b76ef55",
"PaymentProviderPurchaseNumber": "sample string 13",
"ReferenceNumber": "sample string 14"
},
{
"Id": "76b2bf76-9b37-484c-985c-14588653ac6c",
"AccountNumber": "sample string 2",
"AccountTransactionNumber": "sample string 3",
"AccountId": "0228d2f5-e352-4db9-b219-f1b2659ced71",
"PaymentProviderId": "46ddfc2c-b47c-451b-be00-81234bdcb50d",
"CurrencyCode": "sample string 6",
"Amount": 7.0,
"BookingDate": "2026-06-08T23:31:22.091927+00:00",
"ValueDate": "2026-06-08T23:31:22.091927+00:00",
"PaymentDate": "2026-06-08T23:31:22.091927+00:00",
"RegistrationTime": "2026-06-08T23:31:22.091927+00:00",
"ReverseTime": "2026-06-08T23:31:22.091927+00:00",
"Description": "sample string 12",
"SettlementTransactiontId": "e838611e-6fed-4a1e-845e-f1a36b76ef55",
"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>0228d2f5-e352-4db9-b219-f1b2659ced71</AccountId>
<AccountNumber>sample string 2</AccountNumber>
<AccountTransactionNumber>sample string 3</AccountTransactionNumber>
<Amount>7</Amount>
<BookingDate>2026-06-08T23:31:22.091927+00:00</BookingDate>
<CurrencyCode>sample string 6</CurrencyCode>
<Description>sample string 12</Description>
<Id>76b2bf76-9b37-484c-985c-14588653ac6c</Id>
<PaymentDate>2026-06-08T23:31:22.091927+00:00</PaymentDate>
<PaymentProviderId>46ddfc2c-b47c-451b-be00-81234bdcb50d</PaymentProviderId>
<PaymentProviderPurchaseNumber>sample string 13</PaymentProviderPurchaseNumber>
<ReferenceNumber>sample string 14</ReferenceNumber>
<RegistrationTime>2026-06-08T23:31:22.091927+00:00</RegistrationTime>
<ReverseTime>2026-06-08T23:31:22.091927+00:00</ReverseTime>
<SettlementTransactiontId>e838611e-6fed-4a1e-845e-f1a36b76ef55</SettlementTransactiontId>
<ValueDate>2026-06-08T23:31:22.091927+00:00</ValueDate>
</AccountTransaction>
<AccountTransaction>
<AccountId>0228d2f5-e352-4db9-b219-f1b2659ced71</AccountId>
<AccountNumber>sample string 2</AccountNumber>
<AccountTransactionNumber>sample string 3</AccountTransactionNumber>
<Amount>7</Amount>
<BookingDate>2026-06-08T23:31:22.091927+00:00</BookingDate>
<CurrencyCode>sample string 6</CurrencyCode>
<Description>sample string 12</Description>
<Id>76b2bf76-9b37-484c-985c-14588653ac6c</Id>
<PaymentDate>2026-06-08T23:31:22.091927+00:00</PaymentDate>
<PaymentProviderId>46ddfc2c-b47c-451b-be00-81234bdcb50d</PaymentProviderId>
<PaymentProviderPurchaseNumber>sample string 13</PaymentProviderPurchaseNumber>
<ReferenceNumber>sample string 14</ReferenceNumber>
<RegistrationTime>2026-06-08T23:31:22.091927+00:00</RegistrationTime>
<ReverseTime>2026-06-08T23:31:22.091927+00:00</ReverseTime>
<SettlementTransactiontId>e838611e-6fed-4a1e-845e-f1a36b76ef55</SettlementTransactiontId>
<ValueDate>2026-06-08T23:31:22.091927+00:00</ValueDate>
</AccountTransaction>
</Reply>
</GetPaymentsRelatedToSettlementTransactionReply>